Page 1 of 1

IntensityGridSeries, size of pixel

Posted: Wed Feb 08, 2017 3:44 pm
by lukoprovandrey
Hello,

Can I set or get the size of IntensityGridSeries pixel?

Re: IntensityGridSeries, size of pixel

Posted: Wed Feb 15, 2017 4:49 pm
by ArctionPasi
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. :)

Re: IntensityGridSeries, size of pixel

Posted: Thu Feb 16, 2017 6:41 am
by lukoprovandrey
Thanks for the reply, I will try