giggetto71 Active Member Licensed User Longtime User Mar 11, 2023 #1 Hi, I am using the great xChart library. I think I found an issue (or maybe I am missing something). i am attaching a super simple project: it's just a button that sets values to the xChart line chart. the xChart has autoscale set to true: if I set decimal values below x.5 (include) it works fine. (you can try by setting for example 1.5 for 10 or more times. same for 1.4,1.3,1,2,1,1 a 1.0. if I try to do the same with 1.6 or 1.7 or 1.8 or 1.9 the line disappears after the 10 point.. Any idea? Attachments XChartAutoScale.zip XChartAutoScale.zip 10.8 KB · Views: 362
Hi, I am using the great xChart library. I think I found an issue (or maybe I am missing something). i am attaching a super simple project: it's just a button that sets values to the xChart line chart. the xChart has autoscale set to true: if I set decimal values below x.5 (include) it works fine. (you can try by setting for example 1.5 for 10 or more times. same for 1.4,1.3,1,2,1,1 a 1.0. if I try to do the same with 1.6 or 1.7 or 1.8 or 1.9 the line disappears after the 10 point.. Any idea?
klaus Expert Licensed User Longtime User Mar 11, 2023 #2 Can you please test the new xChart.b4xlib. The automatic scales calculation was wrong when all points have the same value and especially when there was only one point. Attachments xChart.b4xlib xChart.b4xlib 46.2 KB · Views: 402 Upvote 0
Can you please test the new xChart.b4xlib. The automatic scales calculation was wrong when all points have the same value and especially when there was only one point.
giggetto71 Active Member Licensed User Longtime User Mar 11, 2023 #3 yes! works like a charm! thanks for this super quick fix! you are one the many blessings in this incredible community! thanks!!! Upvote 0
yes! works like a charm! thanks for this super quick fix! you are one the many blessings in this incredible community! thanks!!!