IntensityGridSeries, size of pixel

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
lukoprovandrey
Posts: 29
Joined: Fri Sep 04, 2015 2:30 pm

IntensityGridSeries, size of pixel

Post by lukoprovandrey » Wed Feb 08, 2017 3:44 pm

Hello,

Can I set or get the size of IntensityGridSeries pixel?

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

Re: IntensityGridSeries, size of pixel

Post by ArctionPasi » Wed Feb 15, 2017 4:49 pm

Hello... I think this was already answered but for some reason the reply is not visible here anymore. :shock:

Pixel size can't be controlled directly.

For simplicity, I'll just explain X dimension...

grid.RangeMinX and RangeMaxX set the axis range the IntensitySeries is stretched to. Grid.SizeX tells how many columns there is. The range in pixels is distributed evenly for each column.

To convert between Axis values (which RangeMinX and RangeMaxX are too) to pixels, you can use xAxis.ValueToCoord method.

Respectively, use RangeMinY and RangeMaxY, SizeY and yAxis.ValueToCoord.

I hope this helps. :)
LightningChart Support Team, PT

lukoprovandrey
Posts: 29
Joined: Fri Sep 04, 2015 2:30 pm

Re: IntensityGridSeries, size of pixel

Post by lukoprovandrey » Thu Feb 16, 2017 6:41 am

Thanks for the reply, I will try

Post Reply