ChartDirector 5.1 (.NET Edition)

WinChartViewer.ChartSizeMode


Declaration

[VB] Public Property ChartSizeMode As WinChartSizeMode
[C#] public WinChartSizeMode ChartSizeMode {get; set;};

Description

Determine the sizing method of the WinChartViewer control.

The WinChartViewer control supports 2 sizing methods, depending on the value of ChartSizeMode. The default is WinChartSizeMode.AutoSize.

ConstantDescription
WinChartSizeMode.AutoSizeThe control will be resized to the actual size of the chart image, determined at runtime.
WinChartSizeMode.StretchImageThe chart image will be resized to fit into the control, stretching or compressing the image if necessary.