ChartCanvasSerie.BorderPenEnabled

Syntax

BorderPenEnabled: Boolean;

Description

The BorderPenEnabled property determines whether to show borders for items that correspond to points of the chart data series.

Comments

Use JSON to set the property value, and the getBorderPenEnabled method to get the property value.

Available values:

Example

Executing the example requires that the HTML page contains the Chart component named chart (see Example of Creating a Stacked Histogram). Hide border for columns of the second series in the histogram:

// Get the second data series
var serie = chart.getSeries()[1];
if (serie) {
    PP.Object.defineProps(PP.Ui.ChartCanvasSerie, ["BorderPenEnabled"], true);
    // Disable displaying borders for columns
    serie.setBorderPenEnabled(false);
    // Redraw the histogram
    chart.redraw(true);
};

After executing the example border for columns of the second series in the histogram is hidden:

See also:

ChartCanvasSerie