ChartDirector 7.1 (C++ Edition)

XYChart.xScaleColor


Usage

int xScaleColor(DoubleArray 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.