Possible bug on ClipAreas after upgrading to 6.3.2

Found a possible bug in LightningChart? Report it here.

Moderator: Queue Moderators

Post Reply
vifani
Posts: 49
Joined: Thu May 02, 2013 8:35 am

Possible bug on ClipAreas after upgrading to 6.3.2

Post by vifani » Fri Jan 09, 2015 2:43 pm

Hi,
in my chart I use ClipAreas to hide wrong y Values of series.
When a wrong value is going to be shown, I change y value to double.NaN and than I set a cliparea to hide it.
After upgrading to latest version some vertical lines are shown on the chart.
Is there a way to avoid this problem?

See attachment:
ClipAreaBug.PNG
ClipAreaBug.PNG (82.98 KiB) Viewed 9089 times

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

Re: Possible bug on ClipAreas after upgrading to 6.3.2

Post by ArctionPasi » Fri Jan 09, 2015 2:55 pm

Hi. There's MarginPixels field in ClipArea structure now. Increase it.

From version 6.3.2 log:
- ViewXY series' ClipAreas adjustable margin added. MarginPixels positive values clip this many pixels more from left and right (or bottom and top when Direction = Y), and negative values less.
LightningChart Support Team, PT

vifani
Posts: 49
Joined: Thu May 02, 2013 8:35 am

Re: Possible bug on ClipAreas after upgrading to 6.3.2

Post by vifani » Fri Jan 09, 2015 3:04 pm

If MarginPixels = 0 why the behaviour change from the previous version?

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

Re: Possible bug on ClipAreas after upgrading to 6.3.2

Post by ArctionPasi » Fri Jan 09, 2015 3:14 pm

In 6.3.1 :
- ClipAreas clips off one pixel more from left and right

and now in 6.3.2 we changed it to be adjustable instead of 1 because it didn't suit for everyone.
LightningChart Support Team, PT

Post Reply