Hello,
Can I set or get the size of IntensityGridSeries pixel?
IntensityGridSeries, size of pixel
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: IntensityGridSeries, size of pixel
Hello... I think this was already answered but for some reason the reply is not visible here anymore.
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.
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
-
- Posts: 29
- Joined: Fri Sep 04, 2015 2:30 pm
Re: IntensityGridSeries, size of pixel
Thanks for the reply, I will try