Search found 6 matches

by jgloving
Tue Sep 16, 2008 2:57 pm
Forum: JFreeChart
Topic: different colors for different parts of one chart
Replies: 4
Views: 4455

What kind of chart do you use? Barchart, linechart, other? What exactly do you want to be in different colors? The actual data which the renderer draws or the plot's background, or anything else? - martin It is linechart. I want to use one color to draw one half part of it, and use another color to...
by jgloving
Mon Sep 15, 2008 3:35 pm
Forum: JFreeChart
Topic: different colors for different parts of one chart
Replies: 4
Views: 4455

different colors for different parts of one chart

I'd like to use two colors to draw one chart. I want to divide it into two parts, each of them I'd like to use one color.
Is there someone who knows how to implement this effect? Thanks a lot!
by jgloving
Tue Aug 19, 2008 9:24 pm
Forum: JFreeChart
Topic: TIP: using the zoom rectangle for your own purposes
Replies: 10
Views: 16229

Is there anyone who has the example codes to share? the above codes are not runnable. Thanks!
by jgloving
Tue Aug 19, 2008 8:10 pm
Forum: JFreeChart
Topic: How to get the sub dataset from the mouse zoom operation?
Replies: 2
Views: 2745

skunk wrote:There is no "sub dataset". Zooming is implemented by changing the range of the axes. After the zoom operation is completed, you can simply call this method on each affected axis

Code: Select all

public Range getRange()
Got it, thanks a lot
by jgloving
Fri Aug 15, 2008 5:48 pm
Forum: JFreeChart
Topic: How to implement the animation effect of BarChart?
Replies: 0
Views: 1974

How to implement the animation effect of BarChart?

I have a value List. Now I'd like to draw the Bar Chart using JFreeChart. I hope to display one value at each time on the Bar Chart, and after for example 30ms, display the next value, continue... until the last value of the List. I hope to have an animation effect of different length of the Bar at ...
by jgloving
Wed Aug 13, 2008 9:40 pm
Forum: JFreeChart
Topic: How to get the sub dataset from the mouse zoom operation?
Replies: 2
Views: 2745

How to get the sub dataset from the mouse zoom operation?

For one given dataset, I can draw the chart.
Here, I'd like to know, when I use mouse to drag the chart (a Rectangle), the chart will be zoomed. Obviously, the new chart has a sub dataset.
How to get the sub dataset? Thanks a lot