Hi,
I need to know the width and height of the chart area in pixels. Any idea on how to do this?
Size (in pixels) of ViewXY
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Size (in pixels) of ViewXY
Hi,
Use these.
width = chart.ActualWidth - chart.ViewXY.Margins.Left - chart.ViewXY.Margins.Right
height = chart.ActualHeight - chart.ViewXY.Margins.Top- chart.ViewXY.Margins.Bottom
Use these.
width = chart.ActualWidth - chart.ViewXY.Margins.Left - chart.ViewXY.Margins.Right
height = chart.ActualHeight - chart.ViewXY.Margins.Top- chart.ViewXY.Margins.Bottom
LightningChart Support Team, PT
Re: Size (in pixels) of ViewXY
These work well, my thanks.