Difference: CDChartDirectorDesignerAPI (108 vs. 109)

Revision 1092011-12-02 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="APPX510Features"

Chart Director API for APPX

Line: 17 to 17
 
  • The .LEGEND SET ICON GAP seems to update the memory file, but unless you also call .LEGEND SET ICON SZ, nothing gets written to the php script.
  • The .LEGEND SET TEMPLATE causes the chart to fail to render unless you enclose the text in "'s. When generating the php script, the API should do this automatically.
  • Setting the vertical gap via .LEGEND SET GAP:V doesn't work unless you also set the horizontal gap via .LEGEND SET GAP:H. If the horizontal gap is not set, the php script doesn't include the setKeySpacing method, which controls both horizontal & vertical.
Changed:
<
<
  • .PIE SET LBL LAYOUT accepts 'INSIDE' as an argument to put the labels inside the sectors, but it doesn't work.
  • .PIE SET LBL BOUNDS (and the routines to set upper/lower individually) appear to work and the generated PHP code looks right, but it seems to have no effect on the generated chart.
  • The .PIE SET SECT EDGE W subroutine sets the value in the memory files, but the rendered chart doesn't look any different. Looks like when setSectorStyle code is generated, the edge width is missing. Also, if you don't also set .PIE SET SECT SHADING, the setSectorStyle code is not generated at all, even if a width was specified.
  • If you explode all the sectors in a pie chart via .PIE SET SECT POSITION then you can't adust the distance on specific sectors via .PIE SET SECT EXP DIST. The generated setExplode method does not include the distance parameter or isn't being generated for individual sectors.
  • .PIE SET LBL DISTANCE doesn't seem to do anything.
>
>
  • .PIE SET LBL LAYOUT accepts 'INSIDE' as an argument to put the labels inside the sectors, but it doesn't work.
  • .PIE SET LBL BOUNDS (and the routines to set upper/lower individually) appear to work and the generated PHP code looks right, but it seems to have no effect on the generated chart.
  • The .PIE SET SECT EDGE W subroutine sets the value in the memory files, but the rendered chart doesn't look any different. Looks like when setSectorStyle code is generated, the edge width is missing. Also, if you don't also set .PIE SET SECT SHADING, the setSectorStyle code is not generated at all, even if a width was specified.
  • If you explode all the sectors in a pie chart via .PIE SET SECT POSITION then you can't adust the distance on specific sectors via .PIE SET SECT EXP DIST. The generated setExplode method does not include the distance parameter or isn't being generated for individual sectors.
  • .PIE SET LBL DISTANCE doesn't seem to do anything.
 
  • If you pass a 'data point' to .XY SET BAR CLR, funny things happen. It creates a LAYERDGP record & saves the RID. Subsequent calls to .XY SET BAR CLR with no 'data point' will just change the colour on the LAYERDGP record, which probably isn't what the designer wanted. The colours will probably not render correctly on the chart.
  • The .XY SET BAR LBL MIN SZ subroutine is used to set the minimum distance for a label to appear within a bar on a bar chart, but there doesn't seem to be a way to get labels inside the bar on a bar chart in the first place.
  • Setting custom shapes on the second data group in a multi layer bar chart does not work. The PHP code looks right, possible CD bug?
Line: 40 to 40
 
  • .TEXT SET TXT MAX:H has no affect. The memory file is updated, but does not affect the rendered chart. If set via .TEXT SET TXT MAX, then it works.
  • The .TEXT SET TXT MARGIN:(T,L,B,R) subroutines apply the specified margin to all margins instead of just the one the routine is designed for.
  • Sample Chart Issues:
Changed:
<
<
    • - 07. PIE CHART WITH LEGEND (2) (and others)
    • - no gradient background
    • - no CDML support for labels (no %'s in legend box)
    • -09. ICON PIE CHART (2)
    • - no logo in bottom right corner
    • -13. 3D DONUT CHART
    • - no separator line under title (addLine property)
    • - 14. TEXTURE DONUT CHART
    • - no textures (pattern not passed to .PIE SET SECT BG CLR?)
>
>
    • P07. PIE CHART WITH LEGEND (2) (and others)
      • no gradient background (no API)
      • no CDML support for labels (no %'s in legend box)
    • P09. ICON PIE CHART (2)
      • no logo in bottom right corner
    • P13. 3D DONUT CHART
      • no separator line under title (addLine property)
    • P14. TEXTURE DONUT CHART
      • no textures (pattern not passed to .PIE SET SECT BG CLR?)
    • B02. MULTI-COLOR BAR CHART
      • Unable to set 3D border effects for the bars, there's no API for it.
    • B03. SOFT BAR SHADING
      • Unable to set gradient background (no API)
      • Unable to set soft lighting effect of the bars (no API)
      • Unable to set font attributes of system generated Y-axis labels.
 

Overview

Data Routines

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback