ChartDirector 7.1 (.NET Edition)

WinChartViewer.ChartSizeMode


Declaration

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

Description

Determine the sizing method of the chart image.

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