fair-acc / chart-fx

A scientific charting library focused on performance optimised real-time data visualisation at 25 Hz update rates for data sets with a few 10 thousand up to 5 million data points.
GNU Lesser General Public License v3.0
488 stars 90 forks source link

axis auto range and axis tick label issue after `setLogAxis=true` #654

Closed JungleHH closed 3 months ago

JungleHH commented 5 months ago

Describe the bug I use XYChart and DefaultNumericAxis, and setting

xAxis.setAutoRanging(true);
xAxis.setAutoRangeRounding(true);
xAxis.setAutoRangePadding(0.2);

Error occur in I setLogAxis=true then setLogAxis=false.

  1. Then axis tick label disappeared until there are new data come in which is not closed to the previous data.(Picture 1)
    pic1

  2. The axis label will be covered by axis tick label .(Picture 2) pic2

These happens occasionally. It seems that new different data will trigger auto re-render, everything will be ok. But if new data is closed to old data, these problems will appear more often.

Are there some preferences I set wrong or missed? Or when I toggle LogAxis, there are something else have to be done?

Environment:

RalphSteinhagen commented 5 months ago

@JungleHH thanks for reporting this.

This was a known bug which we tackled with the new 11.3 release.

Could you perhaps port your application and use the newer version and see if this problem still persists?

Thanks in advance.

wirew0rm commented 3 months ago

Since there was no further response, i'll assume this was solved in 11.3.0 and close this, feel free to reopen if the problem can be reproduced on the latest release.