Search found 11 matches

by Rex Feral
Mon Jun 06, 2016 1:01 pm
Forum: JFreeChart
Topic: Zoom In rectangle color
Replies: 0
Views: 4155

Zoom In rectangle color

My chart composites have by virtue of design, charts with a black background and green plots. Unfortunately the black background renders the zoom in rectangle lines all but invisible. I would like to keep my design but also see the area to which I zoom to. How can I change the paint of the Zoom rect...
by Rex Feral
Mon Jun 06, 2016 12:58 pm
Forum: JFreeChart
Topic: Chart Composite - Make tooltips last longer
Replies: 0
Views: 3963

Chart Composite - Make tooltips last longer

Currently working on an Eclipse plugin with Jfreechart, I have chart composites with some custom tooltip generators that show information from a data provider. Problem is they only last for about 5 seconds then disappear. I want them to last until I move the mouse. I know the usual solution is to us...
by Rex Feral
Wed May 04, 2016 3:24 pm
Forum: JFreeChart
Topic: How to increase a Barchart's minimum width for large charts
Replies: 7
Views: 6842

Re: How to increase a Barchart's minimum width for large cha

Well, this was a great step forward.

I made a custom XYBarRenderer and and overrided the drawItem() method to make the bar width larger if and where there is space on the chart (if it doesn't overlap with other barcharts).

Thanks a lot!
by Rex Feral
Tue May 03, 2016 1:08 pm
Forum: JFreeChart
Topic: TooltipGenerator-generateTooltip() with chart title argument
Replies: 2
Views: 3942

Re: TooltipGenerator-generateTooltip() with chart title argu

Brilliant! Yes, indeed, the problem I had was that having lots of charts the tooltip generator, which was the same for all, couldn't tell from another if they had the same dataset but different data values in my data provider with which it needed to connect. By adding the tooltip generator to the ch...
by Rex Feral
Tue May 03, 2016 7:18 am
Forum: JFreeChart
Topic: How to increase a Barchart's minimum width for large charts
Replies: 7
Views: 6842

Re: How to increase a Barchart's minimum width for large cha

Well Annotation and Markers with labels both seem not to work really that well. The problem being that Markers are given on a certain interval and an accurate +10/-10 interval is still shrinked to the maximum and unnoticeable on a 1000000 units axis. Also further effort required into resizing the ma...
by Rex Feral
Thu Apr 28, 2016 4:41 pm
Forum: JFreeChart
Topic: TooltipGenerator-generateTooltip() with chart title argument
Replies: 2
Views: 3942

TooltipGenerator-generateTooltip() with chart title argument

I have a custom Eclipse View that I fill with a lot charts representing signals. Now I want to make my own Tooltip generator for some Barcharts as to show some indications collected from a data layer on mouse hover. The problem is the generateToolTip() method only accepts dataset:XYDataset, series:i...
by Rex Feral
Wed Apr 27, 2016 12:53 pm
Forum: JFreeChart
Topic: How to increase a Barchart's minimum width for large charts
Replies: 7
Views: 6842

Re: How to increase a Barchart's minimum width for large cha

I knew about Annotation, but it's the first time I hear about Marker. I had a quick look over what it is and looks interesting, as long as I can put it on a Numerical Axis and it doesn't shrink to becoming unobservable. Thanks, I'll have to try it. And yes I did post on StackOverflow, before conside...
by Rex Feral
Wed Apr 27, 2016 9:50 am
Forum: JFreeChart
Topic: How to increase a Barchart's minimum width for large charts
Replies: 7
Views: 6842

How to increase a Barchart's minimum width for large charts

I'm trying to make something of a signal viewer using step charts(each representing a signal over time) and bar charts (representing moments where the signal value was not as expected) It pretty much looks like this: http://i.stack.imgur.com/uzvxz.png The problem is the barchart shrinks down to a mi...
by Rex Feral
Tue Mar 08, 2016 9:29 am
Forum: JFreeChart
Topic: SWT - ChartComposite - removeAllMenuItems method
Replies: 2
Views: 3150

Re: SWT - ChartComposite - removeAllMenuItems method

Ah yes, adding a DisposeListener should do, although I can't say for certain where and how, since I can't see the ChartComposite code (I only I have the class file and no source code). Might try later overriding some methods (addSWTListener?) or adding by constructor. What also works is overriding t...
by Rex Feral
Mon Mar 07, 2016 2:38 pm
Forum: JFreeChart
Topic: SWT - ChartComposite - removeAllMenuItems method
Replies: 2
Views: 3150

SWT - ChartComposite - removeAllMenuItems method

I worked a little with ChartComposite for an Eclipse plugin application and have noticed that it never disposes its MenuItems from the popupMenu. While this doesn't normally hurt, if you happen to create over about 2000-3000 ChartComposites (depending on RAM probably) over the application's lifetime...
by Rex Feral
Tue Feb 23, 2016 9:06 am
Forum: JFreeChart
Topic: Setting size to individual charts composing a Combined Chart
Replies: 2
Views: 3163

Setting size to individual charts composing a Combined Chart

Hi! I'm working with JFreeChart for an Eclipse plugin so I'm using the ChartComposite to integrate charts into a view. I'm currently trying to make Combined Chart that will hold many smaller charts depicting signals. The problem is that the little charts keep resizing each time I change the view/pan...