Skip to main content

BootstrapChartSeriesTemplateSettings.OnClientCustomizeSeries Property

Specifies a client-side callback function that returns an object with individual series settings.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

[DefaultValue("")]
public string OnClientCustomizeSeries { get; set; }

Property Value

Type Default Description
String String.Empty

A string specifying a JavaScript function that returns an object with individual series settings.

Property Paths

You can access this nested property as listed below:

Object Type Path to OnClientCustomizeSeries
BootstrapCoordinateSystemChart
.SettingsSeriesTemplate .OnClientCustomizeSeries
BootstrapRangeSelectorChart
.SettingsSeriesTemplate .OnClientCustomizeSeries

Remarks

Use this option to specify individual settings for a particular series. The code snippet below demonstrates how to add borders to chart series.

function customizeSeries(valueFromNameField) {
    return { border: { color: "green", visible: true }  };
}
See Also