Polygon Displayer
A polygon 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 | Polygon |
Polygon Displayers in a Cartesian Chart and in a Polar Chart illustrates the fact that a polygon displayer can be used with all types of projections. Data sets are represented by polygon displayers in a Cartesian chart (using a Cartesian projection) and in a polar chart (using a polar projection).
Polygon Displayers in a Cartesian Chart and in a Polar Chart
We can use the polygon displayer displaying the cyan polygon as an example. We can create this displayer by using the following code:
IlvPolygonChartDisplayer* displayer = new IlvPolygonChartDisplayer(); displayer->setForeground(dpy->getColor("blue")); displayer->setBackground(dpy->getColor("cyan")); |
Note: By default, the polygon is outlined with the foreground color and filled with the background color of the defined palette. It will be displayed only with the outline if the Drawn Filled property is set to IlvFalse. |
Version 6.2.1
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.