ColdFusion MX: cfchart fails with more than 16 series
Issue
When using the cfchart tag in Macromedia ColdFusion MX to create a chart containing greater than 16 series,cfchart will fail with an error similar to the following:
Error Occurred While Processing Request The Error Occurred in C:\CFusionMX\wwwroot\cfchart_test.cfm: line 25
If the link to expand the stack trace is clicked, the first several lines will display the following:
java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at com.gp.webcharts3D.model.ExPersistentStyle. growTo(ExPersistentStyle.java)
WebCharts3D version 5.4 from Greenpoint, Inc., included in ColdFusion MX, has a upper limit of 16 series. This is logged as Macromedia issue 47108 and has been addressed in ColdFusion MX 6.1.
Solution
To avoid this error, limit the chart to 16 series or less.
Additional Information
Related TechNotes:
This content requires Flash
To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.
Download the free Flash Player now!
