time « Axis « JFreeChart Q&A





1. Time Series chart X-axis Time display    stackoverflow.com

I am working on TimeSeries in jfreechart and in this chart time is represented as hh:mm:ss. But when I start time from 00:00:00, chart shows the start time 12:00:00 and it ...

2. updating the time axis    jfree.org

I am building a chart that is based on a custom dataset. the data set extends the AbstractXYDataset. My chart has a the domain axis as a DateAxis. As the data in the datasource changes the model calls fireDatasetChanged my problem is that if the getItemCount returns a subset of the initial range, the X axis in the chart is not ...

3. TimeSeries - Date as X-Axis, Time as Y-Axis    jfree.org

I'm trying to chart some data where the date is the x-axis and the time of day is the y-axis. (For example, imagine I'm trying to chart the time of day that a certain task was completed, for every day over the course of a month.) Any suggestions as to what type of chart / data series to use? Since I'm ...

4. Time Axis in Time Series    jfree.org

Hi, Does anyone knows how to change the marker labels on the time axis? For example i want to start out with the dates, like month, day, year and time and if the user zooms, i wants to show mins and seconds. Reverse things should happen when i zoom out. Is there any control on on the marking labels on the ...

5. Time on Y Axis    jfree.org

Hi All, I want to create a chart having Time on Y Axis to show activities of users as point in time. The chart should like example given below- Code: Select all 12:00 | | ...

6. Getting same month value 4 time on x axis for 1 month    jfree.org

Getting same month value 4 time on x axis for 1 month by manish Mon Aug 21, 2006 2:36 pm Hi, I am getting duplicate date value in x axis. here in dataset i am getting one value for 1 month from database but when want to print on chart, getting same month value 4 times in x - axis. ...

7. Histogram with time X axis ?    jfree.org

Hi. I am trying to make graph representing the number of request per hour on a server. So, in X axis, I would have the hours (0-23) and in Y, the number of requests. The data I have only contains a java.util.Date of the request. I could do my own "counting" of number of request per each hour but JFreeChart is ...

8. jfreechart several time axis    jfree.org

Hi, I'd like to create a graph with serveral time axis. Is this possible? I have stored data in a DB and i want to compare these. for example: compare values from yesterday with values from today in one graph. I have tryed to solve this problem with TimeSeriesCollection, but if I put serveral TimeSeries in the collection , they were ...

9. jfreechart with time on y-axis    jfree.org

Hello, I'm new to jfreechart, and am really impressed by it, great project. I'm successfully using jfreechart to create an XY line graph ( ChartFactory.createXYLineChart) where the x-axis is int values (distance in km), and the y-axis is also an int values (seconds / km). I'd like to display the y-axis in a "time" format, so a value of say 300 ...





10. TimeSeriesChart has duplicate values in time axis    jfree.org

I created a time series chart using some simple data (given below) and I followed the demo in chapter 8 of the developer guide (basic chart with 2 series. The end result is a chart with grid markers at: Jun-2007, July-2007, July-2007, Aug-2007, Aug-2007 How do I fix this? p.s. - It looks fine if there are more data points (like ...

12. About time axis in dynamic chart,can't be change to 00:00:00    jfree.org

ps: the chart is dynamic curve chart. Main Coding: public void prepare() { total = new TimeSeries("Track1", org.jfree.data.time.Second.class); TimeSeriesCollection timeseriescollection = new TimeSeriesCollection(); timeseriescollection.addSeries(total); BasicStroke basicstroke = new BasicStroke(2.0F, 0, 2); XYLineAndShapeRenderer xylineandshaperenderer = new XYLineAndShapeRenderer(true, false); xylineandshaperenderer.setSeriesPaint(0, line1Color); xylineandshaperenderer.setStroke(new BasicStroke(3F, 0, 2)); chart = ChartFactory.createTimeSeriesChart("", "", "Value", timeseriescollection, false, false, false); XYPlot xyplot = chart.getXYPlot(); xyplot.setBackgroundPaint(Color.BLACK); xyplot.setDomainGridlinePaint(Color.GREEN); xyplot.setRangeGridlinePaint(Color.GREEN); ValueAxis valueaxis ...

13. XYSeries-Date Time in X-axis    jfree.org

14. How do I make data on a PeriodAxis span time periods?    jfree.org

I have a bar graph where each data point actually spans 3 hours. I am using a PeriodAxis (with a day level and an hour level). When I plot the data now it shows a bar on the hour and then two hours of nothing. I need each data point to span 3 hours. I've combed through PeriodAxis, XYPlot, TimeSeries and ...

16. Time duration on x-axis    jfree.org

Hello, I want to make a graph which has time duration on the x-axis. Time duration is measured in milliseconds and typical quantities are maybe 1000000 to 100000000 (minutes to days). I could make it an ordinary x-axis, but I would like to get JFreeChart to display the x-values as minutes, hours, or days as appropriate. I tried PeriodAxis but it ...





17. 2 questions on time axis labels    jfree.org

I know that the date format of the labels can be controlled via timeAxis.setDateFormatOverride(tickDateFormatter); However, it is a 'global' configuration, meaning that if there are 5 labels would be printed, all of them will be in that format. Is it possible to inject with individual setting for each label? Between, I found that if a segmented time line is set, say ...

18. [XYStepChart,XYStepAreaChart] Problem with time in X Axis    jfree.org

Hi! I have problem in displaying the time in X Axis. When i create the XYStepChart the hours and minutes displaying properly but when i create XYStepAreaChart i got the posix time. I'm creating this charts in the same way. My dataset and series: Code: Select all dataset = new XYSeriesCollection(); series1 = new XYSeries("series1"); series2 = new XYSeries("series2"); Adding series: ...

19. Help: Elapsed Time format on domain axis.    jfree.org

I'm new to JFreeChart. I am converting our current chart to JFreeChart instead. The range axis is numerical and the domain axis is elapsed time in milliseconds starting from 0 or later. The domain axis labels are round numbers based on a user selected time scale. The format is HH:mm:ss. For example, is time scale is 1 minute, labels should be: ...

20. Wich kind of chart with time on x-axis and string on y-axis?    jfree.org

Hi guys, I'm really confused with the use of the different type of charts. My objective is a chart that have on x-axis the time (format dd:mm:yy:hh:mm:ss but this is not important I will do it later) and on y-axis strings (that I got from a list). I have to draw lines, only horizontal lines, on that chart (for example five ...

21. XYPlot with "relative" time values on axis    jfree.org

Hi, as data I have pairs like (12000, 4) where the first value is a number of milliseconds. I'm currently using a XYLineChart which obviously displays these milliseconds values on the x-axis. But now I want my x-axis to have the format hh:mm:ss instead, e.g. 12000 should be displayed as 00:00:12. There are plots like TimeSeries but they always use absolute ...

22. JFreechart-Time Series chart with time in HH:MM:SS on X-axis    jfree.org

Time Series chart with time in seconds on X-axis ?? Hello everyone, I am preparing a software simulation for the wallstreet .So I want to display the market values CHANGING EVERY 30 SECONDS or iN MUTIPLE OF 30 SECONDS.So can you please tell me which will be the best suitable chart for me.I actually tried with the timeseries chart but the ...

23. Timestamp on X-Axis with JFreeChart that supports Date AND Time - possible?    forums.oracle.com

Hi all, I've asked this question on the JFreeChart forums, but answered yet. Hopefully someone here has some more experience with JFreeChart! Any help is appreaciated! The class DateAxis supports dates, but unfortunately does not care about the time of the corresponding date. Here is my scenario: I need to display DateTime items on one axis. If I use a DateAxis, ...