Difference: CDChartDirectorKnownIssues (26 vs. 27)

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