Search found 11 matches

by Scarlett
Thu Oct 19, 2006 6:25 am
Forum: JFreeChart
Topic: Displaying the co-ordinates for the points on XY Line series
Replies: 2
Views: 3521

I did get it Following is the code which I have used XYLineAndShapeRenderer renderer = (XYLineAndShapeRenderer) plot.getRenderer(); XYItemLabelGenerator generator = new StandardXYItemLabelGenerator("( {1}, {2} )", new DecimalFormat("0.0"), new DecimalFormat("0.0")); renderer.setItemLabelGenerator(ge...
by Scarlett
Wed Oct 18, 2006 9:24 am
Forum: JFreeChart
Topic: Displaying the co-ordinates for the points on XY Line series
Replies: 2
Views: 3521

I am using the following code to display the labels XYItemLabelGenerator generator = new StandardXYItemLabelGenerator("{1}", new DecimalFormat("0.00"), new DecimalFormat("0.00") ); renderer.setItemLabelGenerator(generator); renderer.setItemLabelsVisible(true); However using the above code you can di...
by Scarlett
Wed Oct 18, 2006 7:37 am
Forum: JFreeChart
Topic: Displaying the co-ordinates for the points on XY Line series
Replies: 2
Views: 3521

Displaying the co-ordinates for the points on XY Line series

Hello All,

I want to display the co-ordinates of the points on the XYLine chart.

If anyone has any idea let me know.

Thanks,
Scarlett
by Scarlett
Mon Oct 16, 2006 10:43 am
Forum: JFreeChart
Topic: Setting same shape for the XY Line series
Replies: 0
Views: 2055

Setting same shape for the XY Line series

Hi All,

I want to set the same shape for some XY Series say to "Rectangle" and for some XY series I do not want to set any shape at all.

If any one knows how to do it, let me know.

Thanks,
Scarlett
by Scarlett
Mon Oct 16, 2006 7:51 am
Forum: JFreeChart
Topic: Plotting a line by using an euqation
Replies: 2
Views: 3651

Plotting a line by using an euqation

Hi All,

Is there a way to plot a line using a line equation?

y = mx+c.

where 'm' is the slope
and 'c' is the Y intercept.

In the above case I know the values of 'm' and 'c'

Thanks,
Scarlett
by Scarlett
Thu Oct 12, 2006 12:02 pm
Forum: JFreeChart
Topic: Points and Line on Line chart
Replies: 1
Views: 2850

Points and Line on Line chart

Hi All,

I want to display an XY Line and on the same line chart I also want to display some points, which do not lie on that line.

If anyone knows how it can be done, let me know.

Thanks,
Scarlett
by Scarlett
Tue Oct 10, 2006 11:16 am
Forum: JFreeChart
Topic: Plotting points on domain and range axis in Line chart
Replies: 4
Views: 4770

Hey Dave!,

Thanks a lot!

Your tip was certainly very helpful :D

Thanks,
Scarlett
by Scarlett
Tue Oct 10, 2006 9:53 am
Forum: JFreeChart
Topic: Plotting points on domain and range axis in Line chart
Replies: 4
Views: 4770

Creation of Line chart

//First step is creation of Dataset. DefaultCategoryDataset dataset = new DefaultCategoryDataset() dataset.addValue(10, " Classes", "0"); dataset.addValue(15, " Classes", "10"); //Second step is creating the Line chart with the above dataset. I am using ChartFactory.createLineChart(....); When I see...
by Scarlett
Tue Oct 10, 2006 6:54 am
Forum: JFreeChart
Topic: Plotting points on domain and range axis in Line chart
Replies: 4
Views: 4770

Plotting points on domain and range axis in Line chart

Hello,

I want to plot points on the X and Y axis in a line chart.

e.g p1(20,0) or p2(0,20)

Currently I can plot the points only if the X and the Y co-ordinates are not zero.

If any one has any idea, let me know of how it can be done.

Thanks,
Scarlett
by Scarlett
Fri Sep 29, 2006 2:52 pm
Forum: JFreeChart
Topic: Using Jfreechart in Jface's TitleAreadialog
Replies: 2
Views: 3138

Using Jfreechart in Jface's TitleAreadialog

Hi,

Has anyone any idea of how to use Jfreechart in jface's Titleareadialog in an Eclipse Rcp application?

Let me know if anyone has tried this before.

Thanks a lot....
by Scarlett
Fri Sep 29, 2006 12:10 pm
Forum: JFreeChart
Topic: How to use JFreeChart with SWT (includes sample code)
Replies: 27
Views: 236827

Using JFreechart in Eclipse RCP application

Hi All, I am trying to use JFreeChart in my eclipse RCP application. the source code is as follows: - /* * Created on Sep 28, 2006 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ /** * * TODO To change the template for this...