How to edit ViewXY chart of X Axis

Not familiar with licensing? Need help in installing LightningChart Ultimate SDK? User's manual is missing? Post general questions here.

Moderator: Queue Moderators

Post Reply
Lawrence_Jung
Posts: 14
Joined: Mon Jul 03, 2017 8:43 am

How to edit ViewXY chart of X Axis

Post by Lawrence_Jung » Tue Jul 18, 2017 2:43 am

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??
Attachments
3 question
3 question
ZoomIn_Before.JPG (107.35 KiB) Viewed 16837 times
3 question
3 question
ZoomIn_After.JPG (97.77 KiB) Viewed 16837 times
1, 2 number of question
1, 2 number of question
LC_00.jpg (183.07 KiB) Viewed 16837 times

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: How to edit ViewXY chart of X Axis

Post by ArctionPasi » Thu Jul 20, 2017 5:56 pm

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 16823 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 :)
LightningChart Support Team, PT

Post Reply