In JFreeChart 0.9.5, the String array passed to the HorizontalSymbolicAxis isn't initializing the symbolicValue List. As a result, any attempts to create a chart that involves this axis will fail with a NullPointerException.
This can be fixed by adding the following line in the constructor:
symbolicValue = java.util.Arrays.asList(sv);
Don
HorizonalSymbolicAxis doesn't set symbolicValue list
Re: HorizonalSymbolicAxis doesn't set symbolicValue list
Hi Don,
Thanks for the report. I've committed the fix to CVS ready for inclusion in the 0.9.6 release.
Regards,
Dave Gilbert
Thanks for the report. I've committed the fix to CVS ready for inclusion in the 0.9.6 release.
Regards,
Dave Gilbert