Skip to main content
A newer version of this page is available. .

BootstrapChartLegendSettings.OnClientCustomizeHint Property

Specifies a client callback function that returns the text for a hint that appears when a user hovers the mouse pointer over a legend item.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v18.2.dll

Declaration

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

Property Value

Type Default Description
String String.Empty

A string that represents either the name of a JavaScript function or the entire JavaScript function code that returns the text for the hint to display.

Property Paths

You can access this nested property as listed below:

Object Type Path to OnClientCustomizeHint
BootstrapChart
.SettingsLegend.OnClientCustomizeHint
BootstrapChartBase
.SettingsLegend.OnClientCustomizeHint
BootstrapCoordinateSystemChart
.SettingsLegend.OnClientCustomizeHint
BootstrapPieChart
.SettingsLegend.OnClientCustomizeHint
BootstrapPolarChart
.SettingsLegend.OnClientCustomizeHint

Remarks

This property specifies a function that must return the required text. When implementing this function, use its parameter to access an object containing information on the series that corresponds to the legend item. This object contains the following fields.

  • seriesName - The series’ name.
  • seriesIndex - The series’ index.
  • seriesColor - The series’ color.
See Also