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.
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.
.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 - Fixed - Added API
P12. DONUT CHART
no separator line under title (addLine property)
P13. 3D DONUT CHART
no separator line under title (addLine property)
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
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
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
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();
Unable to set Y-axis scale (primary or secondary)
Unable to sync Y axis scale
B26. VARIABLE WIDTH BAR CHART
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.
-- JeanNeron - 2011-12-05