MinValue

View as Markdown

Definition

Indicates the minimum Y value of objects within the chart panel, based on the current y-axis scale. The scale of the y-axis is dependent upon the values of objects in the panel which have Auto Scale enabled.

Property Value

A double representing the minimum Y value in the panel’s vertical scale

Syntax

ChartPanel.MinValue

Examples

1protected override void OnRender(ChartControl chartControl, ChartScale chartScale)**
2{
3 base.OnRender(chartControl, chartScale);
4
5 // Print the minimum and maximum Y values for objects in the panel
6 Print(String.Format("Min value: {0}, Max value: {1}", **ChartPanel.MinValue**, **ChartPanel.MaxValue**));
7}