Difference: CDChartDirectorKnownIssues (1 vs. 60)

Revision 602012-03-23 - JeanNeron

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

Known Issues

Deleted:
<
<
  • All examples should be tested on a Windows Server. There is a definate Linux slant to some things, ie, some routines check to see if the first character of a file name is a / or \ to determine if it's a complete pathname or not. Under Windows, a complete path begins with a drive letter, not a / or \. - Tested, all charts render under Windows, once the next problem was fixed.
  • The examples in 1CD have the path /var/www/html/ChartDirector/phpdemo hardcoded. This path can vary depending on Windows vs Linux installation. The examples should probably check the server type and use the appropriate default. - Fixed. A work field sets a default path based on the server O/S, and the relevant charts PASS that to .CHART SET IMAGE PATH. The menu has been changed to instruct the user to review that work field.
 
  • The Linear Meter chart type has a few problems:
    • The pointer files (PTR1/2) are not initialized when .CHART INITIALIZE is called, so each time you call .CHART RENDER, the previously defined pointers appear as well as the one(s) you intended for the current chart.
    • The PRT1/2 files are not linked to a particular CHTSPEC record, so if you are working with multiple charts of this type, when you render a chart the pointer(s) will appear on all charts, not just the current one.

Revision 592012-03-23 - JeanNeron

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

Known Issues

Changed:
<
<
  • All examples should be tested on a Windows Server. There is a definate Linux slant to some things, ie, some routines check to see if the first character of a file name is a / or \ to determine if it's a complete pathname or not. Under Windows, a complete path begins with a drive letter, not a / or \.
  • The examples in 1CD have the path /var/www/html/ChartDirector/phpdemo hardcoded. This path can vary depending on Windows vs Linux installation. The examples should probably check the server type and use the appropriate default.
>
>
  • All examples should be tested on a Windows Server. There is a definate Linux slant to some things, ie, some routines check to see if the first character of a file name is a / or \ to determine if it's a complete pathname or not. Under Windows, a complete path begins with a drive letter, not a / or \. - Tested, all charts render under Windows, once the next problem was fixed.
  • The examples in 1CD have the path /var/www/html/ChartDirector/phpdemo hardcoded. This path can vary depending on Windows vs Linux installation. The examples should probably check the server type and use the appropriate default. - Fixed. A work field sets a default path based on the server O/S, and the relevant charts PASS that to .CHART SET IMAGE PATH. The menu has been changed to instruct the user to review that work field.
 
  • The Linear Meter chart type has a few problems:
    • The pointer files (PTR1/2) are not initialized when .CHART INITIALIZE is called, so each time you call .CHART RENDER, the previously defined pointers appear as well as the one(s) you intended for the current chart.
    • The PRT1/2 files are not linked to a particular CHTSPEC record, so if you are working with multiple charts of this type, when you render a chart the pointer(s) will appear on all charts, not just the current one.

Revision 582012-03-15 - JeanNeron

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

Known Issues

Line: 15 to 15
 
    • P16. CONCENTRIC DONUT CHART
      • No example, no support for merge method.
    • P21. TEXT STYLES AND COLORS
      • No texture on chart title
      • Texture does not fill chart area
Changed:
<
<
    • B05. GRADIENT BAR SHADING
      • Can't call packPlotArea method - Fixed - Added API
    • B11. PERCENTAGE BAR CHART
      • Can't call packPlotArea method - Fixed - Added API
    • B21. POSITIVE NEGATIVE BARS
>
>
    • B21. POSITIVE NEGATIVE BARS
 
      • Unable to set zone colors
    • B23. DUAL HORIZONTAL BAR CHART
      • No example, no support for addChart method.
    • B24. BARS WITH MARKS
Changed:
<
<
      • No API for packPlotArea - Fixed - Added API
      • No API for adding box whisker layer
>
>
      • No API for adding box whisker layer
 
    • B25. PARETO CHART
Changed:
<
<
      • Can't call packPlotArea method - Fixed - Added API
      • Can't bind the line layer to the secondary (right) y-axis using $lineLayer->setUseYAxis2();
>
>
      • Can't bind the line layer to the secondary (right) y-axis using $lineLayer->setUseYAxis2();
 
      • Unable to set Y-axis scale (primary or secondary)
      • Unable to sync Y axis scale
    • B26. VARIABLE WIDTH BAR CHART

Revision 572012-03-15 - JeanNeron

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

Known Issues

Line: 15 to 15
 
    • P16. CONCENTRIC DONUT CHART
      • No example, no support for merge method.
    • P21. TEXT STYLES AND COLORS
      • No texture on chart title
      • Texture does not fill chart area
Changed:
<
<
    • B05. GRADIENT BAR SHADING
      • Can't call packPlotArea method
    • B11. PERCENTAGE BAR CHART
      • Can't call packPlotArea method
>
>
    • B05. GRADIENT BAR SHADING
      • Can't call packPlotArea method - Fixed - Added API
    • B11. PERCENTAGE BAR CHART
      • Can't call packPlotArea method - Fixed - Added API
 
    • B21. POSITIVE NEGATIVE BARS
      • Unable to set zone colors
    • B23. DUAL HORIZONTAL BAR CHART
      • No example, no support for addChart method.
    • B24. BARS WITH MARKS
Changed:
<
<
      • No API for packPlotArea
>
>
      • No API for packPlotArea - Fixed - Added API
 
      • No API for adding box whisker layer
    • B25. PARETO CHART
Changed:
<
<
      • Can't call packPlotArea method
>
>
      • Can't call packPlotArea method - Fixed - Added API
 
      • Can't bind the line layer to the secondary (right) y-axis using $lineLayer->setUseYAxis2();
      • Unable to set Y-axis scale (primary or secondary)
      • Unable to sync Y axis scale

Revision 562012-02-17 - JeanNeron

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

Known Issues

Line: 16 to 16
 
      • No example, no support for merge method.
    • P21. TEXT STYLES AND COLORS
      • No texture on chart title
      • Texture does not fill chart area
    • B05. GRADIENT BAR SHADING
Deleted:
<
<
      • Can't draw a line under the title - Fixed - Added API's for lines
 
      • Can't call packPlotArea method
    • B11. PERCENTAGE BAR CHART
      • Can't call packPlotArea method

Revision 552012-02-17 - JeanNeron

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

Known Issues

Line: 10 to 10
 
  • .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 - possible Chart Director bug?
  • .AXIS SET AXIS L has no effect on the length of the axis line. The generated PHP code looks right, but it seems to have no effect on the generated chart - possible Chart Director bug?
  • Sample Chart Issues:
Deleted:
<
<
    • P10. ICON PIE CHART (2)
      • no logo in bottom right corner - Fixed - Added API to put text box on chart
    • P12. DONUT CHART
      • no separator line under title (addLine property) - Fixed - Added API's for lines
    • P13. 3D DONUT CHART
      • no separator line under title (addLine property) - Fixed - Added API's for lines
 
    • P15. TEXTURE DONUT CHART
      • no textures on sectors, no way to specify a pattern file as a color.
    • P16. CONCENTRIC DONUT CHART

Revision 542012-02-17 - JeanNeron

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

Known Issues

Line: 7 to 7
 
  • The Linear Meter chart type has a few problems:
    • The pointer files (PTR1/2) are not initialized when .CHART INITIALIZE is called, so each time you call .CHART RENDER, the previously defined pointers appear as well as the one(s) you intended for the current chart.
    • The PRT1/2 files are not linked to a particular CHTSPEC record, so if you are working with multiple charts of this type, when you render a chart the pointer(s) will appear on all charts, not just the current one.
Changed:
<
<
  • .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 - possible Chart Director bug.
  • .AXIS SET AXIS L has no effect on the length of the axis line. The generated PHP code looks right, but it seems to have no effect on the generated chart - possible Chart Director bug.
>
>
  • .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 - possible Chart Director bug?
  • .AXIS SET AXIS L has no effect on the length of the axis line. The generated PHP code looks right, but it seems to have no effect on the generated chart - possible Chart Director bug?
 
  • Sample Chart Issues:
    • P10. ICON PIE CHART (2)
Changed:
<
<
      • no logo in bottom right corner - Fixed - Added API
    • P12. DONUT CHART
      • no separator line under title (addLine property)
    • P13. 3D DONUT CHART
      • no separator line under title (addLine property)
>
>
      • no logo in bottom right corner - Fixed - Added API to put text box on chart
    • P12. DONUT CHART
      • no separator line under title (addLine property) - Fixed - Added API's for lines
    • P13. 3D DONUT CHART
      • no separator line under title (addLine property) - Fixed - Added API's for lines
 
    • P15. TEXTURE DONUT CHART
      • no textures on sectors, no way to specify a pattern file as a color.
    • P16. CONCENTRIC DONUT CHART
      • No example, no support for merge method.
    • P21. TEXT STYLES AND COLORS
      • No texture on chart title
      • Texture does not fill chart area
    • B05. GRADIENT BAR SHADING
Changed:
<
<
      • Can't draw a line under the title
>
>
      • Can't draw a line under the title - Fixed - Added API's for lines
 
      • Can't call packPlotArea method
    • B11. PERCENTAGE BAR CHART
      • Can't call packPlotArea method

Revision 532012-02-17 - JeanNeron

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

Known Issues

Line: 10 to 10
 
  • .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 - possible Chart Director bug.
  • .AXIS SET AXIS L has no effect on the length of the axis line. The generated PHP code looks right, but it seems to have no effect on the generated chart - possible Chart Director bug.
  • Sample Chart Issues:
Changed:
<
<
    • P10. ICON PIE CHART (2)
      • no logo in bottom right corner
>
>
    • P10. ICON PIE CHART (2)
      • no logo in bottom right corner - Fixed - Added API
 
    • P12. DONUT CHART
      • no separator line under title (addLine property)
    • P13. 3D DONUT CHART

Revision 522012-02-16 - JeanNeron

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

Known Issues

Line: 23 to 23
 
    • P21. TEXT STYLES AND COLORS
      • No texture on chart title
      • Texture does not fill chart area
    • B05. GRADIENT BAR SHADING
      • Can't draw a line under the title
Changed:
<
<
      • Can't call packPlotArea method * B11. PERCENTAGE BAR CHART
>
>
      • Can't call packPlotArea method
    • B11. PERCENTAGE BAR CHART
 
      • Can't call packPlotArea method
    • B21. POSITIVE NEGATIVE BARS
      • Unable to set zone colors

Revision 512012-01-24 - JeanNeron

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

Known Issues

Line: 7 to 7
 
  • The Linear Meter chart type has a few problems:
    • The pointer files (PTR1/2) are not initialized when .CHART INITIALIZE is called, so each time you call .CHART RENDER, the previously defined pointers appear as well as the one(s) you intended for the current chart.
    • The PRT1/2 files are not linked to a particular CHTSPEC record, so if you are working with multiple charts of this type, when you render a chart the pointer(s) will appear on all charts, not just the current one.
Changed:
<
<
  • The .CHART SET BG IMAGE routine does not pick up images in the default image directory, only a full pathname works
    • It verifies the file exists only for a full pathname, should verify image directory as well
    • Also check .CHART SET BG WALLPAPR, probably has the same problem.
    • * FIXED *, added API .CHART SET IMAGE PATH for user to specify path(s) for images, changed these routines to verify image file using the path.
  • The .CHART SET SHAPE AA seems to update the memory file, but unless you also call .CHART SET TXT AA MODE, nothing gets put in the php script. Even if you call .CHART SET TXT AA MODE, the parameter for shape AA is always true, even if you turned it off via .CHART SET SHAPE AA. * Fixed * - C.BASECHART was checking for Yes/No instead of On/Off (CHTSPEC BC SHAPE AA)
  • 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. * Fixed *. C.BASECHART was only checking the icon width field, needed to check width, height and gap to call LEGENDBOX.SET.KEY.SIZE. Changed LEGENDBOX.SET.KEY.SIZE to default width to -1 if blank.
  • 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. * Fixed * - was missing GOSUB :ESCAPE AND QUOTE TEXT in LEGENDBOX.SET.TEXT. Was also missing from other similar routines, added where necessary.
  • Setting the vertical gap via .LEGEND SET KEY GAP:V doesn't work unless you also set the horizontal gap via .LEGEND SET KEY GAP:H. If the horizontal gap is not set, the php script doesn't include the setKeySpacing method, which controls both horizontal & vertical. * Fixed * - if either parameter is set, the setKeySpacing method will be called, defaulting horizontal spacing to -1 if necessary.
  • .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 - possible Chart Director bug.
  • 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. * Fixed * Routine was not being called unless shading was also set. Now setting the shading, edge color or width will trigger the PHP code.
  • 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. * Fixed * - needed to call the subroutine if sector is exploded OR a distance has been set.
  • .PIE SET LBL DISTANCE doesn't seem to do anything. * Not a bug * - when using the 'side' layout method, you can't decrease the distance within the 'invisible retangle'.
  • 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. See B05 GRADIENT BAR SHADING example. * Fixed * changed .XY SET BAR CLR and .XY SET BAR CLR:DP to ignore WORK LAYERDGP CURR RID and just use the data point referenced by WORK DSET2 CURR RID.
  • 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. * Fixed * - added API's
  • 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? * Fixed * - C.XYCHART was not passing the right dataset # to BARLAYER.SET.BAR.SHAPE/BARLAYER.SET.BAR.SHAPE2.
  • Consider renaming .LAYER ADD DATASET to something that includes TEMPLATE, since the use of 'dataset' conflicts with the use of 'dataset' when adding data points. Also consider renaming .LAYER LINK DATASET to include the word TEMPLATE. * Fixed* - added TM to end of process name. Changed work field name as well & did change all refs in 0CD/1CD.
  • .AXIS SET AXIS L has no effect on the length of the axis line. The generated PHP code looks right, but it seems to have no effect on the generated chart - possible Chart Director bug.
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART," Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?) * Fixed * - changed to an OR.
  • Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity. * Fixed * - C.XYCHART now calls AXIS.SET.TICK.DENSITY which uses setTickDensity.
  • The .AXIS SET LBL OFFSET routine accepts Pixel or Scale as a second parameter, but the rendered chart always treats the offset as Scale. * Fixed * - Pixel is not supported, removed from Wiki and API. Changed offset to allow decimal values, same as .AXIS SET TICK OFFSET.
  • Attempting to set the brightness via .COLOR SET BRIGHTNESS results in a php error: PHP Fatal error: Call to undefined function adjustBrightness() in <whatever file> on line <whatever line>. * Fixed * The PHP code needed to invoke a method & assign the result to a variable.
  • Attempting to set the brightness via .COLOR SET HALF COLOR results in a php error: PHP Fatal error: Call to undefined function halfColor() in <whatever file> on line <whatever line>. * Fixed * The PHP code needed to invoke a method & assign the result to a variable.
  • .COLOR SET DASH LINE accepts hex values with a prefix of '0x', '#' or nothing at all, but the chart will only be rendered if the prefix is '0x'. Either improve the edits, or convert the '#' or no prefix to a '0x' prefix before updating COLRSPEC. * Fixed * - converts "#" and no prefix to CD format '0x'
  • .TEXT SET FONT SZ is supposed to accept a height & width, but only uses height to set font size in the addTitle method. * Fixed * - In C.BASECHART the height was getting cleared before calling C.TEXTBOX ATTRIBUTES. Should only clear height if width is blank or equal to height. C.XYCHART was not calling C.TEXTBOX ATTRIBUTES for axis labels at all.
  • Setting a width via .TEXT SET FONT SZ:W and then using the text box in .CHART SET TITLE does not work. * Not a bug * - You MUST set Height, and only then can you set width. Wiki updated accordingly.
  • Setting a height via .TEXT SET FONT SZ:H and then using the text box in .CHART SET TITLE causes the height to be used for both height and width (the height is used as a paramter on the addTitle method). * Fixed * Same as .TEXT SET FONT SZ bug above.
  • .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. * Not a bug * Chart Director requires a width setting before you can set the number of lines.
  • 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. * Fixed * - the routine was trying to fill missing margins from existing margins, now substitutes -1 for missing margins.
  • When a shape is set at the Layer (XYLAYER) or Data Group (LAYERDG), it is not used when the chart is generated. Setting it at the Data Set Template (LAYERDGD) level works. * Fixed * - If a shape is set at layer or Group level, the shape command is generated.
  • The .TEXT SET BX EDGE CLR routine does not change the color of a legend box edge. If you use .TEXT SET BX BG CLR to TRANSPARENT makes the edge transparent as well. * Fixed * - the logic was conditional a background color being set first, then you could set the edge color. Changed so that if bg color not set, it will use -1 for a bg color and still set the edge color or edge effect.
  • Various families of routines (like .XY SET LINE CLR, .XY SET LINE CLR:LR, etc) are supposed to set some attribute at the layer, data group, data template or data point level, based on a built in hierarchy. However, the edits prevent the routine from running unless all of those are present. This is wrong, so long as one of them is present, the routine should run & set it. * Fixed * - affected .XY SET AREA/BAR/LINE/SPLINE/STPLINE CLR
  • Sample Chart Issues:
    • P04. SIDE LABEL LAYOUT
      • No glass affect for the sector labels * Fixed * Added API
    • P05. CIRCULAR LABEL LAYOUT
      • No gradient background * Fixed * Added API
    • P07. PIE CHART WITH LEGEND (2)
      • no gradient background * Fixed * Added API
    • P08. EXPLODED PIE CHART
      • No Gradient background * Fixed * Added API
      • No gradient sector labels * Fixed * Added API
    • P09. ICON PIE CHART (1)
      • No glass shading on title * Fixed * Added API
    • P10. ICON PIE CHART (2)
      • no logo in bottom right corner
      • No glass shading on title * Fixed * Added API
>
>
  • .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 - possible Chart Director bug.
  • .AXIS SET AXIS L has no effect on the length of the axis line. The generated PHP code looks right, but it seems to have no effect on the generated chart - possible Chart Director bug.
  • Sample Chart Issues:
    • P10. ICON PIE CHART (2)
      • no logo in bottom right corner
 
    • P12. DONUT CHART
      • no separator line under title (addLine property)
    • P13. 3D DONUT CHART
      • no separator line under title (addLine property)
Deleted:
<
<
      • no gradient background * Fixed * Added API
      • no soft lighting on sector labels * Fixed * Added API
 
    • P15. TEXTURE DONUT CHART
      • no textures on sectors, no way to specify a pattern file as a color.
    • P16. CONCENTRIC DONUT CHART
      • No example, no support for merge method.
    • P21. TEXT STYLES AND COLORS
      • No texture on chart title
      • Texture does not fill chart area
Changed:
<
<
    • B02. MULTI-COLOR BAR CHART
      • Unable to set 3D border effects for the bars. * Fixed * Added API
    • B03. SOFT BAR SHADING
      • Unable to set gradient background * Fixed * Added API
      • Unable to set soft lighting effect of the bars * Fixed * added API
      • Unable to set font attributes of system generated Y-axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
    • B04. GLASS BAR SHADING
      • No Glass shading effect for the bars.
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
    • B05. GRADIENT BAR SHADING
      • Can't draw a line under the title
      • No gradient background * Fixed * added API
      • No gradient on the bars * Fixed * added API
      • Can't change the color of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
      • Can't call packPlotArea method
      • Can't make bar borders transparent * Fixed * Added API
    • B06. CYLINDER BAR SHADING
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
    • B10. Stacked Bar Chart
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
    • B11. PERCENTAGE BAR CHART
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
      • Unable to make edges of data segments transparent * Fixed * added API
      • Unable to have gradient background * Fixed * Added API
      • Unable to use soft lighting effect on data segments. *Fixed * Added API
      • Can't call packPlotArea method
    • B13. SOFT MULTI BAR CHART
      • Unable to have gradient background *Fixed * Added API
      • Unable to use soft lighting effect on data segments. *Fixed * Added API
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
    • B14. GLASS MULTI BAR CHART
      • Unable to have gradient background
      • Unable to use glass lighting effect on data segments.* Fixed * Added API
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
    • B15. GRADIENT MULTI BAR CHART
      • Unable to have gradient background * Fixed * Added API
      • Unable to use gradient effect on data segments. * Fixed * Added API
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
    • B16. MULTI-CYLINDER CHART
      • Unable to assign cylinder shape at layer or group level, have to assign at data template level. * Fixed by Shape fix above *
    • B19. MULTI-STACKED BAR CHART
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
      • Unable to make edges of data segments transparent. * Fixed * - added API's
      • chart is wrong, data is not charted correctly. * Fixed * was adding data group for every data set and layer for every data group. Applied changes to other chart types.
>
>
    • B05. GRADIENT BAR SHADING
      • Can't draw a line under the title
      • Can't call packPlotArea method * B11. PERCENTAGE BAR CHART
      • Can't call packPlotArea method
 
    • B21. POSITIVE NEGATIVE BARS
Changed:
<
<
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
      • Unable to set zone colors
    • B22. BORDERLESS BAR CHART
      • No Gradient colors for bars * Fixed * - added API
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
>
>
      • Unable to set zone colors
 
    • B23. DUAL HORIZONTAL BAR CHART
      • No example, no support for addChart method.
    • B24. BARS WITH MARKS
      • No API for packPlotArea
Deleted:
<
<
      • No softlighting effect - *Fixed * Added API
 
      • No API for adding box whisker layer
    • B25. PARETO CHART
      • Can't call packPlotArea method
      • Can't bind the line layer to the secondary (right) y-axis using $lineLayer->setUseYAxis2();
Deleted:
<
<
      • No soft lighting for bars *Fixed * Added API
 
      • Unable to set Y-axis scale (primary or secondary)
      • Unable to sync Y axis scale
    • B26. VARIABLE WIDTH BAR CHART
Deleted:
<
<
      • No gradient background. *Fixed * Added API
 
      • chart is wrong because we can't call setXData method

Comments:

Revision 502012-01-20 - JeanNeron

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

Known Issues

Changed:
<
<
  • All examples should be tested on a Windows Server!! There is a definate Linux slant to some things, ie, some routines check to see if the first character of a file name is a / or \ to determine if it's a complete pathname or not. Under Windows, a complete path begins with a drive letter, not a / or \.
>
>
  • All examples should be tested on a Windows Server. There is a definate Linux slant to some things, ie, some routines check to see if the first character of a file name is a / or \ to determine if it's a complete pathname or not. Under Windows, a complete path begins with a drive letter, not a / or \.
 
  • The examples in 1CD have the path /var/www/html/ChartDirector/phpdemo hardcoded. This path can vary depending on Windows vs Linux installation. The examples should probably check the server type and use the appropriate default.
  • The Linear Meter chart type has a few problems:
    • The pointer files (PTR1/2) are not initialized when .CHART INITIALIZE is called, so each time you call .CHART RENDER, the previously defined pointers appear as well as the one(s) you intended for the current chart.
Line: 108 to 108
 
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
      • Unable to make edges of data segments transparent. * Fixed * - added API's
      • chart is wrong, data is not charted correctly. * Fixed * was adding data group for every data set and layer for every data group. Applied changes to other chart types.
Changed:
<
<
    • B21. POSITIVE NEGATIVE BARS
>
>
    • B21. POSITIVE NEGATIVE BARS
 
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
      • Unable to set zone colors
Line: 124 to 124
 
    • B25. PARETO CHART
      • Can't call packPlotArea method
      • Can't bind the line layer to the secondary (right) y-axis using $lineLayer->setUseYAxis2();
Deleted:
<
<
      • Can't set size of circle shape on Pareto line
      • Chart is incorrect, adds extra bar layer of pareto data, covering up intended bar layer
 
      • No soft lighting for bars *Fixed * Added API
      • Unable to set Y-axis scale (primary or secondary)
      • Unable to sync Y axis scale

Revision 492012-01-20 - JeanNeron

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

Known Issues

Line: 19 to 19
 
  • 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. * Fixed * Routine was not being called unless shading was also set. Now setting the shading, edge color or width will trigger the PHP code.
  • 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. * Fixed * - needed to call the subroutine if sector is exploded OR a distance has been set.
  • .PIE SET LBL DISTANCE doesn't seem to do anything. * Not a bug * - when using the 'side' layout method, you can't decrease the distance within the 'invisible retangle'.
Changed:
<
<
  • 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. See B05 GRADIENT BAR SHADING example.
>
>
  • 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. See B05 GRADIENT BAR SHADING example. * Fixed * changed .XY SET BAR CLR and .XY SET BAR CLR:DP to ignore WORK LAYERDGP CURR RID and just use the data point referenced by WORK DSET2 CURR RID.
 
  • 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. * Fixed * - added API's
  • 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? * Fixed * - C.XYCHART was not passing the right dataset # to BARLAYER.SET.BAR.SHAPE/BARLAYER.SET.BAR.SHAPE2.
  • Consider renaming .LAYER ADD DATASET to something that includes TEMPLATE, since the use of 'dataset' conflicts with the use of 'dataset' when adding data points. Also consider renaming .LAYER LINK DATASET to include the word TEMPLATE. * Fixed* - added TM to end of process name. Changed work field name as well & did change all refs in 0CD/1CD.
Line: 27 to 27
 
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART," Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?) * Fixed * - changed to an OR.
  • Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity. * Fixed * - C.XYCHART now calls AXIS.SET.TICK.DENSITY which uses setTickDensity.
  • The .AXIS SET LBL OFFSET routine accepts Pixel or Scale as a second parameter, but the rendered chart always treats the offset as Scale. * Fixed * - Pixel is not supported, removed from Wiki and API. Changed offset to allow decimal values, same as .AXIS SET TICK OFFSET.
Changed:
<
<
  • Attempting to set the brightness via .COLOR SET BRIGHTNESS results in a php error: PHP Fatal error: Call to undefined function adjustBrightness() in <whatever file> on line <whatever line>. FWIW, adjustBrightness is documented in Chart Director. Appears to be a Chart Director bug. Your chart will not render if you use this subroutine.
  • Attempting to set the brightness via .COLOR SET HALF COLOR results in a php error: PHP Fatal error: Call to undefined function halfColor() in <whatever file> on line <whatever line>. FWIW halfColor is documented in Chart Director. Appears to be a Chart Director bug. Your chart will not render if you use this subroutine.
>
>
  • Attempting to set the brightness via .COLOR SET BRIGHTNESS results in a php error: PHP Fatal error: Call to undefined function adjustBrightness() in <whatever file> on line <whatever line>. * Fixed * The PHP code needed to invoke a method & assign the result to a variable.
  • Attempting to set the brightness via .COLOR SET HALF COLOR results in a php error: PHP Fatal error: Call to undefined function halfColor() in <whatever file> on line <whatever line>. * Fixed * The PHP code needed to invoke a method & assign the result to a variable.
 
  • .COLOR SET DASH LINE accepts hex values with a prefix of '0x', '#' or nothing at all, but the chart will only be rendered if the prefix is '0x'. Either improve the edits, or convert the '#' or no prefix to a '0x' prefix before updating COLRSPEC. * Fixed * - converts "#" and no prefix to CD format '0x'
  • .TEXT SET FONT SZ is supposed to accept a height & width, but only uses height to set font size in the addTitle method. * Fixed * - In C.BASECHART the height was getting cleared before calling C.TEXTBOX ATTRIBUTES. Should only clear height if width is blank or equal to height. C.XYCHART was not calling C.TEXTBOX ATTRIBUTES for axis labels at all.
  • Setting a width via .TEXT SET FONT SZ:W and then using the text box in .CHART SET TITLE does not work. * Not a bug * - You MUST set Height, and only then can you set width. Wiki updated accordingly.

Revision 482012-01-19 - JeanNeron

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

Known Issues

Line: 19 to 19
 
  • 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. * Fixed * Routine was not being called unless shading was also set. Now setting the shading, edge color or width will trigger the PHP code.
  • 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. * Fixed * - needed to call the subroutine if sector is exploded OR a distance has been set.
  • .PIE SET LBL DISTANCE doesn't seem to do anything. * Not a bug * - when using the 'side' layout method, you can't decrease the distance within the 'invisible retangle'.
Changed:
<
<
  • 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.
>
>
  • 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. See B05 GRADIENT BAR SHADING example.
 
  • 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. * Fixed * - added API's
  • 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? * Fixed * - C.XYCHART was not passing the right dataset # to BARLAYER.SET.BAR.SHAPE/BARLAYER.SET.BAR.SHAPE2.
  • Consider renaming .LAYER ADD DATASET to something that includes TEMPLATE, since the use of 'dataset' conflicts with the use of 'dataset' when adding data points. Also consider renaming .LAYER LINK DATASET to include the word TEMPLATE. * Fixed* - added TM to end of process name. Changed work field name as well & did change all refs in 0CD/1CD.
Line: 76 to 76
 
    • B05. GRADIENT BAR SHADING
      • Can't draw a line under the title
      • No gradient background * Fixed * added API
Changed:
<
<
      • No gradient on the bars
>
>
      • No gradient on the bars * Fixed * added API
 
      • Can't change the color of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
      • Can't call packPlotArea method
      • Can't make bar borders transparent * Fixed * Added API
Line: 98 to 98
 
      • Unable to have gradient background
      • Unable to use glass lighting effect on data segments.* Fixed * Added API
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
Changed:
<
<
    • B15. GRADIENT MULTI BAR CHART
>
>
    • B15. GRADIENT MULTI BAR CHART
 
      • Unable to have gradient background * Fixed * Added API
Changed:
<
<
      • Unable to use gradient effect on data segments.
>
>
      • Unable to use gradient effect on data segments. * Fixed * Added API
 
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
    • B16. MULTI-CYLINDER CHART
      • Unable to assign cylinder shape at layer or group level, have to assign at data template level. * Fixed by Shape fix above *
Line: 119 to 119
 
      • No example, no support for addChart method.
    • B24. BARS WITH MARKS
      • No API for packPlotArea
Deleted:
<
<
      • No API for text box alignment (setAlignment method)
 
      • No softlighting effect - *Fixed * Added API
      • No API for adding box whisker layer
    • B25. PARETO CHART

Revision 472012-01-19 - JeanNeron

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

Known Issues

Line: 112 to 112
 
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
      • Unable to set zone colors
Changed:
<
<
    • B22. BORDERLESS BAR CHART
      • No Gradient colors for bars
>
>
    • B22. BORDERLESS BAR CHART
      • No Gradient colors for bars * Fixed * - added API
 
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
    • B23. DUAL HORIZONTAL BAR CHART
      • No example, no support for addChart method.

Revision 462012-01-19 - JeanNeron

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

Known Issues

Line: 66 to 66
 
    • P21. TEXT STYLES AND COLORS
      • No texture on chart title
      • Texture does not fill chart area
    • B02. MULTI-COLOR BAR CHART
      • Unable to set 3D border effects for the bars. * Fixed * Added API
Changed:
<
<
    • B03. SOFT BAR SHADING
      • Unable to set gradient background
>
>
    • B03. SOFT BAR SHADING
      • Unable to set gradient background * Fixed * Added API
 
      • Unable to set soft lighting effect of the bars * Fixed * added API
      • Unable to set font attributes of system generated Y-axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
    • B04. GLASS BAR SHADING
Line: 75 to 75
 
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
    • B05. GRADIENT BAR SHADING
      • Can't draw a line under the title
Changed:
<
<
      • No gradient background
>
>
      • No gradient background * Fixed * added API
 
      • No gradient on the bars
      • Can't change the color of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
      • Can't call packPlotArea method
Line: 87 to 87
 
    • B11. PERCENTAGE BAR CHART
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
      • Unable to make edges of data segments transparent * Fixed * added API
Changed:
<
<
      • Unable to have gradient background
>
>
      • Unable to have gradient background * Fixed * Added API
 
      • Unable to use soft lighting effect on data segments. *Fixed * Added API
      • Can't call packPlotArea method
Changed:
<
<
    • B13. SOFT MULTI BAR CHART
      • Unable to have gradient background
>
>
    • B13. SOFT MULTI BAR CHART
      • Unable to have gradient background *Fixed * Added API
 
      • Unable to use soft lighting effect on data segments. *Fixed * Added API
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
Changed:
<
<
    • B14. GLASS MULTI BAR CHART
      • Unable to have gradient background
>
>
    • B14. GLASS MULTI BAR CHART
      • Unable to have gradient background
 
      • Unable to use glass lighting effect on data segments.* Fixed * Added API
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
    • B15. GRADIENT MULTI BAR CHART
Changed:
<
<
      • Unable to have gradient background
>
>
      • Unable to have gradient background * Fixed * Added API
 
      • Unable to use gradient effect on data segments.
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
    • B16. MULTI-CYLINDER CHART
Line: 131 to 131
 
      • Unable to set Y-axis scale (primary or secondary)
      • Unable to sync Y axis scale
    • B26. VARIABLE WIDTH BAR CHART
Changed:
<
<
      • No gradient background.
>
>
      • No gradient background. *Fixed * Added API
 
      • chart is wrong because we can't call setXData method

Comments:

Revision 452012-01-18 - JeanNeron

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

Known Issues

Line: 41 to 41
 
  • Sample Chart Issues:
    • P04. SIDE LABEL LAYOUT
      • No glass affect for the sector labels * Fixed * Added API
Changed:
<
<
    • P05. CIRCULAR LABEL LAYOUT
      • No gradient background
    • P07. PIE CHART WITH LEGEND (2)
      • no gradient background
    • P08. EXPLODED PIE CHART
      • No Gradient background
      • No gradient sector labels
>
>
    • P05. CIRCULAR LABEL LAYOUT
      • No gradient background * Fixed * Added API
    • P07. PIE CHART WITH LEGEND (2)
      • no gradient background * Fixed * Added API
    • P08. EXPLODED PIE CHART
      • No Gradient background * Fixed * Added API
      • No gradient sector labels * Fixed * Added API
 
    • P09. ICON PIE CHART (1)
      • No glass shading on title * Fixed * Added API
    • P10. ICON PIE CHART (2)
Line: 57 to 57
 
      • no separator line under title (addLine property)
    • P13. 3D DONUT CHART
      • no separator line under title (addLine property)
Changed:
<
<
      • no gradient background
>
>
      • no gradient background * Fixed * Added API
 
      • no soft lighting on sector labels * Fixed * Added API
    • P15. TEXTURE DONUT CHART
      • no textures on sectors, no way to specify a pattern file as a color.

Revision 442012-01-18 - JeanNeron

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

Known Issues

Line: 58 to 58
 
    • P13. 3D DONUT CHART
      • no separator line under title (addLine property)
      • no gradient background
Changed:
<
<
      • no gradient background on sector labels
>
>
      • no soft lighting on sector labels * Fixed * Added API
 
    • P15. TEXTURE DONUT CHART
      • no textures on sectors, no way to specify a pattern file as a color.
    • P16. CONCENTRIC DONUT CHART

Revision 432012-01-18 - JeanNeron

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

Known Issues

Line: 64 to 64
 
    • P16. CONCENTRIC DONUT CHART
      • No example, no support for merge method.
    • P21. TEXT STYLES AND COLORS
      • No texture on chart title
      • Texture does not fill chart area
Changed:
<
<
    • B02. MULTI-COLOR BAR CHART
      • Unable to set 3D border effects for the bars.
>
>
    • B02. MULTI-COLOR BAR CHART
      • Unable to set 3D border effects for the bars. * Fixed * Added API
 
    • B03. SOFT BAR SHADING
      • Unable to set gradient background
      • Unable to set soft lighting effect of the bars * Fixed * added API

Revision 422012-01-17 - JeanNeron

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

Known Issues

Line: 39 to 39
 
  • The .TEXT SET BX EDGE CLR routine does not change the color of a legend box edge. If you use .TEXT SET BX BG CLR to TRANSPARENT makes the edge transparent as well. * Fixed * - the logic was conditional a background color being set first, then you could set the edge color. Changed so that if bg color not set, it will use -1 for a bg color and still set the edge color or edge effect.
  • Various families of routines (like .XY SET LINE CLR, .XY SET LINE CLR:LR, etc) are supposed to set some attribute at the layer, data group, data template or data point level, based on a built in hierarchy. However, the edits prevent the routine from running unless all of those are present. This is wrong, so long as one of them is present, the routine should run & set it. * Fixed * - affected .XY SET AREA/BAR/LINE/SPLINE/STPLINE CLR
  • Sample Chart Issues:
Changed:
<
<
    • P04. SIDE LABEL LAYOUT
      • No glass affect for the sector labels
>
>
    • P04. SIDE LABEL LAYOUT
      • No glass affect for the sector labels * Fixed * Added API
 
    • P05. CIRCULAR LABEL LAYOUT
      • No gradient background
    • P07. PIE CHART WITH LEGEND (2)
Line: 48 to 48
 
    • P08. EXPLODED PIE CHART
      • No Gradient background
      • No gradient sector labels
Changed:
<
<
    • P09. ICON PIE CHART (1)
      • No glass shading on title
>
>
    • P09. ICON PIE CHART (1)
      • No glass shading on title * Fixed * Added API
 
    • P10. ICON PIE CHART (2)
      • no logo in bottom right corner
Changed:
<
<
      • No glass shading on title
>
>
      • No glass shading on title * Fixed * Added API
 
    • P12. DONUT CHART
      • no separator line under title (addLine property)
    • P13. 3D DONUT CHART
Line: 70 to 70
 
      • Unable to set gradient background
      • Unable to set soft lighting effect of the bars * Fixed * added API
      • Unable to set font attributes of system generated Y-axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
Changed:
<
<
    • B04. GLASS BAR SHADING
      • No Glass shading effect for the bars.
>
>
    • B04. GLASS BAR SHADING
      • No Glass shading effect for the bars.
 
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
    • B05. GRADIENT BAR SHADING
      • Can't draw a line under the title
Line: 96 to 96
 
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
    • B14. GLASS MULTI BAR CHART
      • Unable to have gradient background
Changed:
<
<
      • Unable to use glass lighting effect on data segments.
>
>
      • Unable to use glass lighting effect on data segments.* Fixed * Added API
 
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
    • B15. GRADIENT MULTI BAR CHART
      • Unable to have gradient background

Revision 412012-01-16 - JeanNeron

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

Known Issues

Line: 68 to 68
 
      • Unable to set 3D border effects for the bars.
    • B03. SOFT BAR SHADING
      • Unable to set gradient background
Changed:
<
<
      • Unable to set soft lighting effect of the bars
>
>
      • Unable to set soft lighting effect of the bars * Fixed * added API
 
      • Unable to set font attributes of system generated Y-axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
    • B04. GLASS BAR SHADING
      • No Glass shading effect for the bars.
Line: 88 to 88
 
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
      • Unable to make edges of data segments transparent * Fixed * added API
      • Unable to have gradient background
Changed:
<
<
      • Unable to use soft lighting effect on data segments.
>
>
      • Unable to use soft lighting effect on data segments. *Fixed * Added API
 
      • Can't call packPlotArea method
    • B13. SOFT MULTI BAR CHART
      • Unable to have gradient background
Changed:
<
<
      • Unable to use soft lighting effect on data segments.
>
>
      • Unable to use soft lighting effect on data segments. *Fixed * Added API
 
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
    • B14. GLASS MULTI BAR CHART
      • Unable to have gradient background
Line: 120 to 120
 
    • B24. BARS WITH MARKS
      • No API for packPlotArea
      • No API for text box alignment (setAlignment method)
Changed:
<
<
      • No softlighting effect
>
>
      • No softlighting effect - *Fixed * Added API
 
      • No API for adding box whisker layer
    • B25. PARETO CHART
      • Can't call packPlotArea method
      • Can't bind the line layer to the secondary (right) y-axis using $lineLayer->setUseYAxis2();
      • Can't set size of circle shape on Pareto line
      • Chart is incorrect, adds extra bar layer of pareto data, covering up intended bar layer
Changed:
<
<
      • No soft lighting for bars
>
>
      • No soft lighting for bars *Fixed * Added API
 
      • Unable to set Y-axis scale (primary or secondary)
      • Unable to sync Y axis scale
    • B26. VARIABLE WIDTH BAR CHART

Revision 402012-01-13 - JeanNeron

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

Known Issues

Line: 61 to 61
 
      • no gradient background on sector labels
    • P15. TEXTURE DONUT CHART
      • no textures on sectors, no way to specify a pattern file as a color.
Changed:
<
<
    • P21. TEXT STYLES AND COLORS
      • No texture on chart title
      • Texture does not fill chart area
    • P16. CONCENTRIC DONUT CHART
      • No example, no support for merge method.
>
>
    • P16. CONCENTRIC DONUT CHART
      • No example, no support for merge method.
    • P21. TEXT STYLES AND COLORS
      • No texture on chart title
      • Texture does not fill chart area
 
    • B02. MULTI-COLOR BAR CHART
      • Unable to set 3D border effects for the bars.
    • B03. SOFT BAR SHADING
Line: 81 to 79
 
      • No gradient on the bars
      • Can't change the color of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
      • Can't call packPlotArea method
Changed:
<
<
      • Can't make bar borders transparent
>
>
      • Can't make bar borders transparent * Fixed * Added API
 
    • B06. CYLINDER BAR SHADING
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
    • B10. Stacked Bar Chart
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
    • B11. PERCENTAGE BAR CHART
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
Changed:
<
<
      • Unable to make edges of data segments transparent
>
>
      • Unable to make edges of data segments transparent * Fixed * added API
 
      • Unable to have gradient background
      • Unable to use soft lighting effect on data segments.
      • Can't call packPlotArea method
Line: 106 to 104
 
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
    • B16. MULTI-CYLINDER CHART
      • Unable to assign cylinder shape at layer or group level, have to assign at data template level. * Fixed by Shape fix above *
Changed:
<
<
    • B19. MULTI-STACKED BAR CHART
>
>
    • B19. MULTI-STACKED BAR CHART
 
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
Changed:
<
<
      • Unable to make edges of data segments transparent
>
>
      • Unable to make edges of data segments transparent. * Fixed * - added API's
 
      • chart is wrong, data is not charted correctly. * Fixed * was adding data group for every data set and layer for every data group. Applied changes to other chart types.
Changed:
<
<
    • B21. POSITIVE NEGATIVE BARS
>
>
    • B21. POSITIVE NEGATIVE BARS
 
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
      • Unable to set zone colors

Revision 392012-01-13 - JeanNeron

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

Known Issues

Line: 60 to 60
 
      • no gradient background
      • no gradient background on sector labels
    • P15. TEXTURE DONUT CHART
Changed:
<
<
      • no textures (pattern not passed to .PIE SET SECT BG CLR?)
>
>
      • no textures on sectors, no way to specify a pattern file as a color.
 
    • P21. TEXT STYLES AND COLORS
      • No texture on chart title
      • Texture does not fill chart area
Line: 71 to 71
 
    • B03. SOFT BAR SHADING
      • Unable to set gradient background
      • Unable to set soft lighting effect of the bars
Changed:
<
<
      • Unable to set font attributes of system generated Y-axis labels.
>
>
      • Unable to set font attributes of system generated Y-axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
 
    • B04. GLASS BAR SHADING
      • No Glass shading effect for the bars.
Changed:
<
<
      • Can't change the font style of the autogenerated Y axis labels
>
>
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
 
    • B05. GRADIENT BAR SHADING
      • Can't draw a line under the title
      • No gradient background
      • No gradient on the bars
Changed:
<
<
      • Can't change the color of the autogenerated Y axis labels
>
>
      • Can't change the color of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
 
      • Can't call packPlotArea method
Changed:
<
<
    • B06. CYLINDER BAR SHADING
      • Can't change the font style of the autogenerated Y axis labels
>
>
      • Can't make bar borders transparent
    • B06. CYLINDER BAR SHADING
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
 
    • B10. Stacked Bar Chart
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
    • B11. PERCENTAGE BAR CHART
Line: 94 to 95
 
    • B13. SOFT MULTI BAR CHART
      • Unable to have gradient background
      • Unable to use soft lighting effect on data segments.
Changed:
<
<
      • Can't change the font style of the autogenerated Y axis labels
>
>
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
 
    • B14. GLASS MULTI BAR CHART
      • Unable to have gradient background
      • Unable to use glass lighting effect on data segments.
Changed:
<
<
      • Can't change the font style of the autogenerated Y axis labels
>
>
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
 
    • B15. GRADIENT MULTI BAR CHART
      • Unable to have gradient background
      • Unable to use gradient effect on data segments.
Changed:
<
<
      • Can't change the font style of the autogenerated Y axis labels
>
>
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
 
    • B16. MULTI-CYLINDER CHART
      • Unable to assign cylinder shape at layer or group level, have to assign at data template level. * Fixed by Shape fix above *
    • B19. MULTI-STACKED BAR CHART
Line: 111 to 112
 
      • chart is wrong, data is not charted correctly. * Fixed * was adding data group for every data set and layer for every data group. Applied changes to other chart types.
    • B21. POSITIVE NEGATIVE BARS
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
Changed:
<
<
      • Can't change the font style of the autogenerated Y axis labels
>
>
      • Can't change the font style of the autogenerated Y axis labels. Yes you can, just wasn't clear how to do it. Wiki updated.
 
      • Unable to set zone colors
    • B22. BORDERLESS BAR CHART
      • No Gradient colors for bars

Revision 382012-01-12 - JeanNeron

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

Known Issues

Line: 55 to 55
 
      • No glass shading on title
    • P12. DONUT CHART
      • no separator line under title (addLine property)
Deleted:
<
<
      • raised borders around sector labels
 
    • P13. 3D DONUT CHART
      • no separator line under title (addLine property)
      • no gradient background
Line: 64 to 63
 
      • no textures (pattern not passed to .PIE SET SECT BG CLR?)
    • P21. TEXT STYLES AND COLORS
      • No texture on chart title
Added:
>
>
      • Texture does not fill chart area
 
    • P16. CONCENTRIC DONUT CHART
      • No example, no support for merge method.
    • B02. MULTI-COLOR BAR CHART
      • Unable to set 3D border effects for the bars.
Deleted:
<
<
      • Metal effect missing from title bar
 
    • B03. SOFT BAR SHADING
      • Unable to set gradient background
      • Unable to set soft lighting effect of the bars

Revision 372012-01-12 - JeanNeron

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

Known Issues

Line: 27 to 27
 
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART," Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?) * Fixed * - changed to an OR.
  • Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity. * Fixed * - C.XYCHART now calls AXIS.SET.TICK.DENSITY which uses setTickDensity.
  • The .AXIS SET LBL OFFSET routine accepts Pixel or Scale as a second parameter, but the rendered chart always treats the offset as Scale. * Fixed * - Pixel is not supported, removed from Wiki and API. Changed offset to allow decimal values, same as .AXIS SET TICK OFFSET.
Changed:
<
<
  • Attempting to set the brightness via .COLOR SET BRIGHTNESS results in a php error: PHP Fatal error: Call to undefined function adjustBrightness() in <whatever file> on line <whatever line>. FWIW, adjustBrightness is documented in Chart Director.
  • Attempting to set the brightness via .COLOR SET HALF COLOR results in a php error: PHP Fatal error: Call to undefined function halfColor() in <whatever file> on line <whatever line>. FWIW halfColor is documented in Chart Director.
>
>
  • Attempting to set the brightness via .COLOR SET BRIGHTNESS results in a php error: PHP Fatal error: Call to undefined function adjustBrightness() in <whatever file> on line <whatever line>. FWIW, adjustBrightness is documented in Chart Director. Appears to be a Chart Director bug. Your chart will not render if you use this subroutine.
  • Attempting to set the brightness via .COLOR SET HALF COLOR results in a php error: PHP Fatal error: Call to undefined function halfColor() in <whatever file> on line <whatever line>. FWIW halfColor is documented in Chart Director. Appears to be a Chart Director bug. Your chart will not render if you use this subroutine.
 
  • .COLOR SET DASH LINE accepts hex values with a prefix of '0x', '#' or nothing at all, but the chart will only be rendered if the prefix is '0x'. Either improve the edits, or convert the '#' or no prefix to a '0x' prefix before updating COLRSPEC. * Fixed * - converts "#" and no prefix to CD format '0x'
  • .TEXT SET FONT SZ is supposed to accept a height & width, but only uses height to set font size in the addTitle method. * Fixed * - In C.BASECHART the height was getting cleared before calling C.TEXTBOX ATTRIBUTES. Should only clear height if width is blank or equal to height. C.XYCHART was not calling C.TEXTBOX ATTRIBUTES for axis labels at all.
  • Setting a width via .TEXT SET FONT SZ:W and then using the text box in .CHART SET TITLE does not work. * Not a bug * - You MUST set Height, and only then can you set width. Wiki updated accordingly.
Line: 68 to 68
 
      • No example, no support for merge method.
    • B02. MULTI-COLOR BAR CHART
      • Unable to set 3D border effects for the bars.
Added:
>
>
      • Metal effect missing from title bar
 
    • B03. SOFT BAR SHADING
      • Unable to set gradient background
      • Unable to set soft lighting effect of the bars

Revision 362012-01-11 - JeanNeron

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

Known Issues

Line: 113 to 113
 
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
      • Can't change the font style of the autogenerated Y axis labels
      • Unable to set zone colors
Deleted:
<
<
      • Y axis labels on wrong side
 
    • B22. BORDERLESS BAR CHART
      • No Gradient colors for bars
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's

Revision 352012-01-11 - JeanNeron

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

Known Issues

Line: 20 to 20
 
  • 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. * Fixed * - needed to call the subroutine if sector is exploded OR a distance has been set.
  • .PIE SET LBL DISTANCE doesn't seem to do anything. * Not a bug * - when using the 'side' layout method, you can't decrease the distance within the 'invisible retangle'.
  • 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.
Changed:
<
<
  • 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.
>
>
  • 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. * Fixed * - added API's
 
  • 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? * Fixed * - C.XYCHART was not passing the right dataset # to BARLAYER.SET.BAR.SHAPE/BARLAYER.SET.BAR.SHAPE2.
  • Consider renaming .LAYER ADD DATASET to something that includes TEMPLATE, since the use of 'dataset' conflicts with the use of 'dataset' when adding data points. Also consider renaming .LAYER LINK DATASET to include the word TEMPLATE. * Fixed* - added TM to end of process name. Changed work field name as well & did change all refs in 0CD/1CD.
  • .AXIS SET AXIS L has no effect on the length of the axis line. The generated PHP code looks right, but it seems to have no effect on the generated chart - possible Chart Director bug.
Line: 83 to 83
 
      • Can't call packPlotArea method
    • B06. CYLINDER BAR SHADING
      • Can't change the font style of the autogenerated Y axis labels
Changed:
<
<
    • B10. Stacked Bar Chart
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
>
>
    • B10. Stacked Bar Chart
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
 
    • B11. PERCENTAGE BAR CHART
Changed:
<
<
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
>
>
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
 
      • Unable to make edges of data segments transparent
      • Unable to have gradient background
      • Unable to use soft lighting effect on data segments.
Line: 106 to 106
 
    • B16. MULTI-CYLINDER CHART
      • Unable to assign cylinder shape at layer or group level, have to assign at data template level. * Fixed by Shape fix above *
    • B19. MULTI-STACKED BAR CHART
Changed:
<
<
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
>
>
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
 
      • Unable to make edges of data segments transparent
      • chart is wrong, data is not charted correctly. * Fixed * was adding data group for every data set and layer for every data group. Applied changes to other chart types.
    • B21. POSITIVE NEGATIVE BARS
Changed:
<
<
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
>
>
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
 
      • Can't change the font style of the autogenerated Y axis labels
      • Unable to set zone colors
      • Y axis labels on wrong side
    • B22. BORDERLESS BAR CHART
      • No Gradient colors for bars
Changed:
<
<
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
>
>
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods). * Fixed * - added API's
 
    • B23. DUAL HORIZONTAL BAR CHART
      • No example, no support for addChart method.
    • B24. BARS WITH MARKS

Revision 342012-01-10 - JeanNeron

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

Known Issues

Line: 103 to 103
 
      • Unable to have gradient background
      • Unable to use gradient effect on data segments.
      • Can't change the font style of the autogenerated Y axis labels
Changed:
<
<
    • B16. MULTI-CYLINDER CHART
      • Unable to assign cylinder shape at layer or group level, have to assign at data template level.
>
>
    • B16. MULTI-CYLINDER CHART
      • Unable to assign cylinder shape at layer or group level, have to assign at data template level. * Fixed by Shape fix above *
 
    • B19. MULTI-STACKED BAR CHART
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
      • Unable to make edges of data segments transparent

Revision 332012-01-09 - JeanNeron

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

Known Issues

  • All examples should be tested on a Windows Server!! There is a definate Linux slant to some things, ie, some routines check to see if the first character of a file name is a / or \ to determine if it's a complete pathname or not. Under Windows, a complete path begins with a drive letter, not a / or \.
Added:
>
>
  • The examples in 1CD have the path /var/www/html/ChartDirector/phpdemo hardcoded. This path can vary depending on Windows vs Linux installation. The examples should probably check the server type and use the appropriate default.
 
  • The Linear Meter chart type has a few problems:
    • The pointer files (PTR1/2) are not initialized when .CHART INITIALIZE is called, so each time you call .CHART RENDER, the previously defined pointers appear as well as the one(s) you intended for the current chart.
    • The PRT1/2 files are not linked to a particular CHTSPEC record, so if you are working with multiple charts of this type, when you render a chart the pointer(s) will appear on all charts, not just the current one.
Line: 10 to 11
 
    • It verifies the file exists only for a full pathname, should verify image directory as well
    • Also check .CHART SET BG WALLPAPR, probably has the same problem.
    • * FIXED *, added API .CHART SET IMAGE PATH for user to specify path(s) for images, changed these routines to verify image file using the path.
Deleted:
<
<
  • The examples in 1CD have the path /var/www/html/ChartDirector/phpdemo hardcoded. This path can vary depending on Windows vs Linux installation. The examples should probably check the server type and use the appropriate default.
 
  • The .CHART SET SHAPE AA seems to update the memory file, but unless you also call .CHART SET TXT AA MODE, nothing gets put in the php script. Even if you call .CHART SET TXT AA MODE, the parameter for shape AA is always true, even if you turned it off via .CHART SET SHAPE AA. * Fixed * - C.BASECHART was checking for Yes/No instead of On/Off (CHTSPEC BC SHAPE AA)
  • 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. * Fixed *. C.BASECHART was only checking the icon width field, needed to check width, height and gap to call LEGENDBOX.SET.KEY.SIZE. Changed LEGENDBOX.SET.KEY.SIZE to default width to -1 if blank.
  • 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. * Fixed * - was missing GOSUB :ESCAPE AND QUOTE TEXT in LEGENDBOX.SET.TEXT. Was also missing from other similar routines, added where necessary.
Line: 21 to 21
 
  • .PIE SET LBL DISTANCE doesn't seem to do anything. * Not a bug * - when using the 'side' layout method, you can't decrease the distance within the 'invisible retangle'.
  • 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.
Changed:
<
<
  • 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?
>
>
  • 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? * Fixed * - C.XYCHART was not passing the right dataset # to BARLAYER.SET.BAR.SHAPE/BARLAYER.SET.BAR.SHAPE2.
 
  • Consider renaming .LAYER ADD DATASET to something that includes TEMPLATE, since the use of 'dataset' conflicts with the use of 'dataset' when adding data points. Also consider renaming .LAYER LINK DATASET to include the word TEMPLATE. * Fixed* - added TM to end of process name. Changed work field name as well & did change all refs in 0CD/1CD.
  • .AXIS SET AXIS L has no effect on the length of the axis line. The generated PHP code looks right, but it seems to have no effect on the generated chart - possible Chart Director bug.
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART," Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?) * Fixed * - changed to an OR.

Revision 322012-01-09 - JeanNeron

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

Known Issues

Line: 15 to 15
 
  • 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. * Fixed *. C.BASECHART was only checking the icon width field, needed to check width, height and gap to call LEGENDBOX.SET.KEY.SIZE. Changed LEGENDBOX.SET.KEY.SIZE to default width to -1 if blank.
  • 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. * Fixed * - was missing GOSUB :ESCAPE AND QUOTE TEXT in LEGENDBOX.SET.TEXT. Was also missing from other similar routines, added where necessary.
  • Setting the vertical gap via .LEGEND SET KEY GAP:V doesn't work unless you also set the horizontal gap via .LEGEND SET KEY GAP:H. If the horizontal gap is not set, the php script doesn't include the setKeySpacing method, which controls both horizontal & vertical. * Fixed * - if either parameter is set, the setKeySpacing method will be called, defaulting horizontal spacing to -1 if necessary.
Changed:
<
<
  • .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 - possible Chart Director bug.
>
>
  • .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 - possible Chart Director bug.
 
  • 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. * Fixed * Routine was not being called unless shading was also set. Now setting the shading, edge color or width will trigger the PHP code.
  • 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. * Fixed * - needed to call the subroutine if sector is exploded OR a distance has been set.
  • .PIE SET LBL DISTANCE doesn't seem to do anything. * Not a bug * - when using the 'side' layout method, you can't decrease the distance within the 'invisible retangle'.
Line: 25 to 25
 
  • Consider renaming .LAYER ADD DATASET to something that includes TEMPLATE, since the use of 'dataset' conflicts with the use of 'dataset' when adding data points. Also consider renaming .LAYER LINK DATASET to include the word TEMPLATE. * Fixed* - added TM to end of process name. Changed work field name as well & did change all refs in 0CD/1CD.
  • .AXIS SET AXIS L has no effect on the length of the axis line. The generated PHP code looks right, but it seems to have no effect on the generated chart - possible Chart Director bug.
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART," Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?) * Fixed * - changed to an OR.
Changed:
<
<
  • Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity.
>
>
  • Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity. * Fixed * - C.XYCHART now calls AXIS.SET.TICK.DENSITY which uses setTickDensity.
 
  • The .AXIS SET LBL OFFSET routine accepts Pixel or Scale as a second parameter, but the rendered chart always treats the offset as Scale. * Fixed * - Pixel is not supported, removed from Wiki and API. Changed offset to allow decimal values, same as .AXIS SET TICK OFFSET.
  • Attempting to set the brightness via .COLOR SET BRIGHTNESS results in a php error: PHP Fatal error: Call to undefined function adjustBrightness() in <whatever file> on line <whatever line>. FWIW, adjustBrightness is documented in Chart Director.
  • Attempting to set the brightness via .COLOR SET HALF COLOR results in a php error: PHP Fatal error: Call to undefined function halfColor() in <whatever file> on line <whatever line>. FWIW halfColor is documented in Chart Director.

Revision 312012-01-07 - JeanNeron

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

Known Issues

Line: 15 to 15
 
  • 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. * Fixed *. C.BASECHART was only checking the icon width field, needed to check width, height and gap to call LEGENDBOX.SET.KEY.SIZE. Changed LEGENDBOX.SET.KEY.SIZE to default width to -1 if blank.
  • 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. * Fixed * - was missing GOSUB :ESCAPE AND QUOTE TEXT in LEGENDBOX.SET.TEXT. Was also missing from other similar routines, added where necessary.
  • Setting the vertical gap via .LEGEND SET KEY GAP:V doesn't work unless you also set the horizontal gap via .LEGEND SET KEY GAP:H. If the horizontal gap is not set, the php script doesn't include the setKeySpacing method, which controls both horizontal & vertical. * Fixed * - if either parameter is set, the setKeySpacing method will be called, defaulting horizontal spacing to -1 if necessary.
Changed:
<
<
  • .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 - possible Chart Director bug.
>
>
  • .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 - possible Chart Director bug.
 
  • 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. * Fixed * Routine was not being called unless shading was also set. Now setting the shading, edge color or width will trigger the PHP code.
  • 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. * Fixed * - needed to call the subroutine if sector is exploded OR a distance has been set.
  • .PIE SET LBL DISTANCE doesn't seem to do anything. * Not a bug * - when using the 'side' layout method, you can't decrease the distance within the 'invisible retangle'.
Line: 23 to 23
 
  • 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?
  • Consider renaming .LAYER ADD DATASET to something that includes TEMPLATE, since the use of 'dataset' conflicts with the use of 'dataset' when adding data points. Also consider renaming .LAYER LINK DATASET to include the word TEMPLATE. * Fixed* - added TM to end of process name. Changed work field name as well & did change all refs in 0CD/1CD.
Changed:
<
<
  • .AXIS SET AXIS L has no effect on the length of the axis line.
>
>
  • .AXIS SET AXIS L has no effect on the length of the axis line. The generated PHP code looks right, but it seems to have no effect on the generated chart - possible Chart Director bug.
 
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART," Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?) * Fixed * - changed to an OR.
  • Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity.
  • The .AXIS SET LBL OFFSET routine accepts Pixel or Scale as a second parameter, but the rendered chart always treats the offset as Scale. * Fixed * - Pixel is not supported, removed from Wiki and API. Changed offset to allow decimal values, same as .AXIS SET TICK OFFSET.
Line: 35 to 35
 
  • Setting a height via .TEXT SET FONT SZ:H and then using the text box in .CHART SET TITLE causes the height to be used for both height and width (the height is used as a paramter on the addTitle method). * Fixed * Same as .TEXT SET FONT SZ bug above.
  • .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. * Not a bug * Chart Director requires a width setting before you can set the number of lines.
  • 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. * Fixed * - the routine was trying to fill missing margins from existing margins, now substitutes -1 for missing margins.
Changed:
<
<
  • When a shape is set at the Layer (XYLAYER) or Data Group (LAYERDG), it is not used when the chart is generated. Setting it at the Data Set Template (LAYERDGD) level works.
>
>
  • When a shape is set at the Layer (XYLAYER) or Data Group (LAYERDG), it is not used when the chart is generated. Setting it at the Data Set Template (LAYERDGD) level works. * Fixed * - If a shape is set at layer or Group level, the shape command is generated.
 
  • The .TEXT SET BX EDGE CLR routine does not change the color of a legend box edge. If you use .TEXT SET BX BG CLR to TRANSPARENT makes the edge transparent as well. * Fixed * - the logic was conditional a background color being set first, then you could set the edge color. Changed so that if bg color not set, it will use -1 for a bg color and still set the edge color or edge effect.
  • Various families of routines (like .XY SET LINE CLR, .XY SET LINE CLR:LR, etc) are supposed to set some attribute at the layer, data group, data template or data point level, based on a built in hierarchy. However, the edits prevent the routine from running unless all of those are present. This is wrong, so long as one of them is present, the routine should run & set it. * Fixed * - affected .XY SET AREA/BAR/LINE/SPLINE/STPLINE CLR
  • Sample Chart Issues:

Revision 302012-01-05 - JeanNeron

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

Known Issues

Line: 18 to 18
 
  • .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 - possible Chart Director bug.
  • 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. * Fixed * Routine was not being called unless shading was also set. Now setting the shading, edge color or width will trigger the PHP code.
  • 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. * Fixed * - needed to call the subroutine if sector is exploded OR a distance has been set.
Changed:
<
<
  • .PIE SET LBL DISTANCE doesn't seem to do anything. * Fixed * - The routine to generate the PHP code wasn't being called unless it applied to all sectors.
>
>
  • .PIE SET LBL DISTANCE doesn't seem to do anything. * Not a bug * - when using the 'side' layout method, you can't decrease the distance within the 'invisible retangle'.
 
  • 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: 55 to 55
 
      • No glass shading on title
    • P12. DONUT CHART
      • no separator line under title (addLine property)
Changed:
<
<
      • no borders around sector labels
>
>
      • raised borders around sector labels
 
    • P13. 3D DONUT CHART
      • no separator line under title (addLine property)
      • no gradient background

Revision 292012-01-05 - JeanNeron

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

Known Issues

Line: 113 to 113
 
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
      • Can't change the font style of the autogenerated Y axis labels
      • Unable to set zone colors
Added:
>
>
      • Y axis labels on wrong side
 
    • B22. BORDERLESS BAR CHART
      • No Gradient colors for bars
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).

Revision 282012-01-05 - JeanNeron

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

Known Issues

Line: 36 to 36
 
  • .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. * Not a bug * Chart Director requires a width setting before you can set the number of lines.
  • 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. * Fixed * - the routine was trying to fill missing margins from existing margins, now substitutes -1 for missing margins.
  • When a shape is set at the Layer (XYLAYER) or Data Group (LAYERDG), it is not used when the chart is generated. Setting it at the Data Set Template (LAYERDGD) level works.
Changed:
<
<
  • The .TEXT SET BX EDGE CLR routine does not change the color of a legend box edge. If you use .TEXT SET BX BG CLR to TRANSPARENT makes the edge transparent as well.
  • Various families of routines (like .XY SET LINE CLR, .XY SET LINE CLR:LR, etc) are supposed to set some attribute at the layer, data group, data template or data point level, based on a built in hierarchy. However, the edits prevent the routine from running unless all of those are present. This is wrong, so long as one of them is present, the routine should run & set it.
>
>
  • The .TEXT SET BX EDGE CLR routine does not change the color of a legend box edge. If you use .TEXT SET BX BG CLR to TRANSPARENT makes the edge transparent as well. * Fixed * - the logic was conditional a background color being set first, then you could set the edge color. Changed so that if bg color not set, it will use -1 for a bg color and still set the edge color or edge effect.
  • Various families of routines (like .XY SET LINE CLR, .XY SET LINE CLR:LR, etc) are supposed to set some attribute at the layer, data group, data template or data point level, based on a built in hierarchy. However, the edits prevent the routine from running unless all of those are present. This is wrong, so long as one of them is present, the routine should run & set it. * Fixed * - affected .XY SET AREA/BAR/LINE/SPLINE/STPLINE CLR
 
  • Sample Chart Issues:
    • P04. SIDE LABEL LAYOUT
      • No glass affect for the sector labels

Revision 272012-01-04 - JeanNeron

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

Known Issues

Line: 18 to 18
 
  • .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 - possible Chart Director bug.
  • 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. * Fixed * Routine was not being called unless shading was also set. Now setting the shading, edge color or width will trigger the PHP code.
  • 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. * Fixed * - needed to call the subroutine if sector is exploded OR a distance has been set.
Changed:
<
<
>
>
  • .PIE SET LBL DISTANCE doesn't seem to do anything. * Fixed * - The routine to generate the PHP code wasn't being called unless it applied to all sectors.
 
  • 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: 33 to 33
 
  • .TEXT SET FONT SZ is supposed to accept a height & width, but only uses height to set font size in the addTitle method. * Fixed * - In C.BASECHART the height was getting cleared before calling C.TEXTBOX ATTRIBUTES. Should only clear height if width is blank or equal to height. C.XYCHART was not calling C.TEXTBOX ATTRIBUTES for axis labels at all.
  • Setting a width via .TEXT SET FONT SZ:W and then using the text box in .CHART SET TITLE does not work. * Not a bug * - You MUST set Height, and only then can you set width. Wiki updated accordingly.
  • Setting a height via .TEXT SET FONT SZ:H and then using the text box in .CHART SET TITLE causes the height to be used for both height and width (the height is used as a paramter on the addTitle method). * Fixed * Same as .TEXT SET FONT SZ bug above.
Changed:
<
<
  • .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.
>
>
  • .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. * Not a bug * Chart Director requires a width setting before you can set the number of lines.
 
  • 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. * Fixed * - the routine was trying to fill missing margins from existing margins, now substitutes -1 for missing margins.
  • When a shape is set at the Layer (XYLAYER) or Data Group (LAYERDG), it is not used when the chart is generated. Setting it at the Data Set Template (LAYERDGD) level works.
  • The .TEXT SET BX EDGE CLR routine does not change the color of a legend box edge. If you use .TEXT SET BX BG CLR to TRANSPARENT makes the edge transparent as well.

Revision 262012-01-04 - JeanNeron

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

Known Issues

Line: 17 to 17
 
  • Setting the vertical gap via .LEGEND SET KEY GAP:V doesn't work unless you also set the horizontal gap via .LEGEND SET KEY GAP:H. If the horizontal gap is not set, the php script doesn't include the setKeySpacing method, which controls both horizontal & vertical. * Fixed * - if either parameter is set, the setKeySpacing method will be called, defaulting horizontal spacing to -1 if necessary.
  • .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 - possible Chart Director bug.
  • 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. * Fixed * Routine was not being called unless shading was also set. Now setting the shading, edge color or width will trigger the PHP code.
Changed:
<
<
  • 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.
>
>
  • 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. * Fixed * - needed to call the subroutine if sector is exploded OR a distance has been set.
 
  • .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.

Revision 252012-01-04 - JeanNeron

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

Known Issues

Line: 15 to 15
 
  • 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. * Fixed *. C.BASECHART was only checking the icon width field, needed to check width, height and gap to call LEGENDBOX.SET.KEY.SIZE. Changed LEGENDBOX.SET.KEY.SIZE to default width to -1 if blank.
  • 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. * Fixed * - was missing GOSUB :ESCAPE AND QUOTE TEXT in LEGENDBOX.SET.TEXT. Was also missing from other similar routines, added where necessary.
  • Setting the vertical gap via .LEGEND SET KEY GAP:V doesn't work unless you also set the horizontal gap via .LEGEND SET KEY GAP:H. If the horizontal gap is not set, the php script doesn't include the setKeySpacing method, which controls both horizontal & vertical. * Fixed * - if either parameter is set, the setKeySpacing method will be called, defaulting horizontal spacing to -1 if necessary.
Changed:
<
<
  • .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 - possible Chart Director bug.
>
>
  • .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 - possible Chart Director bug.
 
  • 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. * Fixed * Routine was not being called unless shading was also set. Now setting the shading, edge color or width will trigger the PHP code.
  • 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.
Line: 30 to 30
 
  • Attempting to set the brightness via .COLOR SET BRIGHTNESS results in a php error: PHP Fatal error: Call to undefined function adjustBrightness() in <whatever file> on line <whatever line>. FWIW, adjustBrightness is documented in Chart Director.
  • Attempting to set the brightness via .COLOR SET HALF COLOR results in a php error: PHP Fatal error: Call to undefined function halfColor() in <whatever file> on line <whatever line>. FWIW halfColor is documented in Chart Director.
  • .COLOR SET DASH LINE accepts hex values with a prefix of '0x', '#' or nothing at all, but the chart will only be rendered if the prefix is '0x'. Either improve the edits, or convert the '#' or no prefix to a '0x' prefix before updating COLRSPEC. * Fixed * - converts "#" and no prefix to CD format '0x'
Changed:
<
<
  • .TEXT SET FONT SZ is supposed to accept a height & width, but only uses height to set font size in the addTitle method.
  • Setting a width via .TEXT SET FONT SZ:W and then using the text box in .CHART SET TITLE does not work.
  • Setting a height via .TEXT SET FONT SZ:H and then using the text box in .CHART SET TITLE causes the height to be used for both height and width (the height is used as a paramter on the addTitle method).
>
>
  • .TEXT SET FONT SZ is supposed to accept a height & width, but only uses height to set font size in the addTitle method. * Fixed * - In C.BASECHART the height was getting cleared before calling C.TEXTBOX ATTRIBUTES. Should only clear height if width is blank or equal to height. C.XYCHART was not calling C.TEXTBOX ATTRIBUTES for axis labels at all.
  • Setting a width via .TEXT SET FONT SZ:W and then using the text box in .CHART SET TITLE does not work. * Not a bug * - You MUST set Height, and only then can you set width. Wiki updated accordingly.
  • Setting a height via .TEXT SET FONT SZ:H and then using the text box in .CHART SET TITLE causes the height to be used for both height and width (the height is used as a paramter on the addTitle method). * Fixed * Same as .TEXT SET FONT SZ bug above.
 
  • .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. * Fixed * - the routine was trying to fill missing margins from existing margins, now substitutes -1 for missing margins.
  • When a shape is set at the Layer (XYLAYER) or Data Group (LAYERDG), it is not used when the chart is generated. Setting it at the Data Set Template (LAYERDGD) level works.

Revision 242012-01-03 - JeanNeron

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

Known Issues

Line: 12 to 12
 
    • * FIXED *, added API .CHART SET IMAGE PATH for user to specify path(s) for images, changed these routines to verify image file using the path.
  • The examples in 1CD have the path /var/www/html/ChartDirector/phpdemo hardcoded. This path can vary depending on Windows vs Linux installation. The examples should probably check the server type and use the appropriate default.
  • The .CHART SET SHAPE AA seems to update the memory file, but unless you also call .CHART SET TXT AA MODE, nothing gets put in the php script. Even if you call .CHART SET TXT AA MODE, the parameter for shape AA is always true, even if you turned it off via .CHART SET SHAPE AA. * Fixed * - C.BASECHART was checking for Yes/No instead of On/Off (CHTSPEC BC SHAPE AA)
Changed:
<
<
  • 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 ICON GAP seems to update the memory file, but unless you also call .LEGEND SET ICON SZ, nothing gets written to the php script. * Fixed *. C.BASECHART was only checking the icon width field, needed to check width, height and gap to call LEGENDBOX.SET.KEY.SIZE. Changed LEGENDBOX.SET.KEY.SIZE to default width to -1 if blank.
 
  • 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. * Fixed * - was missing GOSUB :ESCAPE AND QUOTE TEXT in LEGENDBOX.SET.TEXT. Was also missing from other similar routines, added where necessary.
  • Setting the vertical gap via .LEGEND SET KEY GAP:V doesn't work unless you also set the horizontal gap via .LEGEND SET KEY GAP:H. If the horizontal gap is not set, the php script doesn't include the setKeySpacing method, which controls both horizontal & vertical. * Fixed * - if either parameter is set, the setKeySpacing method will be called, defaulting horizontal spacing to -1 if necessary.
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.
>
>
  • .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 - possible Chart Director bug.
  • 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. * Fixed * Routine was not being called unless shading was also set. Now setting the shading, edge color or width will trigger the PHP code.
 
  • 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.

Revision 232011-12-23 - JeanNeron

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

Known Issues

Line: 35 to 35
 
  • Setting a width via .TEXT SET FONT SZ:W and then using the text box in .CHART SET TITLE does not work.
  • Setting a height via .TEXT SET FONT SZ:H and then using the text box in .CHART SET TITLE causes the height to be used for both height and width (the height is used as a paramter on the addTitle method).
  • .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.
Changed:
<
<
  • 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. * Fixed * - the routine was trying to fill missing margins from existing margins, now substitites -1 for missing margins.
>
>
  • 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. * Fixed * - the routine was trying to fill missing margins from existing margins, now substitutes -1 for missing margins.
 
  • When a shape is set at the Layer (XYLAYER) or Data Group (LAYERDG), it is not used when the chart is generated. Setting it at the Data Set Template (LAYERDGD) level works.
  • The .TEXT SET BX EDGE CLR routine does not change the color of a legend box edge. If you use .TEXT SET BX BG CLR to TRANSPARENT makes the edge transparent as well.
  • Various families of routines (like .XY SET LINE CLR, .XY SET LINE CLR:LR, etc) are supposed to set some attribute at the layer, data group, data template or data point level, based on a built in hierarchy. However, the edits prevent the routine from running unless all of those are present. This is wrong, so long as one of them is present, the routine should run & set it.
Line: 109 to 109
 
    • B19. MULTI-STACKED BAR CHART
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
      • Unable to make edges of data segments transparent
Changed:
<
<
      • chart is wrong, data is not charted correctly.
>
>
      • chart is wrong, data is not charted correctly. * Fixed * was adding data group for every data set and layer for every data group. Applied changes to other chart types.
 
    • B21. POSITIVE NEGATIVE BARS
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
      • Can't change the font style of the autogenerated Y axis labels

Revision 222011-12-23 - JeanNeron

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

Known Issues

Line: 35 to 35
 
  • Setting a width via .TEXT SET FONT SZ:W and then using the text box in .CHART SET TITLE does not work.
  • Setting a height via .TEXT SET FONT SZ:H and then using the text box in .CHART SET TITLE causes the height to be used for both height and width (the height is used as a paramter on the addTitle method).
  • .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.
Changed:
<
<
  • 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.
>
>
  • 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. * Fixed * - the routine was trying to fill missing margins from existing margins, now substitites -1 for missing margins.
 
  • When a shape is set at the Layer (XYLAYER) or Data Group (LAYERDG), it is not used when the chart is generated. Setting it at the Data Set Template (LAYERDGD) level works.
  • The .TEXT SET BX EDGE CLR routine does not change the color of a legend box edge. If you use .TEXT SET BX BG CLR to TRANSPARENT makes the edge transparent as well.
  • Various families of routines (like .XY SET LINE CLR, .XY SET LINE CLR:LR, etc) are supposed to set some attribute at the layer, data group, data template or data point level, based on a built in hierarchy. However, the edits prevent the routine from running unless all of those are present. This is wrong, so long as one of them is present, the routine should run & set it.

Revision 212011-12-22 - JeanNeron

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

Known Issues

Line: 11 to 11
 
    • Also check .CHART SET BG WALLPAPR, probably has the same problem.
    • * FIXED *, added API .CHART SET IMAGE PATH for user to specify path(s) for images, changed these routines to verify image file using the path.
  • The examples in 1CD have the path /var/www/html/ChartDirector/phpdemo hardcoded. This path can vary depending on Windows vs Linux installation. The examples should probably check the server type and use the appropriate default.
Changed:
<
<
  • The .CHART SET SHAPE AA seems to update the memory file, but unless you also call .CHART SET TXT AA MODE, nothing gets put in the php script. Even if you call .CHART SET TXT AA MODE, the parameter for shape AA is always true, even if you turned it off via .CHART SET SHAPE AA
>
>
  • The .CHART SET SHAPE AA seems to update the memory file, but unless you also call .CHART SET TXT AA MODE, nothing gets put in the php script. Even if you call .CHART SET TXT AA MODE, the parameter for shape AA is always true, even if you turned it off via .CHART SET SHAPE AA. * Fixed * - C.BASECHART was checking for Yes/No instead of On/Off (CHTSPEC BC SHAPE AA)
 
  • 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.
Changed:
<
<
  • 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. Fixed - was missing GOSUB :ESCAPE AND QUOTE TEXT in LEGENDBOX.SET.TEXT. Was also missing from other similar routines, added where necessary.
  • 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.
>
>
  • 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. * Fixed * - was missing GOSUB :ESCAPE AND QUOTE TEXT in LEGENDBOX.SET.TEXT. Was also missing from other similar routines, added where necessary.
  • Setting the vertical gap via .LEGEND SET KEY GAP:V doesn't work unless you also set the horizontal gap via .LEGEND SET KEY GAP:H. If the horizontal gap is not set, the php script doesn't include the setKeySpacing method, which controls both horizontal & vertical. * Fixed * - if either parameter is set, the setKeySpacing method will be called, defaulting horizontal spacing to -1 if necessary.
 
  • .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.
Line: 23 to 23
 
  • 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?
Changed:
<
<
  • Consider renaming .LAYER ADD DATASET to something that includes TEMPLATE, since the use of 'dataset' conflicts with the use of 'dataset' when adding data points. Also consider renaming .LAYER LINK DATASET to include the word TEMPLATE.
>
>
  • Consider renaming .LAYER ADD DATASET to something that includes TEMPLATE, since the use of 'dataset' conflicts with the use of 'dataset' when adding data points. Also consider renaming .LAYER LINK DATASET to include the word TEMPLATE. * Fixed* - added TM to end of process name. Changed work field name as well & did change all refs in 0CD/1CD.
 
  • .AXIS SET AXIS L has no effect on the length of the axis line.
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART," Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?) * Fixed * - changed to an OR.
  • Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity.

Revision 202011-12-22 - JeanNeron

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

Known Issues

Changed:
<
<
  • All samples should be tested on a Windows Server!! There is a definate Linux slant to everything, ie, some routines check to see if the first character of a file name is a / or \ to determine if it's a complete pathname or not. Under Windows, a complete path begins with a drive letter, not a / or \.
>
>
  • All examples should be tested on a Windows Server!! There is a definate Linux slant to some things, ie, some routines check to see if the first character of a file name is a / or \ to determine if it's a complete pathname or not. Under Windows, a complete path begins with a drive letter, not a / or \.
 
  • The Linear Meter chart type has a few problems:
    • The pointer files (PTR1/2) are not initialized when .CHART INITIALIZE is called, so each time you call .CHART RENDER, the previously defined pointers appear as well as the one(s) you intended for the current chart.
    • The PRT1/2 files are not linked to a particular CHTSPEC record, so if you are working with multiple charts of this type, when you render a chart the pointer(s) will appear on all charts, not just the current one.
Line: 25 to 25
 
  • 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?
  • Consider renaming .LAYER ADD DATASET to something that includes TEMPLATE, since the use of 'dataset' conflicts with the use of 'dataset' when adding data points. Also consider renaming .LAYER LINK DATASET to include the word TEMPLATE.
  • .AXIS SET AXIS L has no effect on the length of the axis line.
Changed:
<
<
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART," Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?)
    * Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity. * The .AXIS SET LBL OFFSET routine accepts Pixel or Scale as a second parameter, but the rendered chart always treats the offset as Scale. * Attempting to set the brightness via .COLOR SET BRIGHTNESS results in a php error: PHP Fatal error: Call to undefined function adjustBrightness() in <whatever file> on line <whatever line>. FWIW, adjustBrightness is documented in Chart Director.
  • Attempting to set the brightness via .COLOR SET HALF COLOR results in a php error: PHP Fatal error: Call to undefined function halfColor() in <whatever file> on line <whatever line>. FWIW halfColor is documented in Chart Director. * .COLOR SET DASH LINE accepts hex values with a prefix of '0x', '#' or nothing at all, but the chart will only be rendered if the prefix is '0x'. Either improve the edits, or convert the '#' or no prefix to a '0x' prefix before updating COLRSPEC.
  • .TEXT SET FONT SZ is supposed to accept a height & width, but only uses height to set font size in the addTitle method. * Setting a width via .TEXT SET FONT SZ:W and then using the text box in .CHART SET TITLE does not work.
>
>
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART," Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?) * Fixed * - changed to an OR.
  • Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity.
  • The .AXIS SET LBL OFFSET routine accepts Pixel or Scale as a second parameter, but the rendered chart always treats the offset as Scale. * Fixed * - Pixel is not supported, removed from Wiki and API. Changed offset to allow decimal values, same as .AXIS SET TICK OFFSET.
  • Attempting to set the brightness via .COLOR SET BRIGHTNESS results in a php error: PHP Fatal error: Call to undefined function adjustBrightness() in <whatever file> on line <whatever line>. FWIW, adjustBrightness is documented in Chart Director.
  • Attempting to set the brightness via .COLOR SET HALF COLOR results in a php error: PHP Fatal error: Call to undefined function halfColor() in <whatever file> on line <whatever line>. FWIW halfColor is documented in Chart Director.
  • .COLOR SET DASH LINE accepts hex values with a prefix of '0x', '#' or nothing at all, but the chart will only be rendered if the prefix is '0x'. Either improve the edits, or convert the '#' or no prefix to a '0x' prefix before updating COLRSPEC. * Fixed * - converts "#" and no prefix to CD format '0x'
  • .TEXT SET FONT SZ is supposed to accept a height & width, but only uses height to set font size in the addTitle method.
  • Setting a width via .TEXT SET FONT SZ:W and then using the text box in .CHART SET TITLE does not work.
 
  • Setting a height via .TEXT SET FONT SZ:H and then using the text box in .CHART SET TITLE causes the height to be used for both height and width (the height is used as a paramter on the addTitle method).
  • .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.
Line: 36 to 41
 
  • Various families of routines (like .XY SET LINE CLR, .XY SET LINE CLR:LR, etc) are supposed to set some attribute at the layer, data group, data template or data point level, based on a built in hierarchy. However, the edits prevent the routine from running unless all of those are present. This is wrong, so long as one of them is present, the routine should run & set it.
  • Sample Chart Issues:
    • P04. SIDE LABEL LAYOUT
Changed:
<
<
      • No glass affect for the sector labels * P05. CIRCULAR LABEL LAYOUT * No gradient background
>
>
      • No glass affect for the sector labels
    • P05. CIRCULAR LABEL LAYOUT
      • No gradient background
 
    • P07. PIE CHART WITH LEGEND (2)
      • no gradient background
    • P08. EXPLODED PIE CHART

Revision 192011-12-21 - JeanNeron

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

Known Issues

Added:
>
>
  • All samples should be tested on a Windows Server!! There is a definate Linux slant to everything, ie, some routines check to see if the first character of a file name is a / or \ to determine if it's a complete pathname or not. Under Windows, a complete path begins with a drive letter, not a / or \.
 
  • The Linear Meter chart type has a few problems:
    • The pointer files (PTR1/2) are not initialized when .CHART INITIALIZE is called, so each time you call .CHART RENDER, the previously defined pointers appear as well as the one(s) you intended for the current chart.
    • The PRT1/2 files are not linked to a particular CHTSPEC record, so if you are working with multiple charts of this type, when you render a chart the pointer(s) will appear on all charts, not just the current one.
Changed:
<
<
  • The .CHART SET BG IMAGE routine does not pick up images in the default image directory, only a full pathname works
    • It verifies the file exists only for a full pathname, should verify image directory as well
    • Also check .CHART SET BG WALLPAPR, probably has the same problem.
>
>
  • The .CHART SET BG IMAGE routine does not pick up images in the default image directory, only a full pathname works
    • It verifies the file exists only for a full pathname, should verify image directory as well
    • Also check .CHART SET BG WALLPAPR, probably has the same problem.
    • * FIXED *, added API .CHART SET IMAGE PATH for user to specify path(s) for images, changed these routines to verify image file using the path.
 
  • The examples in 1CD have the path /var/www/html/ChartDirector/phpdemo hardcoded. This path can vary depending on Windows vs Linux installation. The examples should probably check the server type and use the appropriate default.
  • The .CHART SET SHAPE AA seems to update the memory file, but unless you also call .CHART SET TXT AA MODE, nothing gets put in the php script. Even if you call .CHART SET TXT AA MODE, the parameter for shape AA is always true, even if you turned it off via .CHART SET SHAPE AA
  • 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.
Line: 23 to 25
 
  • 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?
  • Consider renaming .LAYER ADD DATASET to something that includes TEMPLATE, since the use of 'dataset' conflicts with the use of 'dataset' when adding data points. Also consider renaming .LAYER LINK DATASET to include the word TEMPLATE.
  • .AXIS SET AXIS L has no effect on the length of the axis line.
Changed:
<
<
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART," Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?)
    * Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity. * The .AXIS SET LBL OFFSET routine accepts Pixel or Scale as a second parameter, but the rendered chart always treats the offset as Scale. * Attempting to set the brightness via .COLOR SET BRIGHTNESS results in a php error: PHP Fatal error: Call to undefined function adjustBrightness() in <whatever file> on line <whatever line>. FWIW, adjustBrightness is documented in Chart Director.
>
>
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART," Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?)
    * Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity. * The .AXIS SET LBL OFFSET routine accepts Pixel or Scale as a second parameter, but the rendered chart always treats the offset as Scale. * Attempting to set the brightness via .COLOR SET BRIGHTNESS results in a php error: PHP Fatal error: Call to undefined function adjustBrightness() in <whatever file> on line <whatever line>. FWIW, adjustBrightness is documented in Chart Director.
 
  • Attempting to set the brightness via .COLOR SET HALF COLOR results in a php error: PHP Fatal error: Call to undefined function halfColor() in <whatever file> on line <whatever line>. FWIW halfColor is documented in Chart Director. * .COLOR SET DASH LINE accepts hex values with a prefix of '0x', '#' or nothing at all, but the chart will only be rendered if the prefix is '0x'. Either improve the edits, or convert the '#' or no prefix to a '0x' prefix before updating COLRSPEC.
  • .TEXT SET FONT SZ is supposed to accept a height & width, but only uses height to set font size in the addTitle method. * Setting a width via .TEXT SET FONT SZ:W and then using the text box in .CHART SET TITLE does not work.
  • Setting a height via .TEXT SET FONT SZ:H and then using the text box in .CHART SET TITLE causes the height to be used for both height and width (the height is used as a paramter on the addTitle method).

Revision 182011-12-21 - JeanNeron

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

Known Issues

Changed:
<
<
  • The Linear Meter chart type has a few problems:
    • The pointer files (PTR1/2) are not initialized when .CHART INITIALIZE is called, so each time you call .CHART RENDER, the previously defined pointers appear as well as the one(s) you intended for the current chart.
    • The PRT1/2 files are not linked to a particular CHTSPEC record, so if you are working with multiple charts of this type, when you render a chart the pointer(s) will appear on all charts, not just the current one.
  • The .CHART SET BG IMAGE routine does not pick up images in the default image directory, only a full pathname works
    • It verifies the file exists only for a full pathname, should verify image directory as well
    • Also check .CHART SET BG WALLPAPR, probably has the same problem.
  • The examples in 1CD have the path /var/www/html/ChartDirector/phpdemo hardcoded. This path can vary depending on Windows vs Linux installation. The examples should probably check the server type and use the appropriate default.
  • The .CHART SET SHAPE AA seems to update the memory file, but unless you also call .CHART SET TXT AA MODE, nothing gets put in the php script. Even if you call .CHART SET TXT AA MODE, the parameter for shape AA is always true, even if you turned it off via .CHART SET SHAPE AA
  • 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.
  • .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?
  • Consider renaming .LAYER ADD DATASET to something that includes TEMPLATE, since the use of 'dataset' conflicts with the use of 'dataset' when adding data points. Also consider renaming .LAYER LINK DATASET to include the word TEMPLATE.
  • .AXIS SET AXIS L has no effect on the length of the axis line.
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART,"* Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?)
  • Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity.
  • The .AXIS SET LBL OFFSET routine accepts Pixel or Scale as a second parameter, but the rendered chart always treats the offset as Scale.
  • Attempting to set the brightness via .COLOR SET BRIGHTNESS results in a php error: PHP Fatal error: Call to undefined function adjustBrightness() in <whatever file> on line <whatever line>. FWIW, adjustBrightness is documented in Chart Director.
  • Attempting to set the brightness via .COLOR SET HALF COLOR results in a php error: PHP Fatal error: Call to undefined function halfColor() in <whatever file> on line <whatever line>. FWIW halfColor is documented in Chart Director.
  • .COLOR SET DASH LINE accepts hex values with a prefix of '0x', '#' or nothing at all, but the chart will only be rendered if the prefix is '0x'. Either improve the edits, or convert the '#' or no prefix to a '0x' prefix before updating COLRSPEC.
  • .TEXT SET FONT SZ is supposed to accept a height & width, but only uses height to set font size in the addTitle method.
  • Setting a width via .TEXT SET FONT SZ:W and then using the text box in .CHART SET TITLE does not work.
  • Setting a height via .TEXT SET FONT SZ:H and then using the text box in .CHART SET TITLE causes the height to be used for both height and width (the height is used as a paramter on the addTitle method).
  • .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.
  • When a shape is set at the Layer (XYLAYER) or Data Group (LAYERDG), it is not used when the chart is generated. Setting it at the Data Set Template (LAYERDGD) level works.
  • The .TEXT SET BX EDGE CLR routine does not change the color of a legend box edge. If you use .TEXT SET BX BG CLR to TRANSPARENT makes the edge transparent as well.
  • Various families of routines (like .XY SET LINE CLR, .XY SET LINE CLR:LR, etc) are supposed to set some attribute at the layer, data group, data template or data point level, based on a built in hierarchy. However, the edits prevent the routine from running unless all of those are present. This is wrong, so long as one of them is present, the routine should run & set it.
  • Sample Chart Issues:
    • P04. SIDE LABEL LAYOUT
      • No glass affect for the sector labels
    • P05. CIRCULAR LABEL LAYOUT
      • No gradient background
    • P07. PIE CHART WITH LEGEND (2)
      • no gradient background
    • P08. EXPLODED PIE CHART
      • No Gradient background
      • No gradient sector labels
    • P09. ICON PIE CHART (1)
      • No glass shading on title
    • P10. ICON PIE CHART (2)
      • no logo in bottom right corner
      • No glass shading on title
    • P12. DONUT CHART
      • no separator line under title (addLine property)
      • no borders around sector labels
    • P13. 3D DONUT CHART
      • no separator line under title (addLine property)
      • no gradient background
      • no gradient background on sector labels
    • P15. TEXTURE DONUT CHART
      • no textures (pattern not passed to .PIE SET SECT BG CLR?)
    • P21. TEXT STYLES AND COLORS
      • No texture on chart title
    • P16. CONCENTRIC DONUT CHART
      • No example, no support for merge method.
    • B02. MULTI-COLOR BAR CHART
      • Unable to set 3D border effects for the bars.
    • B03. SOFT BAR SHADING
      • Unable to set gradient background
      • Unable to set soft lighting effect of the bars
      • Unable to set font attributes of system generated Y-axis labels.
    • B04. GLASS BAR SHADING
      • No Glass shading effect for the bars.
      • Can't change the font style of the autogenerated Y axis labels
    • B05. GRADIENT BAR SHADING
      • Can't draw a line under the title
      • No gradient background
      • No gradient on the bars
      • Can't change the color of the autogenerated Y axis labels
      • Can't call packPlotArea method
    • B06. CYLINDER BAR SHADING
      • Can't change the font style of the autogenerated Y axis labels
    • B10. Stacked Bar Chart
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
    • B11. PERCENTAGE BAR CHART
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
      • Unable to make edges of data segments transparent
      • Unable to have gradient background
      • Unable to use soft lighting effect on data segments.
      • Can't call packPlotArea method
    • B13. SOFT MULTI BAR CHART
      • Unable to have gradient background
      • Unable to use soft lighting effect on data segments.
      • Can't change the font style of the autogenerated Y axis labels
    • B14. GLASS MULTI BAR CHART
      • Unable to have gradient background
      • Unable to use glass lighting effect on data segments.
      • Can't change the font style of the autogenerated Y axis labels
    • B15. GRADIENT MULTI BAR CHART
      • Unable to have gradient background
      • Unable to use gradient effect on data segments.
      • Can't change the font style of the autogenerated Y axis labels
    • B16. MULTI-CYLINDER CHART
      • Unable to assign cylinder shape at layer or group level, have to assign at data template level.
    • B19. MULTI-STACKED BAR CHART
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
      • Unable to make edges of data segments transparent
      • chart is wrong, data is not charted correctly.
    • B21. POSITIVE NEGATIVE BARS
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
      • Can't change the font style of the autogenerated Y axis labels
      • Unable to set zone colors
    • B22. BORDERLESS BAR CHART
      • No Gradient colors for bars
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
    • B23. DUAL HORIZONTAL BAR CHART
      • No example, no support for addChart method.
    • B24. BARS WITH MARKS
      • No API for packPlotArea
      • No API for text box alignment (setAlignment method)
      • No softlighting effect
      • No API for adding box whisker layer
    • B25. PARETO CHART
      • Can't call packPlotArea method
      • Can't bind the line layer to the secondary (right) y-axis using $lineLayer->setUseYAxis2();
      • Can't set size of circle shape on Pareto line
      • Chart is incorrect, adds extra bar layer of pareto data, covering up intended bar layer
      • No soft lighting for bars
      • Unable to set Y-axis scale (primary or secondary)
      • Unable to sync Y axis scale
    • B26. VARIABLE WIDTH BAR CHART
      • No gradient background.
      • chart is wrong because we can't call setXData method
>
>
  • The Linear Meter chart type has a few problems:
    • The pointer files (PTR1/2) are not initialized when .CHART INITIALIZE is called, so each time you call .CHART RENDER, the previously defined pointers appear as well as the one(s) you intended for the current chart.
    • The PRT1/2 files are not linked to a particular CHTSPEC record, so if you are working with multiple charts of this type, when you render a chart the pointer(s) will appear on all charts, not just the current one.
  • The .CHART SET BG IMAGE routine does not pick up images in the default image directory, only a full pathname works
    • It verifies the file exists only for a full pathname, should verify image directory as well
    • Also check .CHART SET BG WALLPAPR, probably has the same problem.
  • The examples in 1CD have the path /var/www/html/ChartDirector/phpdemo hardcoded. This path can vary depending on Windows vs Linux installation. The examples should probably check the server type and use the appropriate default.
  • The .CHART SET SHAPE AA seems to update the memory file, but unless you also call .CHART SET TXT AA MODE, nothing gets put in the php script. Even if you call .CHART SET TXT AA MODE, the parameter for shape AA is always true, even if you turned it off via .CHART SET SHAPE AA
  • 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. Fixed - was missing GOSUB :ESCAPE AND QUOTE TEXT in LEGENDBOX.SET.TEXT. Was also missing from other similar routines, added where necessary.
  • 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.
  • .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?
  • Consider renaming .LAYER ADD DATASET to something that includes TEMPLATE, since the use of 'dataset' conflicts with the use of 'dataset' when adding data points. Also consider renaming .LAYER LINK DATASET to include the word TEMPLATE.
  • .AXIS SET AXIS L has no effect on the length of the axis line.
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART," Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?)
    * Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity. * The .AXIS SET LBL OFFSET routine accepts Pixel or Scale as a second parameter, but the rendered chart always treats the offset as Scale. * Attempting to set the brightness via .COLOR SET BRIGHTNESS results in a php error: PHP Fatal error: Call to undefined function adjustBrightness() in <whatever file> on line <whatever line>. FWIW, adjustBrightness is documented in Chart Director.
  • Attempting to set the brightness via .COLOR SET HALF COLOR results in a php error: PHP Fatal error: Call to undefined function halfColor() in <whatever file> on line <whatever line>. FWIW halfColor is documented in Chart Director. * .COLOR SET DASH LINE accepts hex values with a prefix of '0x', '#' or nothing at all, but the chart will only be rendered if the prefix is '0x'. Either improve the edits, or convert the '#' or no prefix to a '0x' prefix before updating COLRSPEC.
  • .TEXT SET FONT SZ is supposed to accept a height & width, but only uses height to set font size in the addTitle method. * Setting a width via .TEXT SET FONT SZ:W and then using the text box in .CHART SET TITLE does not work.
  • Setting a height via .TEXT SET FONT SZ:H and then using the text box in .CHART SET TITLE causes the height to be used for both height and width (the height is used as a paramter on the addTitle method).
  • .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.
  • When a shape is set at the Layer (XYLAYER) or Data Group (LAYERDG), it is not used when the chart is generated. Setting it at the Data Set Template (LAYERDGD) level works.
  • The .TEXT SET BX EDGE CLR routine does not change the color of a legend box edge. If you use .TEXT SET BX BG CLR to TRANSPARENT makes the edge transparent as well.
  • Various families of routines (like .XY SET LINE CLR, .XY SET LINE CLR:LR, etc) are supposed to set some attribute at the layer, data group, data template or data point level, based on a built in hierarchy. However, the edits prevent the routine from running unless all of those are present. This is wrong, so long as one of them is present, the routine should run & set it.
  • Sample Chart Issues:
    • P04. SIDE LABEL LAYOUT
      • No glass affect for the sector labels * P05. CIRCULAR LABEL LAYOUT * No gradient background
    • P07. PIE CHART WITH LEGEND (2)
      • no gradient background
    • P08. EXPLODED PIE CHART
      • No Gradient background
      • No gradient sector labels
    • P09. ICON PIE CHART (1)
      • No glass shading on title
    • P10. ICON PIE CHART (2)
      • no logo in bottom right corner
      • No glass shading on title
    • P12. DONUT CHART
      • no separator line under title (addLine property)
      • no borders around sector labels
    • P13. 3D DONUT CHART
      • no separator line under title (addLine property)
      • no gradient background
      • no gradient background on sector labels
    • P15. TEXTURE DONUT CHART
      • no textures (pattern not passed to .PIE SET SECT BG CLR?)
    • P21. TEXT STYLES AND COLORS
      • No texture on chart title
    • P16. CONCENTRIC DONUT CHART
      • No example, no support for merge method.
    • B02. MULTI-COLOR BAR CHART
      • Unable to set 3D border effects for the bars.
    • B03. SOFT BAR SHADING
      • Unable to set gradient background
      • Unable to set soft lighting effect of the bars
      • Unable to set font attributes of system generated Y-axis labels.
    • B04. GLASS BAR SHADING
      • No Glass shading effect for the bars.
      • Can't change the font style of the autogenerated Y axis labels
    • B05. GRADIENT BAR SHADING
      • Can't draw a line under the title
      • No gradient background
      • No gradient on the bars
      • Can't change the color of the autogenerated Y axis labels
      • Can't call packPlotArea method
    • B06. CYLINDER BAR SHADING
      • Can't change the font style of the autogenerated Y axis labels
    • B10. Stacked Bar Chart
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
    • B11. PERCENTAGE BAR CHART
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
      • Unable to make edges of data segments transparent
      • Unable to have gradient background
      • Unable to use soft lighting effect on data segments.
      • Can't call packPlotArea method
    • B13. SOFT MULTI BAR CHART
      • Unable to have gradient background
      • Unable to use soft lighting effect on data segments.
      • Can't change the font style of the autogenerated Y axis labels
    • B14. GLASS MULTI BAR CHART
      • Unable to have gradient background
      • Unable to use glass lighting effect on data segments.
      • Can't change the font style of the autogenerated Y axis labels
    • B15. GRADIENT MULTI BAR CHART
      • Unable to have gradient background
      • Unable to use gradient effect on data segments.
      • Can't change the font style of the autogenerated Y axis labels
    • B16. MULTI-CYLINDER CHART
      • Unable to assign cylinder shape at layer or group level, have to assign at data template level.
    • B19. MULTI-STACKED BAR CHART
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
      • Unable to make edges of data segments transparent
      • *chart is wrong, data is not charted correctly.*
    • B21. POSITIVE NEGATIVE BARS
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
      • Can't change the font style of the autogenerated Y axis labels
      • Unable to set zone colors
    • B22. BORDERLESS BAR CHART
      • No Gradient colors for bars
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
    • B23. DUAL HORIZONTAL BAR CHART
      • No example, no support for addChart method.
    • B24. BARS WITH MARKS
      • No API for packPlotArea
      • No API for text box alignment (setAlignment method)
      • No softlighting effect
      • No API for adding box whisker layer
    • B25. PARETO CHART
      • Can't call packPlotArea method
      • Can't bind the line layer to the secondary (right) y-axis using $lineLayer->setUseYAxis2();
      • Can't set size of circle shape on Pareto line
      • *Chart is incorrect*, adds extra bar layer of pareto data, covering up intended bar layer
      • No soft lighting for bars
      • Unable to set Y-axis scale (primary or secondary)
      • Unable to sync Y axis scale
    • B26. VARIABLE WIDTH BAR CHART
      • No gradient background.
      • chart is wrong because we can't call setXData method
 

Comments:

Read what other users have said about this page or add your own comments.

Revision 172011-12-20 - JeanNeron

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

Known Issues

Line: 38 to 38
 
  • The .TEXT SET BX EDGE CLR routine does not change the color of a legend box edge. If you use .TEXT SET BX BG CLR to TRANSPARENT makes the edge transparent as well.
  • Various families of routines (like .XY SET LINE CLR, .XY SET LINE CLR:LR, etc) are supposed to set some attribute at the layer, data group, data template or data point level, based on a built in hierarchy. However, the edits prevent the routine from running unless all of those are present. This is wrong, so long as one of them is present, the routine should run & set it.
  • Sample Chart Issues:
Added:
>
>
    • P04. SIDE LABEL LAYOUT
      • No glass affect for the sector labels
 
    • P05. CIRCULAR LABEL LAYOUT
      • No gradient background
Changed:
<
<
    • P07. PIE CHART WITH LEGEND (2) (and others)
>
>
    • P07. PIE CHART WITH LEGEND (2)
 
      • no gradient background
Changed:
<
<
    • P09. ICON PIE CHART (2)
>
>
    • P08. EXPLODED PIE CHART
      • No Gradient background
      • No gradient sector labels
    • P09. ICON PIE CHART (1)
      • No glass shading on title
    • P10. ICON PIE CHART (2)
 
      • no logo in bottom right corner
Added:
>
>
      • No glass shading on title
    • P12. DONUT CHART
      • no separator line under title (addLine property)
      • no borders around sector labels
 
    • P13. 3D DONUT CHART
      • no separator line under title (addLine property)
Added:
>
>
      • no gradient background
      • no gradient background on sector labels
 
    • P15. TEXTURE DONUT CHART
      • no textures (pattern not passed to .PIE SET SECT BG CLR?)
Added:
>
>
    • P21. TEXT STYLES AND COLORS
      • No texture on chart title
 
    • P16. CONCENTRIC DONUT CHART
      • No example, no support for merge method.
    • B02. MULTI-COLOR BAR CHART
Changed:
<
<
      • Unable to set 3D border effects for the bars, there's no API for it.
>
>
      • Unable to set 3D border effects for the bars.
 
    • B03. SOFT BAR SHADING
      • Unable to set gradient background
      • Unable to set soft lighting effect of the bars
Line: 114 to 129
 
      • Chart is incorrect, adds extra bar layer of pareto data, covering up intended bar layer
      • No soft lighting for bars
      • Unable to set Y-axis scale (primary or secondary)
Changed:
<
<
      • Unabel to sync Y axis scale
>
>
      • Unable to sync Y axis scale
    • B26. VARIABLE WIDTH BAR CHART
      • No gradient background.
      • chart is wrong because we can't call setXData method
 

Comments:

Read what other users have said about this page or add your own comments.

Revision 162011-12-19 - JeanNeron

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

Known Issues

Line: 36 to 36
 
  • 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.
  • When a shape is set at the Layer (XYLAYER) or Data Group (LAYERDG), it is not used when the chart is generated. Setting it at the Data Set Template (LAYERDGD) level works.
  • The .TEXT SET BX EDGE CLR routine does not change the color of a legend box edge. If you use .TEXT SET BX BG CLR to TRANSPARENT makes the edge transparent as well.
Added:
>
>
  • Various families of routines (like .XY SET LINE CLR, .XY SET LINE CLR:LR, etc) are supposed to set some attribute at the layer, data group, data template or data point level, based on a built in hierarchy. However, the edits prevent the routine from running unless all of those are present. This is wrong, so long as one of them is present, the routine should run & set it.
 
  • Sample Chart Issues:
    • P05. CIRCULAR LABEL LAYOUT
      • No gradient background
    • P07. PIE CHART WITH LEGEND (2) (and others)
      • no gradient background
Deleted:
<
<
      • 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
Line: 93 to 92
 
    • B19. MULTI-STACKED BAR CHART
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
      • Unable to make edges of data segments transparent
Changed:
<
<
      • chart is wrong, data is not charted correctly.
>
>
      • chart is wrong, data is not charted correctly.
 
    • B21. POSITIVE NEGATIVE BARS
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
      • Can't change the font style of the autogenerated Y axis labels
Line: 108 to 107
 
      • No API for text box alignment (setAlignment method)
      • No softlighting effect
      • No API for adding box whisker layer
Added:
>
>
    • B25. PARETO CHART
      • Can't call packPlotArea method
      • Can't bind the line layer to the secondary (right) y-axis using $lineLayer->setUseYAxis2();
      • Can't set size of circle shape on Pareto line
      • Chart is incorrect, adds extra bar layer of pareto data, covering up intended bar layer
      • No soft lighting for bars
      • Unable to set Y-axis scale (primary or secondary)
      • Unabel to sync Y axis scale
 

Comments:

Read what other users have said about this page or add your own comments.

Revision 152011-12-16 - JeanNeron

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

Known Issues

Line: 103 to 103
 
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
    • B23. DUAL HORIZONTAL BAR CHART
      • No example, no support for addChart method.
Added:
>
>
    • B24. BARS WITH MARKS
      • No API for packPlotArea
      • No API for text box alignment (setAlignment method)
      • No softlighting effect
      • No API for adding box whisker layer
 

Comments:

Read what other users have said about this page or add your own comments.

Revision 142011-12-16 - JeanNeron

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

Known Issues

Line: 49 to 49
 
      • no separator line under title (addLine property)
    • P15. TEXTURE DONUT CHART
      • no textures (pattern not passed to .PIE SET SECT BG CLR?)
Added:
>
>
    • P16. CONCENTRIC DONUT CHART
      • No example, no support for merge method.
 
    • B02. MULTI-COLOR BAR CHART
      • Unable to set 3D border effects for the bars, there's no API for it.
    • B03. SOFT BAR SHADING
Line: 91 to 93
 
    • B19. MULTI-STACKED BAR CHART
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
      • Unable to make edges of data segments transparent
Added:
>
>
      • chart is wrong, data is not charted correctly.
 
    • B21. POSITIVE NEGATIVE BARS
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
      • Can't change the font style of the autogenerated Y axis labels
Line: 98 to 101
 
    • B22. BORDERLESS BAR CHART
      • No Gradient colors for bars
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
Added:
>
>
    • B23. DUAL HORIZONTAL BAR CHART
      • No example, no support for addChart method.
 

Comments:

Read what other users have said about this page or add your own comments.

Revision 132011-12-15 - JeanNeron

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

Known Issues

Line: 37 to 37
 
  • When a shape is set at the Layer (XYLAYER) or Data Group (LAYERDG), it is not used when the chart is generated. Setting it at the Data Set Template (LAYERDGD) level works.
  • The .TEXT SET BX EDGE CLR routine does not change the color of a legend box edge. If you use .TEXT SET BX BG CLR to TRANSPARENT makes the edge transparent as well.
  • Sample Chart Issues:
Added:
>
>
    • P05. CIRCULAR LABEL LAYOUT
      • No gradient background
 
    • P07. PIE CHART WITH LEGEND (2) (and others)
      • no gradient background
Added:
>
>
 
      • 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)
Changed:
<
<
    • P14. TEXTURE DONUT CHART
>
>
    • P15. 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.

Revision 122011-12-14 - JeanNeron

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

Known Issues

Line: 60 to 60
 
      • No gradient background
      • No gradient on the bars
      • Can't change the color of the autogenerated Y axis labels
Added:
>
>
      • Can't call packPlotArea method
 
    • B06. CYLINDER BAR SHADING
      • Can't change the font style of the autogenerated Y axis labels
    • B10. Stacked Bar Chart
Line: 69 to 70
 
      • Unable to make edges of data segments transparent
      • Unable to have gradient background
      • Unable to use soft lighting effect on data segments.
Added:
>
>
      • Can't call packPlotArea method
 
    • B13. SOFT MULTI BAR CHART
      • Unable to have gradient background
      • Unable to use soft lighting effect on data segments.
Line: 84 to 86
 
    • B16. MULTI-CYLINDER CHART
      • Unable to assign cylinder shape at layer or group level, have to assign at data template level.
    • B19. MULTI-STACKED BAR CHART
Deleted:
<
<
 
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
      • Unable to make edges of data segments transparent
Added:
>
>
    • B21. POSITIVE NEGATIVE BARS
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
      • Can't change the font style of the autogenerated Y axis labels
      • Unable to set zone colors
    • B22. BORDERLESS BAR CHART
      • No Gradient colors for bars
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
 

Comments:

Read what other users have said about this page or add your own comments.

Revision 112011-12-13 - JeanNeron

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

Known Issues

Line: 83 to 83
 
      • Can't change the font style of the autogenerated Y axis labels
    • B16. MULTI-CYLINDER CHART
      • Unable to assign cylinder shape at layer or group level, have to assign at data template level.
Changed:
<
<
      • Unable to specify dotted grid lines
>
>
    • B19. MULTI-STACKED BAR CHART
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
      • Unable to make edges of data segments transparent
 

Comments:

Read what other users have said about this page or add your own comments.

Revision 102011-12-12 - JeanNeron

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

Known Issues

Line: 54 to 54
 
      • Unable to set font attributes of system generated Y-axis labels.
    • B04. GLASS BAR SHADING
      • No Glass shading effect for the bars.
Deleted:
<
<
      • Unable to get Y axis labels on left & right. There is a sub XYCHART.SYNC.Y.AXIS that looks like it calls the right method, but nothing uses this subroutine
 
      • Can't change the font style of the autogenerated Y axis labels
    • B05. GRADIENT BAR SHADING
      • Can't draw a line under the title
Line: 62 to 61
 
      • No gradient on the bars
      • Can't change the color of the autogenerated Y axis labels
    • B06. CYLINDER BAR SHADING
Deleted:
<
<
      • Unable to get Y axis labels on left & right. There is a sub XYCHART.SYNC.Y.AXIS that looks like it calls the right method, but nothing uses this subroutine
 
      • Can't change the font style of the autogenerated Y axis labels
    • B10. Stacked Bar Chart
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).

Revision 92011-12-12 - JeanNeron

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

Known Issues

Line: 57 to 57
 
      • Unable to get Y axis labels on left & right. There is a sub XYCHART.SYNC.Y.AXIS that looks like it calls the right method, but nothing uses this subroutine
      • Can't change the font style of the autogenerated Y axis labels
    • B05. GRADIENT BAR SHADING
Deleted:
<
<
      • Can't rotate the X & Y axis
 
      • Can't draw a line under the title
      • No gradient background
      • No gradient on the bars

Revision 82011-12-09 - JeanNeron

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

Known Issues

Line: 36 to 36
 
  • 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.
  • When a shape is set at the Layer (XYLAYER) or Data Group (LAYERDG), it is not used when the chart is generated. Setting it at the Data Set Template (LAYERDGD) level works.
  • The .TEXT SET BX EDGE CLR routine does not change the color of a legend box edge. If you use .TEXT SET BX BG CLR to TRANSPARENT makes the edge transparent as well.
Deleted:
<
<
  • The .LEGEND SET KEY LAYOUT does not change the layout of the legend. Try setting it to COLUMNAR with 3 columns (.LEGEND SET KEY COLS). It calls the addLegend method with the no of cols where it should have a true or false value (or it should use addLegend2?).
 
  • Sample Chart Issues:
    • P07. PIE CHART WITH LEGEND (2) (and others)
      • no gradient background
Line: 73 to 72
 
      • Unable to make edges of data segments transparent
      • Unable to have gradient background
      • Unable to use soft lighting effect on data segments.
Deleted:
<
<
    • B12. MULTI BAR CHART
      • Unable to get horizontal legend (api's exist, don't work, see .LEGEND SET KEY LAYOUT above).
 
    • B13. SOFT MULTI BAR CHART
Deleted:
<
<
      • Unable to get horizontal legend (api's exist, don't work, see .LEGEND SET KEY LAYOUT above).
 
      • Unable to have gradient background
      • Unable to use soft lighting effect on data segments.
      • Can't change the font style of the autogenerated Y axis labels
    • B14. GLASS MULTI BAR CHART
Deleted:
<
<
      • Unable to get horizontal legend (api's exist, don't work, see .LEGEND SET KEY LAYOUT above).
 
      • Unable to have gradient background
      • Unable to use glass lighting effect on data segments.
      • Can't change the font style of the autogenerated Y axis labels
    • B15. GRADIENT MULTI BAR CHART
Deleted:
<
<
      • Unable to get horizontal legend (api's exist, don't work, see .LEGEND SET KEY LAYOUT above).
 
      • Unable to have gradient background
      • Unable to use gradient effect on data segments.
      • Can't change the font style of the autogenerated Y axis labels
    • B16. MULTI-CYLINDER CHART
      • Unable to assign cylinder shape at layer or group level, have to assign at data template level.
Deleted:
<
<
      • Cylinder shape only applied to first data set template.
 
      • Unable to specify dotted grid lines

Comments:

Revision 72011-12-09 - JeanNeron

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

Known Issues

Line: 92 to 92
 
      • Can't change the font style of the autogenerated Y axis labels
    • B16. MULTI-CYLINDER CHART
      • Unable to assign cylinder shape at layer or group level, have to assign at data template level.
Added:
>
>
      • Cylinder shape only applied to first data set template.
      • Unable to specify dotted grid lines
 

Comments:

Read what other users have said about this page or add your own comments.

Revision 62011-12-08 - JeanNeron

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

Known Issues

Line: 75 to 75
 
      • Unable to use soft lighting effect on data segments.
    • B12. MULTI BAR CHART
      • Unable to get horizontal legend (api's exist, don't work, see .LEGEND SET KEY LAYOUT above).
Added:
>
>
    • B13. SOFT MULTI BAR CHART
      • Unable to get horizontal legend (api's exist, don't work, see .LEGEND SET KEY LAYOUT above).
      • Unable to have gradient background
      • Unable to use soft lighting effect on data segments.
      • Can't change the font style of the autogenerated Y axis labels
    • B14. GLASS MULTI BAR CHART
      • Unable to get horizontal legend (api's exist, don't work, see .LEGEND SET KEY LAYOUT above).
      • Unable to have gradient background
      • Unable to use glass lighting effect on data segments.
      • Can't change the font style of the autogenerated Y axis labels
    • B15. GRADIENT MULTI BAR CHART
      • Unable to get horizontal legend (api's exist, don't work, see .LEGEND SET KEY LAYOUT above).
      • Unable to have gradient background
      • Unable to use gradient effect on data segments.
      • Can't change the font style of the autogenerated Y axis labels
    • B16. MULTI-CYLINDER CHART
      • Unable to assign cylinder shape at layer or group level, have to assign at data template level.
 

Comments:

Read what other users have said about this page or add your own comments.

Revision 52011-12-07 - JeanNeron

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

Known Issues

Line: 35 to 35
 
  • .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.
  • When a shape is set at the Layer (XYLAYER) or Data Group (LAYERDG), it is not used when the chart is generated. Setting it at the Data Set Template (LAYERDGD) level works.
Changed:
<
<
  • The .TEXT SET BX EDGE CLR routine does not change the color of a legend box.
>
>
  • The .TEXT SET BX EDGE CLR routine does not change the color of a legend box edge. If you use .TEXT SET BX BG CLR to TRANSPARENT makes the edge transparent as well.
  • The .LEGEND SET KEY LAYOUT does not change the layout of the legend. Try setting it to COLUMNAR with 3 columns (.LEGEND SET KEY COLS). It calls the addLegend method with the no of cols where it should have a true or false value (or it should use addLegend2?).
 
  • Sample Chart Issues:
    • P07. PIE CHART WITH LEGEND (2) (and others)
      • no gradient background
Line: 72 to 73
 
      • Unable to make edges of data segments transparent
      • Unable to have gradient background
      • Unable to use soft lighting effect on data segments.
Added:
>
>
    • B12. MULTI BAR CHART
      • Unable to get horizontal legend (api's exist, don't work, see .LEGEND SET KEY LAYOUT above).
 

Comments:

Read what other users have said about this page or add your own comments.

Revision 42011-12-07 - JeanNeron

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

Known Issues

Line: 35 to 35
 
  • .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.
  • When a shape is set at the Layer (XYLAYER) or Data Group (LAYERDG), it is not used when the chart is generated. Setting it at the Data Set Template (LAYERDGD) level works.
Added:
>
>
  • The .TEXT SET BX EDGE CLR routine does not change the color of a legend box.
 
  • Sample Chart Issues:
    • P07. PIE CHART WITH LEGEND (2) (and others)
      • no gradient background
Line: 66 to 67
 
      • Can't change the font style of the autogenerated Y axis labels
    • B10. Stacked Bar Chart
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
Added:
>
>
    • B11. PERCENTAGE BAR CHART
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
      • Unable to make edges of data segments transparent
      • Unable to have gradient background
      • Unable to use soft lighting effect on data segments.
 

Comments:

Read what other users have said about this page or add your own comments.

Revision 32011-12-07 - JeanNeron

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

Known Issues

Line: 25 to 25
 
  • .AXIS SET AXIS L has no effect on the length of the axis line.
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART,"* Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?)
  • Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity.
Deleted:
<
<
  • The .AXIS SET LBL ROTATION subroutine has no affect. The memory file is updated, but the chart rendering does not use the values.
 
  • The .AXIS SET LBL OFFSET routine accepts Pixel or Scale as a second parameter, but the rendered chart always treats the offset as Scale.
  • Attempting to set the brightness via .COLOR SET BRIGHTNESS results in a php error: PHP Fatal error: Call to undefined function adjustBrightness() in <whatever file> on line <whatever line>. FWIW, adjustBrightness is documented in Chart Director.
  • Attempting to set the brightness via .COLOR SET HALF COLOR results in a php error: PHP Fatal error: Call to undefined function halfColor() in <whatever file> on line <whatever line>. FWIW halfColor is documented in Chart Director.
Line: 65 to 64
 
    • B06. CYLINDER BAR SHADING
      • Unable to get Y axis labels on left & right. There is a sub XYCHART.SYNC.Y.AXIS that looks like it calls the right method, but nothing uses this subroutine
      • Can't change the font style of the autogenerated Y axis labels
Added:
>
>
    • B10. Stacked Bar Chart
      • Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).
 

Comments:

Read what other users have said about this page or add your own comments.

Revision 22011-12-05 - JeanNeron

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

Known Issues

Line: 35 to 35
 
  • Setting a height via .TEXT SET FONT SZ:H and then using the text box in .CHART SET TITLE causes the height to be used for both height and width (the height is used as a paramter on the addTitle method).
  • .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.
Added:
>
>
  • When a shape is set at the Layer (XYLAYER) or Data Group (LAYERDG), it is not used when the chart is generated. Setting it at the Data Set Template (LAYERDGD) level works.
 
  • Sample Chart Issues:
    • P07. PIE CHART WITH LEGEND (2) (and others)
      • no gradient background
Line: 54 to 55
 
    • B04. GLASS BAR SHADING
      • No Glass shading effect for the bars.
      • Unable to get Y axis labels on left & right. There is a sub XYCHART.SYNC.Y.AXIS that looks like it calls the right method, but nothing uses this subroutine
Added:
>
>
      • Can't change the font style of the autogenerated Y axis labels
 
    • B05. GRADIENT BAR SHADING
      • Can't rotate the X & Y axis
      • Can't draw a line under the title
      • No gradient background
      • No gradient on the bars
      • Can't change the color of the autogenerated Y axis labels
Added:
>
>
    • B06. CYLINDER BAR SHADING
      • Unable to get Y axis labels on left & right. There is a sub XYCHART.SYNC.Y.AXIS that looks like it calls the right method, but nothing uses this subroutine
      • Can't change the font style of the autogenerated Y axis labels
 

Comments:

Read what other users have said about this page or add your own comments.

Revision 12011-12-05 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="CDChartDirectorDesignerAPI"

Known Issues

  • The Linear Meter chart type has a few problems:
    • The pointer files (PTR1/2) are not initialized when .CHART INITIALIZE is called, so each time you call .CHART RENDER, the previously defined pointers appear as well as the one(s) you intended for the current chart.
    • The PRT1/2 files are not linked to a particular CHTSPEC record, so if you are working with multiple charts of this type, when you render a chart the pointer(s) will appear on all charts, not just the current one.
  • The .CHART SET BG IMAGE routine does not pick up images in the default image directory, only a full pathname works
    • It verifies the file exists only for a full pathname, should verify image directory as well
    • Also check .CHART SET BG WALLPAPR, probably has the same problem.
  • The examples in 1CD have the path /var/www/html/ChartDirector/phpdemo hardcoded. This path can vary depending on Windows vs Linux installation. The examples should probably check the server type and use the appropriate default.
  • The .CHART SET SHAPE AA seems to update the memory file, but unless you also call .CHART SET TXT AA MODE, nothing gets put in the php script. Even if you call .CHART SET TXT AA MODE, the parameter for shape AA is always true, even if you turned it off via .CHART SET SHAPE AA
  • 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.
  • .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?
  • Consider renaming .LAYER ADD DATASET to something that includes TEMPLATE, since the use of 'dataset' conflicts with the use of 'dataset' when adding data points. Also consider renaming .LAYER LINK DATASET to include the word TEMPLATE.
  • .AXIS SET AXIS L has no effect on the length of the axis line.
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART,"* Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?)
  • Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity.
  • The .AXIS SET LBL ROTATION subroutine has no affect. The memory file is updated, but the chart rendering does not use the values.
  • The .AXIS SET LBL OFFSET routine accepts Pixel or Scale as a second parameter, but the rendered chart always treats the offset as Scale.
  • Attempting to set the brightness via .COLOR SET BRIGHTNESS results in a php error: PHP Fatal error: Call to undefined function adjustBrightness() in <whatever file> on line <whatever line>. FWIW, adjustBrightness is documented in Chart Director.
  • Attempting to set the brightness via .COLOR SET HALF COLOR results in a php error: PHP Fatal error: Call to undefined function halfColor() in <whatever file> on line <whatever line>. FWIW halfColor is documented in Chart Director.
  • .COLOR SET DASH LINE accepts hex values with a prefix of '0x', '#' or nothing at all, but the chart will only be rendered if the prefix is '0x'. Either improve the edits, or convert the '#' or no prefix to a '0x' prefix before updating COLRSPEC.
  • .TEXT SET FONT SZ is supposed to accept a height & width, but only uses height to set font size in the addTitle method.
  • Setting a width via .TEXT SET FONT SZ:W and then using the text box in .CHART SET TITLE does not work.
  • Setting a height via .TEXT SET FONT SZ:H and then using the text box in .CHART SET TITLE causes the height to be used for both height and width (the height is used as a paramter on the addTitle method).
  • .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:
    • P07. PIE CHART WITH LEGEND (2) (and others)
      • no gradient background
      • 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
      • Unable to set soft lighting effect of the bars
      • Unable to set font attributes of system generated Y-axis labels.
    • B04. GLASS BAR SHADING
      • No Glass shading effect for the bars.
      • Unable to get Y axis labels on left & right. There is a sub XYCHART.SYNC.Y.AXIS that looks like it calls the right method, but nothing uses this subroutine
    • B05. GRADIENT BAR SHADING
      • Can't rotate the X & Y axis
      • Can't draw a line under the title
      • No gradient background
      • No gradient on the bars
      • Can't change the color of the autogenerated Y axis labels

Comments:

Read what other users have said about this page or add your own comments.


<--/commentPlugin-->

-- JeanNeron - 2011-12-05

 
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