Search found 10 matches

by tobermory
Wed Nov 20, 2019 9:07 pm
Forum: JFreeChart
Topic: Time based data, but not really a TimeSeries
Replies: 0
Views: 7850

Time based data, but not really a TimeSeries

I am trying to find the correct JFreeChart classes to plot my data. I have been through the demo, to no avail. My data is thus: In the time period T1 - T2, some quantity had a max value, a min value and a mean value. I don't have 'the values', only those 3 data points. And there are many such Ti - T...
by tobermory
Mon Oct 28, 2019 9:44 pm
Forum: JFreeChart
Topic: servlets & JFreecharts job
Replies: 1
Views: 7747

Re: servlets & JFreecharts job

Yes, I have done JFreeChart rendering from servlets. I use Tomcat and Jetty as web app containers. Do you have a specific need?
by tobermory
Thu Sep 20, 2018 12:08 am
Forum: JFreeChart
Topic: Using a stackedXYBarRenderer to convey expected vs actual data
Replies: 0
Views: 6643

Using a stackedXYBarRenderer to convey expected vs actual data

I have a data set which can be generalized to a number of trials, where each trial has a desired (commanded) and actual outcome, and the desired and actual outcomes are comparable, i.e. one is bigger than the other. Example: do 100 trials of 'throw a ball up to a some height X meters (desired). The ...
by tobermory
Thu Feb 08, 2018 2:44 am
Forum: JFreeChart
Topic: Crosshairs and multiple range axes
Replies: 4
Views: 8048

Re: Crosshairs and multiple range axes

The code above had a nasty built-in assumption that range crosshair N was mapped to range axis N. This was OK in my app, but would fail in general. I thus added a new method mapCrosshairToRangeAxis, taking a lead from XYPlot.mapDatasetToRangeAxis(). The improved class is now /** * A CrosshairOverlay...
by tobermory
Thu Feb 08, 2018 2:13 am
Forum: JFreeChart
Topic: Crosshairs and multiple range axes
Replies: 4
Views: 8048

Re: Crosshairs and multiple range axes

Well hurrah for open source software! Given that my 'crosshairs on multiple range axes' program wasn't working, I thought to take a look in CrosshairOverlay.java for 1.5.0 on github. Plain to see in there that only the FIRST rangeAxis was being used in computing rendering of yCrosshairs. So I simply...
by tobermory
Thu Feb 08, 2018 1:27 am
Forum: JFreeChart
Topic: Crosshairs and multiple range axes
Replies: 4
Views: 8048

Re: Crosshairs and multiple range axes

My initial post omitted to mention that my app was built against JFreeChart 1.0.19. I noted in the release notes to 1.5.0 that bug #36 has been fixed, and that it related to crosshairs and multiple axes. I was thus excited to rebuild my code against the newer 1.5.0 lib. Alas I am still getting the s...
by tobermory
Tue Feb 06, 2018 10:01 pm
Forum: JFreeChart
Topic: Crosshairs and multiple range axes
Replies: 4
Views: 8048

Crosshairs and multiple range axes

I am trying to add 3 YCrosshairs to an XYPlot, following the CrosshairOverlayDemo1 and CrosshairOverlayDemo2 examples. In both those examples, there is a single range axis. My plot has 3 datasets and 3 range axes. When I add the 3 yCrosshairs, following the code from Demo2, only 1 Y crosshair is eve...
by tobermory
Tue Feb 06, 2018 1:59 am
Forum: JFreeChart
Topic: Time as Domain with portion cut out
Replies: 1
Views: 3523

Time as Domain with portion cut out

I don't know how best to name the Subject of my issue, but hopefully the explanation will be easier to follow. Say I have some time-related data, to be plotted on a XY plot. Some quantity Q varies from say zero to one (the range) from time units 0-100, where the unit of time might be seconds. Time i...
by tobermory
Thu Jul 06, 2017 9:05 pm
Forum: JFreeChart
Topic: Gantt-style chart with many tasks per person
Replies: 1
Views: 3220

Re: Gantt-style chart with many tasks per person

Just following up to my own post, I juts discovered Gantt Charts in the demo series, and saw from GanttDemo2 that Tasks can have subtasks. So I _think_ I could pose my problem as having 5 tasks, one for each team member A - E. Then each task will have many subtasks, one for each time that member is ...
by tobermory
Thu Jul 06, 2017 8:33 pm
Forum: JFreeChart
Topic: Gantt-style chart with many tasks per person
Replies: 1
Views: 3220

Gantt-style chart with many tasks per person

Best to explain my problem via what I think is the demo that closest resembles what I am trying to do. Regarding the XYTaskDatasetDemo2, bottom plot, which shows 5 team members, A - E, each doing some task for various time intervals. I would like each of A - E to be doing one of 2 tasks, and I'd lik...