[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-openjfx-dev
Subject: Re: JavaFX XYChart with CategoryAxis Performance Issue
From: Tai Hu <tai.hu () veroanalytics ! com>
Date: 2016-08-31 21:39:14
Message-ID: 5F03B299-E21B-4276-A617-3C8390848E71 () veroanalytics ! com
[Download RAW message or body]
Jonathan,
That is my bad. Here is a simple self-contained test. I could plot =
10000 in 40 seconds (Our goal is to bring down to 5 seconds) on my =
MacBook Pro (i5 CPU). If I increased number to 100K (that will be the =
upper limit for our application), chart did not render in 6 minutes and =
I have to kill the program. By the way, I am using JDK 8u102.
Thanks,
Tai=
> On Aug 31, 2016, at 5:04 PM, Jonathan Giles <jonathan.giles@oracle.com> wrote:
>
> Without a small snippet of code that reproduces the problem, not really. If you can \
> create a self-contained test that demonstrates the problem, I can take a look at \
> it.
> -- Jonathan
>
> On 1/09/16 7:08 AM, Tai Hu wrote:
> > I am using JavaFX XYChart to plot some big data set (10000+ points). If both X \
> > and Y axis are NumberAxis, my line chart could render in a reasonable time, if I \
> > set chart.setCreateSymbol(false). However, if one of axis is a CategoryAxis, then \
> > performance is horrible. I think the problem is CategoryAxis creates a tick for \
> > each one of 10000+ strings. I already tried to set tick visibility to false, \
> > which help a bit, but still too slow. Is there anyway to improve this?
> > Thanks,
> >
> > Tai
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic