Stair Displayer
A stair displayer has the following basic characteristics:
Class |
|
Category |
Single |
Inherits from |
|
Number of real data sets displayed |
1 |
Can be used with all types of projections |
Yes |
Items drawn |
Stairs |
Stair Displayers in a Cartesian Chart and in a Polar Chart illustrates the fact that a stair displayer can be used with all types of projections. Data sets are represented by stair displayers in a Cartesian chart (using a Cartesian projection) and in a polar chart (using a polar projection).
Stair Displayers in a Cartesian Chart and in a Polar Chart
We can use the stair displayer displaying the gold stairs as an example. We can create this displayer by using the following code:
IlvPalette* palette = dpy->getPalette(dpy->getColor("gold"), dpy->getColor("red"), 0,0,0,0,2); IlvStairChartDisplayer* displayer = new IlvStairChartDisplayer(palette); |
Note
By default, the stairs are outlined with the foreground color and filled with the background color of the defined palette. They will be displayed only with the outline if the Drawn Filled property is set to IlvFalse. |