Hi Pasi,
I would like to calculate in my chart "IntensityGridSeries" aspect ratio. Since my display area is rectangular, I have to make sure that the chart object is never shown distorted. I will need the height and width of the area shown in pixels.
About what property I can get the values?
Or do you know a better method?
The chart is filled with a two-dimensional array and the distance between the values is 0.5 mm. This must be shown undistorted even with variable scaling, by the user.
Calculate Aspect Ratio Chart
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Calculate Aspect Ratio Chart
Hi Felix,
set ViewXY.ZoomPanOptions.AspectRatioOptions.AspectRatio = Manual
ViewXY.ZoomPanOptions.AspectRatioOptions.ManualAspectRatioWH = 1.
Ensure you are running with the latest version 5.3.4.
set ViewXY.ZoomPanOptions.AspectRatioOptions.AspectRatio = Manual
ViewXY.ZoomPanOptions.AspectRatioOptions.ManualAspectRatioWH = 1.
Ensure you are running with the latest version 5.3.4.
LightningChart Support Team, PT