PCAxis.BaseStroke

Syntax

BaseStroke: PP.Color || String;

Description

The BaseStroke property determines color for the major line of chart axis.

Comments

Use JSON or the setBaseStroke method to set the property value, and the getBaseStroke method to get the property value.

Example

Executing the example requires the ParallelCoordinates component named coord (see Example of Creating the ParallelCoordinates Component). Change color for the major line of the first axis and refresh the chart:

// Set color for major line of the first axis
coord.getAxes()[0].setBaseStroke("#AC6BBC");
// Send a request to refresh the chart
coord.requestRenderFrame();

After this color of the major line of the first axis is changed:

See also:

PCAxis