Page 1 of 1

How to edit ViewXY chart of X Axis

Posted: Tue Jul 18, 2017 2:43 am
by Lawrence_Jung
Hello

I need some solution. and My English is not well.
1. How can i edit X Axis of NaN data in Winform 2D XY charts

Example) X axis value is 1,2,3,4,5 and 10,11,12,13,14
then i don't want watch to 6,7,8,9 value of X Axis

2. what is unknown lines in picture, how to remove this lines??
is it possible?

3. I use to ZoomIn then Some series is hide. I use 6 series while Series have 150,000 points.
Is it bug?? or Is it Impossible??

Re: How to edit ViewXY chart of X Axis

Posted: Thu Jul 20, 2017 5:56 pm
by ArctionPasi
Hello Mr Jung,

1-2) You must enable the data breaking in the series. You can select which value to use for breaking (not just NaN), and is it enabled or not.
DataBreaking.jpg
DataBreaking.jpg (63.83 KiB) Viewed 16974 times
Please see LightningChart User's manual, section "DataBreaking by NaN or other value" for details. And also check Demo application's example "Line Breaking by NaN", it'ss one of the very first examples in most of the demo applications.

If you feed NaNs and series.DataBreaking is not enabled, it will draw crazy lines, or no lines at all. For performance reasons, we recommend keeping DataBreaking enabled only when you know there's going to be NaNs in the data.


3) If series hide when you are zooming, it means typically that you have invalid data in your series. Invalid data is e.g.
- using NaNs when DataBreaking.Enabled == false,
- using descending PointLineSEries X values. The X values must be same or grow all the time. PointLineSeries is a progressing series .

I hope this helps :)