Search found 4 matches

by andyt
Tue Oct 31, 2006 12:59 pm
Forum: JFreeChart
Topic: Adding to a Plot
Replies: 2
Views: 4546

Many thanks for the pointer David... It worked for me :)
by andyt
Tue Oct 31, 2006 12:56 pm
Forum: JFreeChart
Topic: Point Symbols/Markers/Shapes
Replies: 1
Views: 2579

Point Symbols/Markers/Shapes

Hello, Is there a library of different Point Symbols/Markers/Shapes and an easy way to use them instead of circles in a ScatterPlot? There was some talk of this on another thread some time ago: http://jfree.org/phpBB2/viewtopic.php?p=1612&sid=b657068778eaa6bfae4233a7db182089 Ideally I would like to ...
by andyt
Fri Oct 27, 2006 6:18 pm
Forum: JFreeChart
Topic: Plotting a line by using an euqation
Replies: 2
Views: 4690

If you have a range of y or x values then generate a double[][] data. For a straight line just use the four coordinates at the extremes. Then use ChartFactory.createXYLineChart as follows: DefaultXYDataset aDefaultXYDataset = new DefaultXYDataset(); aDefaultXYDataset.addSeries( "a", data ); JFreeCha...
by andyt
Fri Oct 27, 2006 6:08 pm
Forum: JFreeChart
Topic: Adding to a Plot
Replies: 2
Views: 4546

Adding to a Plot

Hi,

Just started using JFreeChart.

How to add a line to a ScatterPlot?

I have tried generating the image of the ScatterPlot and using it as background to a XYLineChart.

Maybe I need to follow what ChartFactory is doing and customise.

Thanks for any pointers,

Andy