ChartDirector 7.0 (Python Edition)

XYChart.xScaleColor


Usage

xScaleColor(colorStops)

Description

Creates an x-scale color. An x-scale is a color that will vary depending on the x value of the pixel.

Arguments

ArgumentDefaultDescription
colorStops(Mandatory)An array that defines the mapping from data values to colors. Please refer to ColorAxis.setColorScale for the format of this array.

Return Value

A 32-bit integer representing the x scale color.