---+ Known Issues * %RED%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 \.%ENDCOLOR% * %RED%The Linear Meter chart type has a few problems:%ENDCOLOR% * %RED%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.%ENDCOLOR% * %RED%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.%ENDCOLOR% * %RED%%BLACK%The .CHART SET BG IMAGE routine does not pick up images in the default image directory, only a full pathname works%ENDCOLOR%%ENDCOLOR% * %RED%%BLACK%It verifies the file exists only for a full pathname, should verify image directory as well%ENDCOLOR%%ENDCOLOR% * %RED%%BLACK%Also check .CHART SET BG WALLPAPR, probably has the same problem.%ENDCOLOR%%ENDCOLOR% * * 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. * %RED%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.%ENDCOLOR% * %RED%%BLACK%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)%ENDCOLOR%%ENDCOLOR% * %RED%%BLACK%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.%ENDCOLOR%%ENDCOLOR% * 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. * %RED%%BLACK%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.%ENDCOLOR%%ENDCOLOR% * %RED%<span style="text-decoration: underline;"> </span><span style="color: #ff6347;" class="WYSIWYG_COLOR"><span style="color: #228b22;" class="WYSIWYG_COLOR"><span style="text-decoration: underline;">[[CDPieSetLabelBounds][.PIE SET LBL BOUNDS]]</span> (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.</span></span>%ENDCOLOR% * %RED%%BLACK%The <span style="text-decoration: underline;">[[CDPieSetSectorEdgeWidth][.PIE SET SECT EDGE W]]</span> 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 <span style="text-decoration: underline;">[[CDPieSetSectorShading][.PIE SET SECT SHADING]]</span>, 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.%ENDCOLOR%%ENDCOLOR% * %RED%%BLACK%If you explode all the sectors in a pie chart via <span style="text-decoration: underline;">[[CDPieSetSectorPosition][.PIE SET SECT POSITION]]</span> then you can't adust the distance on specific sectors via <span style="text-decoration: underline;">[[CDPieSetSectorExplosionDistance][.PIE SET SECT EXP DIST]]</span>. 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.%ENDCOLOR%%ENDCOLOR% * %RED%<span style="text-decoration: underline;"> </span>%BLACK%<span style="text-decoration: underline;">[[CDPieSetLabelDistance][.PIE SET LBL DISTANCE]]</span> doesn't seem to do anything. * Fixed * - The routine to generate the PHP code wasn't being called unless it applied to all sectors.%ENDCOLOR%%ENDCOLOR% * %RED%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.%ENDCOLOR% * %RED%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.%ENDCOLOR% * %RED%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?%ENDCOLOR% * %RED%%BLACK%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.%ENDCOLOR%%ENDCOLOR% * %RED%.AXIS SET AXIS L has no effect on the length of the axis line.%ENDCOLOR% * <div id="_mcePaste">%RED% %BLACK%.AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART,<strong>"</strong> 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.%ENDCOLOR%%ENDCOLOR%</div> * %RED%Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity.%ENDCOLOR% * %RED%%BLACK%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.%ENDCOLOR%%ENDCOLOR% * %RED%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.%ENDCOLOR% * %RED%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.%ENDCOLOR% * %RED%%BLACK%.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'%ENDCOLOR%%ENDCOLOR% * %RED%%BLACK%.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. %ENDCOLOR%%ENDCOLOR% * %RED%%BLACK%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.%ENDCOLOR%%ENDCOLOR% * %RED%%BLACK%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.%ENDCOLOR%%ENDCOLOR% * %RED%%BLACK%.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.%ENDCOLOR%%ENDCOLOR% * %RED%%BLACK%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.%ENDCOLOR%%ENDCOLOR% * %RED%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.%ENDCOLOR% * %RED%%BLACK%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.%ENDCOLOR%%ENDCOLOR% * %RED%%BLACK%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%ENDCOLOR%%ENDCOLOR% * %RED%Sample Chart Issues: %ENDCOLOR% * %RED%P04. SIDE LABEL LAYOUT %ENDCOLOR% * %RED%No glass affect for the sector labels%ENDCOLOR% * %RED%P05. CIRCULAR LABEL LAYOUT %ENDCOLOR% * %RED%No gradient background%ENDCOLOR% * %RED%P07. PIE CHART WITH LEGEND (2) %ENDCOLOR% * %RED%no gradient background%ENDCOLOR% * %RED%P08. EXPLODED PIE CHART %ENDCOLOR% * %RED%No Gradient background%ENDCOLOR% * %RED%No gradient sector labels%ENDCOLOR% * %RED%P09. ICON PIE CHART (1) %ENDCOLOR% * %RED%No glass shading on title%ENDCOLOR% * %RED%P10. ICON PIE CHART (2) %ENDCOLOR% * %RED%no logo in bottom right corner%ENDCOLOR% * %RED%No glass shading on title%ENDCOLOR% * %RED%P12. DONUT CHART %ENDCOLOR% * %RED%no separator line under title (addLine property)%ENDCOLOR% * %RED%no borders around sector labels%ENDCOLOR% * %RED%P13. 3D DONUT CHART %ENDCOLOR% * %RED%no separator line under title (addLine property)%ENDCOLOR% * %RED%no gradient background%ENDCOLOR% * %RED%no gradient background on sector labels%ENDCOLOR% * %RED%P15. TEXTURE DONUT CHART %ENDCOLOR% * %RED%no textures (pattern not passed to .PIE SET SECT BG CLR?)%ENDCOLOR% * %RED%P21. TEXT STYLES AND COLORS %ENDCOLOR% * %RED%No texture on chart title%ENDCOLOR% * %RED%P16. CONCENTRIC DONUT CHART %ENDCOLOR% * %RED%No example, no support for merge method.%ENDCOLOR% * %RED%B02. MULTI-COLOR BAR CHART %ENDCOLOR% * %RED%Unable to set 3D border effects for the bars.%ENDCOLOR% * %RED%B03. SOFT BAR SHADING %ENDCOLOR% * %RED%Unable to set gradient background%ENDCOLOR% * %RED%Unable to set soft lighting effect of the bars%ENDCOLOR% * %RED%Unable to set font attributes of system generated Y-axis labels.%ENDCOLOR% * %RED%B04. GLASS BAR SHADING %ENDCOLOR% * %RED%No Glass shading effect for the bars.%ENDCOLOR% * %RED%Can't change the font style of the autogenerated Y axis labels%ENDCOLOR% * %RED%B05. GRADIENT BAR SHADING %ENDCOLOR% * %RED%Can't draw a line under the title%ENDCOLOR% * %RED%No gradient background%ENDCOLOR% * %RED%No gradient on the bars%ENDCOLOR% * %RED%Can't change the color of the autogenerated Y axis labels%ENDCOLOR% * %RED%Can't call packPlotArea method%ENDCOLOR% * %RED%B06. CYLINDER BAR SHADING %ENDCOLOR% * %RED%Can't change the font style of the autogenerated Y axis labels%ENDCOLOR% * %RED%B10. Stacked Bar Chart %ENDCOLOR% * %RED%Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).%ENDCOLOR% * %RED%B11. PERCENTAGE BAR CHART %ENDCOLOR% * %RED%Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).%ENDCOLOR% * %RED%Unable to make edges of data segments transparent%ENDCOLOR% * %RED%Unable to have gradient background%ENDCOLOR% * %RED%Unable to use soft lighting effect on data segments.%ENDCOLOR% * %RED%Can't call packPlotArea method%ENDCOLOR% * %RED%B13. SOFT MULTI BAR CHART %ENDCOLOR% * %RED%Unable to have gradient background%ENDCOLOR% * %RED%Unable to use soft lighting effect on data segments.%ENDCOLOR% * %RED%Can't change the font style of the autogenerated Y axis labels%ENDCOLOR% * %RED%B14. GLASS MULTI BAR CHART %ENDCOLOR% * %RED%Unable to have gradient background%ENDCOLOR% * %RED%Unable to use glass lighting effect on data segments.%ENDCOLOR% * %RED%Can't change the font style of the autogenerated Y axis labels%ENDCOLOR% * %RED%B15. GRADIENT MULTI BAR CHART %ENDCOLOR% * %RED%Unable to have gradient background%ENDCOLOR% * %RED%Unable to use gradient effect on data segments.%ENDCOLOR% * %RED%Can't change the font style of the autogenerated Y axis labels%ENDCOLOR% * %RED%B16. MULTI-CYLINDER CHART %ENDCOLOR% * %RED%Unable to assign cylinder shape at layer or group level, have to assign at data template level.%ENDCOLOR% * %RED%B19. MULTI-STACKED BAR CHART %ENDCOLOR% * %RED%Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).%ENDCOLOR% * %RED%Unable to make edges of data segments transparent%ENDCOLOR% * %RED% %BLACK%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.%ENDCOLOR%%ENDCOLOR% * %RED%B21. POSITIVE NEGATIVE BARS %ENDCOLOR% * %RED%Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).%ENDCOLOR% * %RED%Can't change the font style of the autogenerated Y axis labels%ENDCOLOR% * %RED%Unable to set zone colors%ENDCOLOR% * %RED%Y axis labels on wrong side%ENDCOLOR% * %RED%B22. BORDERLESS BAR CHART %ENDCOLOR% * %RED%No Gradient colors for bars%ENDCOLOR% * %RED%Unable to get data segment labels or aggregate labels on chart (no way to call setAggregateLabelStyle or setDataLabelStyle methods).%ENDCOLOR% * %RED%B23. DUAL HORIZONTAL BAR CHART %ENDCOLOR% * %RED%No example, no support for addChart method.%ENDCOLOR% * %RED%B24. BARS WITH MARKS %ENDCOLOR% * %RED%No API for packPlotArea%ENDCOLOR% * %RED%No API for text box alignment (setAlignment method)%ENDCOLOR% * %RED%No softlighting effect%ENDCOLOR% * %RED%No API for adding box whisker layer%ENDCOLOR% * %RED%B25. PARETO CHART %ENDCOLOR% * %RED%Can't call packPlotArea method%ENDCOLOR% * %RED%Can't bind the line layer to the secondary (right) y-axis using $lineLayer->setUseYAxis2();%ENDCOLOR% * %RED%Can't set size of circle shape on Pareto line%ENDCOLOR% * %RED% *Chart is incorrect*, adds extra bar layer of pareto data, covering up intended bar layer%ENDCOLOR% * %RED%No soft lighting for bars%ENDCOLOR% * %RED%Unable to set Y-axis scale (primary or secondary)%ENDCOLOR% * %RED%Unable to sync Y axis scale%ENDCOLOR% * %RED%B26. VARIABLE WIDTH BAR CHART %ENDCOLOR% * %RED%No gradient background.%ENDCOLOR% * %RED%chart is wrong because we can't call setXData method%ENDCOLOR% ---++ Comments: _Read what other users have said about this page or add your own comments._ <br />%COMMENT% -- Main.JeanNeron - 2011-12-05
This topic: Main
>
WebHome
>
APPX510Features
>
CDChartDirectorDesignerAPI
>
CDChartDirectorKnownIssues
Topic revision: r29 - 2012-01-05 - JeanNeron
Copyright © 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