MindFusion.Charting Programmer's Guide

Chart.ChartSize Property

See Also
 





Specifies the size of the chart's bounding rectangle.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public SizeF ChartSize { get; }

Visual Basic  Copy Code

Public ReadOnly Property ChartSize As SizeF

 Property Value

A value of type .NET SizeF structure.

 Remarks

The property is read-only and specifies the size of the chart.

Note

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).

 See Also