Difference: CDChartDirectorKnownIssues (30 vs. 31)

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