Back to Devexpress

WebChartControl.CustomJSProperties Event

aspnet-devexpress-dot-xtracharts-dot-web-dot-webchartcontrol-67b184d6.md

latest2.0 KB
Original Source

WebChartControl.CustomJSProperties Event

Enables you to supply any server data that can then be parsed on the client.

Namespace : DevExpress.XtraCharts.Web

Assembly : DevExpress.XtraCharts.v25.2.Web.dll

NuGet Package : DevExpress.Web.Visualization

Declaration

csharp
public event CustomJSPropertiesEventHandler CustomJSProperties
vb
Public Event CustomJSProperties As CustomJSPropertiesEventHandler

Event Data

The CustomJSProperties event's data class is CustomJSPropertiesEventArgs. The following properties provide information specific to this event:

PropertyDescription
PropertiesGets a collection of temporary client properties.

Remarks

In some instances, it is necessary to obtain server information on the client. The CustomJSProperties event enables you to declare temporary client properties. Once declared, a property can be accessed on the client.

To add new properties, use the event parameter’s CustomJSPropertiesEventArgs.Properties property, which represents a collection of property names and their values.

Note

The only requirement is that property names must begin with the ‘cp’ prefix, to avoid rewriting the WebChartControl‘s base properties.

See Also

WebChartControl Class

WebChartControl Members

DevExpress.XtraCharts.Web Namespace