Search found 16 matches

by SystemsEngineer
Wed Apr 26, 2017 12:44 pm
Forum: JFreeChart
Topic: Change tool tip font
Replies: 4
Views: 4627

Re: Change tool tip font

Thank you very much for your response. I tried to change the global UI font for the tooltips doing something like UIManager.put("ToolTip.font", new FontUIResource("SansSerif", Font.BOLD, 28)); but the tooltips remained unaffected. However, it seems that, when used within a JavaFX app, the JFreeChart...
by SystemsEngineer
Tue Apr 25, 2017 2:29 pm
Forum: JFreeChart
Topic: Change tool tip font
Replies: 4
Views: 4627

Change tool tip font

Hello,

Is it possible to change the font of a chart tool tip (of a series or a legend)?

Thanks a lot!
by SystemsEngineer
Thu Apr 06, 2017 9:33 am
Forum: JFreeChart
Topic: Crosshair lock doesn't work properly with multiple axes
Replies: 5
Views: 6268

Re: Crosshair lock doesn't work properly with multiple axes

That's good news David thanks a lot.
I guess I shall wait until the next release then!
by SystemsEngineer
Wed Apr 05, 2017 3:17 pm
Forum: JFreeChart
Topic: Crosshair lock doesn't work properly with multiple axes
Replies: 5
Views: 6268

Re: Crosshair lock doesn't work properly with multiple axes

Hello, First, I apologise for the (very) late response. You can see below a small sample runnable piece of code which shows the issue. If you try to click on the points of the blue line (which is related to the 2nd axis), for example on (1994, 25), you can see that the vertical axis crosshair points...
by SystemsEngineer
Mon Apr 03, 2017 6:35 pm
Forum: JFreeChart
Topic: Get series index from the crosshair
Replies: 1
Views: 2734

Get series index from the crosshair

Hi,

I was wondering if it is possible to get the series index (or key) of a data point which a crosshair points at (in the same way we can get its x, y values for example).

Any help is welcome!
by SystemsEngineer
Mon Apr 03, 2017 6:30 pm
Forum: JFreeChart
Topic: Slow performance with large TimeSeries Dataset
Replies: 4
Views: 4382

Re: Slow performance with large TimeSeries Dataset

As you said, first I create the dataset and then I create the chart and add the dataset to it. The renderer is a simple XYLineAndShapeRenderer. However, I will consider your suggestion about the DefaultXYDataset.
Thanks a lot!
by SystemsEngineer
Mon Apr 03, 2017 2:48 pm
Forum: JFreeChart
Topic: Slow performance with large TimeSeries Dataset
Replies: 4
Views: 4382

Re: Slow performance with large TimeSeries Dataset

Thanks for your reply.

You were right, I was retrieving the data from a database which created the additional delay. Now this is fixed and plots up to 5E4 data points are generated fast, I've noticed however that beyond that the delay (around 10 sec) is inevitable, which I suppose is expected (?).
by SystemsEngineer
Thu Mar 30, 2017 11:41 am
Forum: JFreeChart
Topic: Slow performance with large TimeSeries Dataset
Replies: 4
Views: 4382

Slow performance with large TimeSeries Dataset

Hello, I'm trying to plot a relatively large TimeSeries data set (about 2000 data points) and it takes almost 1 minute to plot! I changed the renderer from XYLineAndShapeRenderer to SamplingXYLineRenderer but it made no difference. I also tried to add data and create the data set before I create the...
by SystemsEngineer
Thu Mar 16, 2017 5:45 pm
Forum: JFreeChart
Topic: Dashed lines don't appear when using ChartViewer
Replies: 5
Views: 5209

Re: Dashed lines don't appear when using ChartViewer

Thanks for the quick response!

You are right I was using the FXGraphics2D.java from release 1.0.19 (didn't know about the updates...). After updating it with the new code it works fine!
by SystemsEngineer
Thu Mar 16, 2017 10:35 am
Forum: JFreeChart
Topic: Dashed lines don't appear when using ChartViewer
Replies: 5
Views: 5209

Re: Slow chart functionalities and dashed lines don't appear

Thanks a lot for your reply! I managed to solve my performance issue. As far as the dashed lines problem, I wrote that as saved jpeg image, the dashed lines of my JFreeChart appear as they should. The problem is when the chart is drawn and appeared within a ChartViewer in my application (I use JavaF...
by SystemsEngineer
Wed Mar 15, 2017 1:15 pm
Forum: JFreeChart
Topic: Dashed lines don't appear when using ChartViewer
Replies: 5
Views: 5209

Dashed lines don't appear when using ChartViewer

Hello, I am using JFreeChart with JavaFX. For the needs of my application I have to redraw the whole chart several times. At the first time, all chart functions (zooming, panning, etc.) perform pretty well. However, after several times of redrawing, these functionalities become very sluggish. Keep i...
by SystemsEngineer
Fri Jan 27, 2017 11:42 am
Forum: JFreeChart
Topic: Crosshair lock doesn't work properly with multiple axes
Replies: 5
Views: 6268

Crosshair lock doesn't work properly with multiple axes

Hello, I'm using JFreeChart 1.0.19 and I want to lock the crosshair on data points even when I have multiple vertical axes. However, when I click on a series bound to the secondary axis the crosshair points to the corresponding value of the primary axis which is annoying! Do you have any idea how th...
by SystemsEngineer
Wed Jan 25, 2017 3:51 pm
Forum: JFreeChart
Topic: Multiple fonts in the same chart title or axis label
Replies: 2
Views: 3188

Re: Multiple fonts in the same chart title or axis label

Thank you very much for your help! It worked perfectly!
by SystemsEngineer
Wed Jan 25, 2017 10:13 am
Forum: JFreeChart
Topic: Multiple fonts in the same chart title or axis label
Replies: 2
Views: 3188

Multiple fonts in the same chart title or axis label

Hello, I've been trying to use am HTML wrapped string (e.g. "<html><b>Time</b> (seconds)</html>") but it seems that JFreeChart methods for setting text to chart labels (e.g. "setLabel") do not "understand" the html wrapping. Do you have any idea how I could implement this (I want generally to apply ...
by SystemsEngineer
Fri Jan 20, 2017 4:01 pm
Forum: JFreeChart
Topic: Single axis zoom property disabling in a multi-axis chart
Replies: 3
Views: 3419

Re: Single axis zoom property disabling in a multi-axis char

Thanks a lot paradoxoff! Your answer was helpful.

It would be nice though to have this feature integrated so that axes can be easily zoomed in and out individually and not in blocks of either range or domain axes.