JavaFX XYChart with CategoryAxis Performance Issue
Tai Hu
tai.hu at veroanalytics.com
Wed Aug 31 19:08:24 UTC 2016
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
More information about the openjfx-dev
mailing list