legendBorder

Sets the legend border’s line style. Set the property to Chart.NONE to hide the legend border.

Type

A Line Style constant

Example

Chart1.legendBorderColor = [255,0,0];
Chart1.legendBorder = Chart.DASH_LINE;

legendBorder

Either syntax below can be used in component script:

legendBorder          // unqualified
Chart1.legendBorder   // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.