Search found 11 matches
- Thu Oct 19, 2006 6:25 am
- Forum: JFreeChart
- Topic: Displaying the co-ordinates for the points on XY Line series
- Replies: 2
- Views: 4607
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...
- Wed Oct 18, 2006 9:24 am
- Forum: JFreeChart
- Topic: Displaying the co-ordinates for the points on XY Line series
- Replies: 2
- Views: 4607
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...
- Wed Oct 18, 2006 7:37 am
- Forum: JFreeChart
- Topic: Displaying the co-ordinates for the points on XY Line series
- Replies: 2
- Views: 4607
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
I want to display the co-ordinates of the points on the XYLine chart.
If anyone has any idea let me know.
Thanks,
Scarlett
- Mon Oct 16, 2006 10:43 am
- Forum: JFreeChart
- Topic: Setting same shape for the XY Line series
- Replies: 0
- Views: 2580
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
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
- Mon Oct 16, 2006 7:51 am
- Forum: JFreeChart
- Topic: Plotting a line by using an euqation
- Replies: 2
- Views: 4685
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
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
- Thu Oct 12, 2006 12:02 pm
- Forum: JFreeChart
- Topic: Points and Line on Line chart
- Replies: 1
- Views: 3565
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
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
- Tue Oct 10, 2006 11:16 am
- Forum: JFreeChart
- Topic: Plotting points on domain and range axis in Line chart
- Replies: 4
- Views: 7624
- Tue Oct 10, 2006 9:53 am
- Forum: JFreeChart
- Topic: Plotting points on domain and range axis in Line chart
- Replies: 4
- Views: 7624
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...
- Tue Oct 10, 2006 6:54 am
- Forum: JFreeChart
- Topic: Plotting points on domain and range axis in Line chart
- Replies: 4
- Views: 7624
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
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
- Fri Sep 29, 2006 2:52 pm
- Forum: JFreeChart
- Topic: Using Jfreechart in Jface's TitleAreadialog
- Replies: 2
- Views: 5401
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....
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....
- Fri Sep 29, 2006 12:10 pm
- Forum: JFreeChart
- Topic: How to use JFreeChart with SWT (includes sample code)
- Replies: 27
- Views: 291168
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...