line « Series « JFreeChart Q&A





1. Not able to display line in TimeSeries    jfree.org

Re: Not able to display line in TimeSeries by Mega Thu Jun 23, 2005 10:58 am Well I forgot to paste my code...here it is.. Code: Select all private ChartPanel createGraph() { TimeSeriesCollection dataset = createDataset(); final ...

2. Line is not displayed in TimeSeries chart    jfree.org

Hi, I am using Tomcat 5 on RHEL 4 server for generating graphics. I wrote a servlet to generate images. The same servlet can generate Bar, Timeseries and other types of charts with same data bean. Sometimes in Timeseries charts the line is not displayed. But for the same data Barchart looks absolutely fine even sometimes line chart also comes fine. ...

3. Vertical lines in time series chart    jfree.org

I'm trying to present data in a time series chart by using vertical lines that connect the x-axis with the points. I couldn't find a method in the XYLineAndShapeRenderer class to do this. All I could do is use the method setLinesVisible(false), so i can only see the points. Is there some way I can add vertical lines to the chart? ...

5. Setting colors in different parts of a line series    jfree.org

I have a need for changing the color in which the line is drawn for a given time series based on boolean values in a second time series. I.e. I need to set the color to green for the main time series line if the value on a given date is true, and then change the color to red on the ...

6. XYBarChart with second Series as Single Line    jfree.org

XYBarChart with second Series as Single Line by sg181 Tue Aug 12, 2008 1:38 pm Hello, everybody. I'm rather new to JFreeChart, and hope to get some help on a problem I have. Creating a XYBarChart via ChartFactory works fine for me, using this code: Code: Select all private void initGUI(String title, java.util.List load) ...

7. Connecting lines between 2 timeseries    jfree.org

Hi I'm looking for a way to avoid the gap between 2 TimeSeries being rendered with StandardXYItemRenderer. What I like, is to have the last point of the first series to be connected with the first point of the second series - i.e. so that there's no gap. The reason why I'm using 2 series in the first place is that ...

8. XYLineAndShaperRenderer: Need lines from 1 series on top.    jfree.org

The line and shape renderer plots lines first and points 2nd; however, I'm fitting to points, and I'd like the fit curve to appear over the points used in the fit. I have two series, then, the points themselves, and the curve of the fit. Is there any way to make the renderer draw the lines for the curve series over ...





10. Two Indicators Line Within Single Series    jfree.org

Currently, in order to achieve the above bollinger band itself is consists of 2 lines (upper band and lower band) If I implement this usually regular way in JFreeChart, it will end up with 2 series, with different color. (1 series called upper bollinger band, the other series called lower bollinger band) Is it possible that I can the one similar ...

11. How do you add a vertical line for 'today' to a time series?    jfree.org

I've got a graph that draws a straightforward graph of date on x and numbers on y. I only wanted to see one entry per month, so I've specified time_axis.setTickUnit(DateTickUnit.new(DateTickUnitType::MONTH, 1)); Works great, does what I want. Now the customer wants to see a vertical line on the graph indicating 'today.' Suggestions for how to do this? I've purchased the official ...

12. Problem with series color and line thickness    jfree.org

Problem with series color and line thickness by balajired83 Fri Jun 18, 2010 4:37 pm Hi, I am trying to change the series color in the below code. I tried various options like using setSeriesPaint() method and plot.setDrawingSupplier( new DefaultDrawingSupplier()), but still could not able to change. So, please could anybody let me know what's wrong in the below code. ...

14. coloring series line    jfree.org