Search found 38 matches

by Fred
Wed May 16, 2018 10:00 pm
Forum: JFreeChart
Topic: Sorting Legend
Replies: 0
Views: 3735

Sorting Legend

All,

I've queried the subject but there was a question that appeared to be answered but the link to the page is no longer valid.

Simply put, I have a VectorRenderer that I want to sort (by name) the values on the legend.
I know this can be done. Just trying not to re-invent the wheel.

Thanks

Fred
by Fred
Wed Nov 22, 2017 7:33 pm
Forum: JFreeChart
Topic: VectorRenderer - Add Color based upon Dataset
Replies: 4
Views: 5283

Re: VectorRenderer - Add Color based upon Dataset

Thanks Paradoxoff. Already heading in that direction.
by Fred
Wed Nov 22, 2017 4:51 pm
Forum: JFreeChart
Topic: VectorRenderer - Add Color based upon Dataset
Replies: 4
Views: 5283

Re: VectorRenderer - Add Color based upon Dataset

Paradoxoff that is correct. Again, I believe the current tools/methods are capable of performing this feat but lots of work in coding it. Was just trying to see if (a) there was another way or I was going about it work and or (b) there is a plan in place to give this functionality in the near future...
by Fred
Thu Nov 16, 2017 12:21 am
Forum: JFreeChart
Topic: VectorRenderer - Add Color based upon Dataset
Replies: 4
Views: 5283

VectorRenderer - Add Color based upon Dataset

Hello, First, I've checked the forum as well as evaluated the VectorRenderer's methods. Issue: Multiple datasets of the same type of VectorSeries (split by an attribute of the data) and want to display all on the same plot (over-lay). Each dataset will have the same types of series but with varying ...
by Fred
Mon Feb 13, 2017 8:04 pm
Forum: JFreeChart
Topic: lining up Number Axis with Date Axis
Replies: 3
Views: 4015

Re: lining up Number Axis with Date Axis

All, The problems been resolved. The issue was the method used to collect the actual first record within the zoomed section of the chart versus what should have been the upper and lower (times) for that portion of the chart. The problem occurs when there is significant amount of blank-spacing before...
by Fred
Mon Feb 13, 2017 4:45 pm
Forum: JFreeChart
Topic: lining up Number Axis with Date Axis
Replies: 3
Views: 4015

Re: lining up Number Axis with Date Axis

Pardoxoff.. as always.. thank you. I wish I could show you what I'm trying to do and I'll look to see if I can get that up here. In the mean time, I was thinking the same thought (2 number axis but format the second with a custom label). I will be trying that first and in the event it doesn't work I...
by Fred
Fri Feb 10, 2017 10:01 pm
Forum: JFreeChart
Topic: lining up Number Axis with Date Axis
Replies: 3
Views: 4015

lining up Number Axis with Date Axis

All, I have a chart with a default Range (Y) axis that is a Number Axis. I also have a secondary Range (Y) Axis that is a Date Axis of that same data. My problem is related to the Date Axis presents time that does not line up with the data on the Number Axis. Even if I set the number of Time Tick Un...
by Fred
Fri Feb 03, 2017 6:38 pm
Forum: JFreeChart
Topic: simpe box chart
Replies: 2
Views: 3153

simpe box chart

Hello, First, I want to say I've looked at both the BoxAndWhiskerDemo and BoxAndWhiskerChartDemo2 classes and they are far more complicated then what I need. Put simply, I have a range axis (time) and really don't care about the domain axis (X). What I want to show is a box that starts at a point (Y...
by Fred
Fri Jan 27, 2017 6:28 pm
Forum: JFreeChart
Topic: zoom on one chart - chartPanel update to all
Replies: 11
Views: 8418

Re: zoom on one chart - chartPanel update to all

Paradoxoff.. your awesome dude!
It works perfectly.

Many Thanks!

Fred
by Fred
Fri Jan 27, 2017 6:15 pm
Forum: JFreeChart
Topic: g2.setPaint issues
Replies: 2
Views: 3078

Re: g2.setPaint issues

Thanks Paradoxoff. Your comment about it paint twice gave me the food for thought. I was trying to get the entire painting in 1 pass and forgot that VectorRenderer.drawItem firing each time. I've put in a better condition statement to check the SERIES and if that series has been selected (via a mous...
by Fred
Thu Jan 26, 2017 10:55 pm
Forum: JFreeChart
Topic: g2.setPaint issues
Replies: 2
Views: 3078

g2.setPaint issues

All, I have a requirement using a customized VectorRenderer to show all associated vectors related to the one selected. Its a bit involved but bear with me on this. When creating the VectorXYDataset when the data exceeds the length of the screen another point the first vector is created from a start...
by Fred
Thu Jan 26, 2017 10:21 pm
Forum: JFreeChart
Topic: zoom on one chart - chartPanel update to all
Replies: 11
Views: 8418

Re: zoom on one chart - chartPanel update to all

Paradoxoff Thanks. I'll try that and see what comes from it.
by Fred
Tue Jan 24, 2017 8:38 pm
Forum: JFreeChart
Topic: zoom on one chart - chartPanel update to all
Replies: 11
Views: 8418

Re: zoom on one chart - chartPanel update to all

Paradoxoff/all,

here are a couple of other notes.
I have the range (Y) axis inverted.
I've turned this off but no change using the zoom feature.

I also have a PlotChangeListener and I've turned that off
and again no change when using this zoom feature.

Fred
by Fred
Tue Jan 24, 2017 8:12 pm
Forum: JFreeChart
Topic: zoom on one chart - chartPanel update to all
Replies: 11
Views: 8418

Re: zoom on one chart - chartPanel update to all

Thanks again Paradoxoff. I think the issue was that the 2 disparate charts do not represent time/time the same way. However, I've created another chart that does and the issue I'm seeing now is the same regardless of which chart I do the initial zoom on. The chart where the zoom is issued on works f...
by Fred
Mon Jan 23, 2017 6:27 pm
Forum: JFreeChart
Topic: zoom on one chart - chartPanel update to all
Replies: 11
Views: 8418

Re: zoom on one chart - chartPanel update to all

Thanks Paradoxoff. I've created the class and ran some tests. It works mostly. I did see one issue. If I zoom on one chart but elect to AutoRange out on another, the one chart that was used to do the initial zoom does not AutoRange out. Not sure why that happens in looking at the code. But this does...