Creates an x-zone color. An x-zone will change from one color to another depending on a threshold value on the x-axis.
For example, if an x-zone color is used as the line color in a line layer, the line will switch from one color to another when its passes through a certain value on the x-axis. Similarly, if an x-zone color is used as the fill color in an area layer, the area will switch from one color to another when it passes through a certain value on the x-axis.
The two colors used in an x-zone color can be other dynamic colors. For example, one color can be a solid color, while the other color can be a dash line color (see !BaseChart.dashLineColor). When this x-zone color is as the line color, the line will change from a solid style to a dash line style when the line passes through a certain value on the x-axis
You may create x-zone colors with more than 2 zones by cascading multiple x-zone colors.
For a 3D chart, this method will get the zone color at the top surface of the chart. Use
Layer.xZoneColor to obtain the zone color for a particular chart layer.
© 2014 Advanced Software Engineering Limited. All rights reserved.