Using Charts with Rogue Wave Views Studio > Using Polar Charts > Example 2: Representing Time Values > Defining the Displayer
 
Defining the Displayer
You are now going to set the type of the displayer used to display the data set representing the morning temperatures.
1. Select the Displayers page of the Chart inspector.
The top of this page displays the list of data sets and the list of displayers created for the current chart. At this stage, you can either use a displayer that is already defined for the current chart or create another displayer by simply clicking the Insert icon  below the Displayers list.
Just remember to delete the displayers that you will not use since we only need one displayer for our example. To delete a displayer, select the displayer and click the Remove icon below the Displayers list.
2. Make sure the first displayer is selected in the Displayers list.
This displayer will be used to display the Morning Temperatures data set.
3. For the displayer to display the Morning Temperatures data set, the toggle in front of the Morning Temperatures data set must be checked. If it is not checked, click the toggle.
Next, you must specify the type of displayer for the data set. Because you want to represent the morning temperatures with a marked polyline, you must specify a marked polyline displayer.
4. Make sure “Marked polyline” is selected in the Displayer type list. If it is not selected, select “Marked polyline” in the Displayer type list.
5. Click Apply to validate the changes.
Now that you have defined the data set and the displayer you need, you are going to customize the projection.
Customizing the Projection
1. Select the Projection page of the Chart inspector.
This is where you specify a starting angle and a range that tells the projector how to map the hours along the abscissa scale.
2. Make sure the option “Projected values expressed in degrees” is deselected.
3. Enter 90 in the Starting angle field.
This means that you want the minimum value considered for the data abscissa values to be drawn at a 90‑degree angle.
4. Enter 360 in the Range field.
This means that you want the maximum value considered for the data abscissa values to be drawn at a 450‑degree angle (= starting angle + range). In other words, the abscissa values will be drawn along a full circle.
5. Make sure the option “Oriented clockwise” is selected.
The values will be displayed clockwise.
6. Click Apply to validate the changes.
To complete your polar chart, you need to customize both scales.

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