Using Charts with Rogue Wave Views Studio > Using Polar Charts > Example 2: Representing Time Values > Customizing the Abscissa Scale
 
Customizing the Abscissa Scale
To customize the abscissa scale for this example, you need to perform the following tasks:
*Specifying the Minimum and Maximum Data Values
*Setting the Graduations
Specifying the Minimum and Maximum Data Values
1. Select the Scales page of the Chart inspector.
2. Make sure Abscissa is selected in the Scales list.
The right part of the Scales page displays several subpages that describe the properties of the selected scale.
3. Make sure the General subpage is displayed in front.
This is where you specify the minimum and maximum data values that will be represented by this scale.
4. Enter 0 in the Min field and 12 in the Max field.
These values are chosen because the minimum and maximum values must be expressed in the same coordinate system as the data and the abscissa scale should represent the hours as on a clock.
5. Click Apply to validate the changes.
Setting the Graduations
1. Click the Steps tab of the Scales page.
2. Make sure “Step number” is selected in the Step definition list.
3. Set 13 as the number of steps and 4 as the number of substeps between steps so that the abscissa scale resembles a clock.
4. Click Apply to validate the changes.

Version 5.5.1
Copyright © 2012, Rogue Wave Software, Inc. All Rights Reserved.