Search found 24 matches

by iogan18tm
Thu Sep 16, 2004 9:45 pm
Forum: JFreeChart
Topic: ChartUtilities.createBarChart - fails (0.9.21)
Replies: 1
Views: 2049

ChartUtilities.createBarChart - fails (0.9.21)

JFreeChart chart = ChartFactory.createBarChart( title, // chart title null, // domain axis label null, null, PlotOrientation.VERTICAL, true, // include legend true, // tooltips? false // URL generator? Not required... ); raises java.lang.IllegalArgumentException: Null 'dataset' argument. at org.jfr...
by iogan18tm
Wed Jul 28, 2004 8:28 am
Forum: JFreeChart
Topic: PieChart Labels and Legend
Replies: 2
Views: 2380

Tried this

this had no effect
"{0} \n {1}"
"{0} \r {1}"
"{0}" + System.getProperty("line.separator") + " {1} "
by iogan18tm
Wed Jul 28, 2004 8:18 am
Forum: JFreeChart
Topic: PieChart Labels and Legend
Replies: 2
Views: 2380

PieChart Labels and Legend

Is there a way to make piechart labels in multiline format? Like this "{0} \n {1} \n {2}". Its suitable when there not too much sections are there in dataset. Also, is it possible to have a legend for Piechart? Its convinient when too many sections. PS. and last question - when does 0.9.21 coming(ap...
by iogan18tm
Wed May 26, 2004 1:32 pm
Forum: JFreeChart
Topic: Encode as GIF
Replies: 8
Views: 4189

ChartUtilities

In fact, to extend ChartUtilities with new encoding U can (and the simpliest way it is) copy such methods like writeChartAsPng, saveChartAsPNG,writeBufferedImageAsPNG (and somehow writeImageMap). Although,first 3 of them are simple interfaces to encoding, the last one does the work. So there must be...
by iogan18tm
Thu May 20, 2004 7:45 pm
Forum: JFreeChart
Topic: Domain Gridlines
Replies: 2
Views: 2519

Axis property

Maybe it should Axis property an bit array the pattern. Where 0 - dont draw, 1 - draw Domain Gridline. Alas, this implementation brings down another enchantment - drawing Domain Gridlines in middle gaps between Categories and on sides. I can sense it should be separate object - somewhat like Gridlin...
by iogan18tm
Wed May 05, 2004 7:27 am
Forum: JFreeChart
Topic: Legend,Series,Dataset
Replies: 1
Views: 1985

Found

Yeah, nices can be done through Legend class, but there i met another problem. When used in DualAxisDemo with this code StandardLegend legend = (StandardLegend) chart.getLegend(); legend.setDisplaySeriesShapes(true); legend.setDisplaySeriesLines(true); it makes legend item responsible for bars to be...
by iogan18tm
Tue May 04, 2004 11:14 pm
Forum: JFreeChart
Topic: Extra spaces in charts
Replies: 2
Views: 1859

thanx.

I've got the point that DomainAxis is Axis in fact $).
by iogan18tm
Tue May 04, 2004 11:12 pm
Forum: JFreeChart
Topic: Legend,Series,Dataset
Replies: 1
Views: 1985

Legend,Series,Dataset

I've to a problem that alhough LegenItemCollection holds all the data for all Series in plot, it doesnt keep the link from which Series is the LegendItem. It came from a problem to make a shape for legend item according to its representation in plot. To copy shape from LineAndShapeRenderer to Legend...
by iogan18tm
Tue May 04, 2004 5:44 pm
Forum: JFreeChart
Topic: setDomainGridlinePosition in CategoryPlot
Replies: 1
Views: 1733

setDomainGridlinePosition in CategoryPlot

Is there a way to make them not in (END,START,MIDDLE) positions, but also in the middle of space between categories ?