giggetto71 Active Member Licensed User Longtime User Mar 28, 2025 #1 Hi, I am using the great xgraph libray by @klaus to draw a line type of graph out of points coming from sensors I have a question. If I use autoscale, the graph adds automatically a (0,0) point and if the values are very close one to each other in y (like for example a temperature which varies very slowly) you kind of lose visually the small variations until the max number of points are exceeded. at that point the autoscale works very good and the graph is scaled nicely so you can appreciate even small variations. Is there a way to avoid the (0.0) point addition and still keep the autoscale? thanks!
Hi, I am using the great xgraph libray by @klaus to draw a line type of graph out of points coming from sensors I have a question. If I use autoscale, the graph adds automatically a (0,0) point and if the values are very close one to each other in y (like for example a temperature which varies very slowly) you kind of lose visually the small variations until the max number of points are exceeded. at that point the autoscale works very good and the graph is scaled nicely so you can appreciate even small variations. Is there a way to avoid the (0.0) point addition and still keep the autoscale? thanks!
klaus Expert Licensed User Longtime User Mar 28, 2025 #2 The graphs you are showing look like xChart line graphs and not xGraph graphs. None of these libraries adds any point on its own. How do you add the points ? My be you add them in a For / Next loop beginning with 1 and not 0. Upvote 0
The graphs you are showing look like xChart line graphs and not xGraph graphs. None of these libraries adds any point on its own. How do you add the points ? My be you add them in a For / Next loop beginning with 1 and not 0.
giggetto71 Active Member Licensed User Longtime User Mar 28, 2025 #3 @klaus I am clearly too old...you are right for both: the lib (great lib) is indeed xChart and NOT xGraph..and yes..the (0,0) was from me.. Upvote 0
@klaus I am clearly too old...you are right for both: the lib (great lib) is indeed xChart and NOT xGraph..and yes..the (0,0) was from me..