Search found 5 matches

by tony01
Fri Aug 05, 2005 9:38 am
Forum: JFreeChart
Topic: alternating colors on one dataset in XYPlot
Replies: 7
Views: 8360

public class SelectionRenderer extends XYBarRenderer {} Hi,JeffKirby I use your code , and change it to extends XYLineAndShapeRenderer but happend some thing.... the method names setSelection() just work ONE time It's means I used like this: newRender.setSelection(0,3);//doesn't work newRender.setS...
by tony01
Fri Aug 05, 2005 9:30 am
Forum: JFreeChart
Topic: How to make the color of the line change as it crosses limit
Replies: 4
Views: 5762

To change the color I use this XYItemRenderer renderer = new StandardXYItemRenderer() { public Paint getItemPaint(int series, int item) { .. .. return (a > b) ? Color.green : Color.red; } }; HI,skunk Could you tell me more how to use this code? I realllllllllllllllllly have no idea about it..... :o...
by tony01
Thu Aug 04, 2005 3:15 am
Forum: JFreeChart
Topic: Marking Points on XYSeries, a diff. point for each series
Replies: 10
Views: 14822

You can use XYLineAndShapeRenderer.setShapesVisible(java.lang.Boolean visible) to display shapes on the data points. However, if you want to customize the shape for individual series, you may need to subclass the renderer and overwrite the method that draws shapes. Daniel Hi,dhchou :) thanks for an...
by tony01
Wed Aug 03, 2005 5:06 am
Forum: JFreeChart
Topic: Marking Points on XYSeries, a diff. point for each series
Replies: 10
Views: 14822

Re: Marking Points on XYSeries, a diff. point for each serie

gayatri ganpaa wrote: Hi,

I created XYLineChart which simply displays the series in different colors.
Hi ,
Could you tell me how to do this

I have some trouble with this >"<

Is it like " one line in different colors " ??

Thank you !!!
by tony01
Tue Aug 02, 2005 12:49 pm
Forum: JFreeChart
Topic: How to set 2 or more colors in XYLineChart's Line
Replies: 0
Views: 2072

How to set 2 or more colors in XYLineChart's Line

In Statistical Process Control I use XYLineChart to make Xbar-S Chart and need to set 2 or more color in same Line Any one knows How to do it ? Thanks EX: In the Xbar-Measure I wanna some section Line is RED color How to do it ?..... http://www.sigmaxl.com/images/xbar2.jpg Hi,Everyone I can let the ...