Difference: CDChartDirectorKnownIssues (19 vs. 20)

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
 
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