line « Color « JFreeChart Q&A





1. How to make the color of the line change as it crosses limit    jfree.org

Hi, I'm sure this is simple but I still haven't figured out how things relate to each other yet to do this right. Any help would be greatly appreciated. I have a TimeSeries and I'd like the curve to change color when it crosses certain limits. Can I specify a 'smart' Stroke that's sensistive to the value it's drawing? I could ...

2. Multi-axis, multi-series charts -- how to set line colour?    jfree.org

Multi-axis, multi-series charts -- how to set line colour? by glyndwr Fri Jul 08, 2005 4:48 pm Hi! Thanks to everyone for your work on JFreeChart, which I've been a very happy user of for a few years now throughout my PhD. Now, my question: I have an XYLineChart with two XYDataCollection and two vertical axes. The first XYDataCollection has ...

3. Cannot Set Line Colours, Please Help!    jfree.org

Cannot Set Line Colours, Please Help! by reeebz Thu Sep 08, 2005 6:07 am Hi, I am getting heaps of errors when I am trying to set the colours of my lines. I don't know what the problem is because my code compiles OK. Any help would be appreaciated. Code: Select all public class ChartBuilder extends JFrame { ...

4. available line colors    jfree.org

5. two colors in one line    jfree.org

6. Can I use different colors for a line?    jfree.org

I want to draw a diagram that has a line, with different colors, depending on the value represented. If I have a low value I want the color to be green, a yellow color for medium values and a red color for bigger values. Do you think this is possible? How can I do that? Thanks in advance.

7. Fill colours in between trend lines    jfree.org

I have drawn 3 trend lines in my graph to specify the threshold values in the time series chart with 3 diffrent colours. Now i would like to fill colours between these trend lines. Can any one help me?? Here is the code to draw trend lines. Date date = DateUtilities.createDate(2002,MonthConstants.JANUARY,1); Date date1 = DateUtilities.createDate(2002,MonthConstants.NOVEMBER,31); double x1 = (double)date.getTime(); double x2 ...

8. different line colors    jfree.org

different line colors A free public discussion forum for the JFreeChart class library. Post a reply 3 posts Page 1 of 1 different line colors by Ivoryn Wed Jun 21, 2006 8:45 am hi, in my program, several different datasets are displayed in one chartpanel with a range axis for each dataset. when i have two different datasets (or ...

9. Line color problem in Time Serises charts    jfree.org

Hi, I need to create a chart with 4 time series. The first line will be red, the second one will be blue, the third one is green. I really don't like the fourth one which is yellow. It is very difficult to recognize it from the screen. So how can I replace the yellow one with other colors ? Thanks, ...





10. Over lapping line colors    jfree.org

I have a chart that displays multiple lines (5 series in all). I am using XYLineAndShapeRenderer to render the lines. The first line is green, the second line is supposed to be white. The interesting thing is that the line is white with some green mixed in. Is this possible or am I seeing things?

11. Line thickness and color setting    jfree.org

12. One line with two distinct colors    jfree.org

13. forcing legends to use custome color same as used in line    jfree.org

Hi I am using customer renderer XYLineAndShapeRenderer to color my line in Line XYPlot, i have override function getItemPain(series, item) in my custome renderer class. But my legends still shows old color made by ChartFactory.createXYAreaChart(). How can i make legends to use custom colors made for line. other wise they will show wrog chart. my renderer class code is Code: Select ...

14. one line has two color,need your help    jfree.org

hi! i want to use LineAndShapeRenderer or other class to make one line have two colors by using diffrent conditions, i searched the jfreechart api ,but i can not find the method.need you help. the second question :in the image.if the width of image is to small ,the x words will like .... ,in a word ,we cannot get the words.i ...

15. Clikc the Line, Change the Color and Popup a Window    jfree.org

Clikc the Line, Change the Color and Popup a Window by haha.books Thu Nov 19, 2009 1:30 am Hello, I am new to JFreeChart and Java. The code below will create a line. I want to realize the idea that when I click the line, the color will be changed and a window shows up to give more information. How ...