[ jcharts-Bugs-1028516 ] LineChart shape cannot be null
"SourceForge.net" <[email protected]> Wed, 15 Sep 2004 05:10:00 -0700
| Newsgroups | gmane.comp.krysalis.jcharts.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1028516, was opened at 2004-09-15 14:10
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=116161&aid=1028516&group_id=16161
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: MoMaT (momat)
Assigned to: Nobody/Anonymous (nobody)
Summary: LineChart shape cannot be null
Initial Comment:
The following code from userGuide 0.3.0, true for 0.7.5
is no longer valid for 1.0.0-alpha-1 if the legend is used:
Shape[] shapes= { PointChartProperties.SHAPE_CIRCLE,
null };
LineChartProperties lineChartProperties= new
LineChartProperties( strokes, shapes );
Giving the one of shapes array shape value of null (to
render a flat line without any triangles, circles or
such) and setting the legend visible, makes the chart
impossible to render:
java.lang.NullPointerException
at org.krysalis.jcharts.Legend.render(Unknown Source)
I quess the new way of rendering the lineChart icon in
a legend (line+shape instead of box) is the cause of
this, since it is probably not null protected.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=116161&aid=1028516&group_id=16161
-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m