|
PointColors
Purpose This property array allows control of colors for individual data points, bars, and line segments. If you use this property array, you must declare as many colors as you do YData, except for specific plotting methods as discussed below. When setting this property, it generally takes over all data coloring logic of SubsetColors.
Comments If you do not assign enough colors to match YData, the unassigned colors will default to Black (Gdi/Hybrid), and default to Invisible (GdiPlus.)
For Line plotting methods, PointColorLineAdj optionally controls how line segments are colored.
PeColor.PointColors members of Pego.PeColor, Pesgo.PeColor, Pe3do.PeColor, Pepso.PeColor
This property has an effect on the following plotting methods (PlottingMethod): Point, Point plus Line, Point plus Best Fits, Bar, Line, HighLow, HighLowClose, OpenHighLowClose, BoxPlot, and Bubble.
For the Point plus Best Fit Line and Point plus Best Fit Curve plotting methods, the best fit line is still colored via the SubsetColors property.
For the specific plotting methods HighLow, HighLowClose, OpenHighLowClose, and BoxPlot plotting methods, you only need to define as many colors as there are Points. Not Subsets X Points as you would normally.
When using this property, the standard legends may confuse the user since they are designed to relate one color to a subset. There are two methods to improve this situation.
1) You can disable all subset legends by using SubsetsToLegend property array and setting the first element equal to -1.
2) You can use the LegendAnnotationType and related properties to define legends which identify the meaning of your colors. These legends are only shown if ShowAnnotations equals true so you may want to set this property equal to true and set the AllowAnnotationControl property to FALSE to prevent the user from removing the legends.
The format of the data is defined by the SubsetByPoint property.
When used with Surface Polygon mode of the 3D Scientific Graph object, this property controls the per polygon color. When used with the Scatter mode of the 3D Scientific Graph object, this property works similar to that of the Graph and Scientific Graph.
Within the demo, see example 008.
|
©2022 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc. |