Specifies the size of the chart's bounding rectangle.
Namespace: MindFusion.Charting
Assembly: MindFusion.Charting
C#
![]() |
---|
public SizeF ChartSize { get; } |
Visual Basic
![]() |
---|
Public ReadOnly Property ChartSize As SizeF |
A value of type .NET SizeF structure.
The property is read-only and specifies the size of the chart.
![]() |
---|
If you access it before specifying all chart settings, the result might not be correct. |
The property is meaningful when using the control programmatically. The size of the chart is calculated according to its data and customization options and cannot be changed. You can also use the CalculateSize method to calculate the dimensions of the chart's bounding rectangle.
The size of the chart does not change when the chart's TopLeftPosition property is changed.
Initial value for the ChartSize property is (0, 0).