Search found 6 matches

by pubmail75
Fri Oct 31, 2003 1:30 am
Forum: JFreeChart
Topic: legend problem?
Replies: 3
Views: 7192

Thanks

Thank a lot!It's JDK's problem!It supports chinese no good!
Thanks again!
by pubmail75
Tue Oct 28, 2003 3:25 am
Forum: JFreeChart
Topic: chinese problem?
Replies: 0
Views: 2926

chinese problem?

I use JFreechart's TimeSeriesToolTipGenerator() and XYSeries(test);
When I deal with "test" to "GB2312",legend is wrong ,but tip is good!If I do nothing ,legend is good,legend is wrong!
Why?I use jfreechart0.9.13!Thanks a lot!
by pubmail75
Fri Oct 24, 2003 2:46 am
Forum: JFreeChart
Topic: New version of JFreeChart Sample WAR available
Replies: 40
Views: 177871

example has some error

Modified the generateXYChart(String section, HttpSession session, PrintWriter pw) as JFreeChart chart = new JFreeChart("", JFreeChart.DEFAULT_TITLE_FONT, plot, "false"); modify "false" to "true" There is some error: Exception - java.lang.NullPointerException java.lang.NullPointerException at java.aw...
by pubmail75
Fri Oct 24, 2003 2:11 am
Forum: JFreeChart
Topic: legend problem?
Replies: 3
Views: 7192

error code

Exception - java.lang.NullPointerException java.lang.NullPointerException at java.awt.Font.getLineMetrics(Font.java:1621) at java.awt.FontMetrics.getLineMetrics(FontMetrics.java:396) at org.jfree.chart.StandardLegend.createDrawableLegendItem(Unknown Sourc e) at org.jfree.chart.StandardLegend.draw(Un...
by pubmail75
Thu Oct 23, 2003 2:04 pm
Forum: JFreeChart
Topic: legend problem?
Replies: 3
Views: 7192

legend problem?

I use JFreeChart create a chart,such as:JFreeChart chart = new JFreeChart(chinese.getStr(PartName[0]), JFreeChart.DEFAULT_TITLE_FONT, plot, true) I must use chart.setLegend(Null) , otherwise there is some error.But I want display Legend! How can I do?Can give me some examples? I'm a rookie for JFree...
by pubmail75
Thu Oct 23, 2003 2:02 pm
Forum: JFreeChart
Topic: legend problem?
Replies: 0
Views: 2806

legend problem?

I use JFreeChart create a chart,such as:JFreeChart chart = new JFreeChart(chinese.getStr(PartName[0]), JFreeChart.DEFAULT_TITLE_FONT, plot, true) I must use chart.setLegend(Null) , otherwise there is some error. But I want display Legend! How can I do?Can give me some examples? I'm a rookie for JFre...