Gauges for WinForms | ComponentOne
Gauges for WinForms Task-Based Help / Setting up the Scale
In This Topic
    Setting up the Scale
    In This Topic

    Each gauge inside C1Gauge has its own scale and set of marks and labels. Our empty gauge has none of these yet so let’s first declare our maximum and minimum values.

    1. Click the ellipsis button next to the Gauges property in the Properties window. The C1Gauge.Gauges Collection Editor dialog box opens.
    2. Set the Minimum property to 0 and the Maximum property to 120. The gauge scale will run from 0 to 120.

    C1Gauge.Gauges Collection Editor

    You won’t see anything until you add some tick marks or labels. To add these, open the Decorators collection editor.

    See Also