Skip to main content

BootstrapUIWidgetTooltipSettings.OnClientCustomizeTooltip Property

Specifies a client callback function used to customize the tooltip.

Namespace: DevExpress.Web.Bootstrap

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

Declaration

[DefaultValue("")]
public string OnClientCustomizeTooltip { 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 an object that specifies the tooltip’s text/markup, and appearance settings.

Remarks

The function returned by OnClientCustomizeTooltip accepts an object with properties that depend on the chart type. For more information on this object’s properties, refer to the customizeTooltip article.

chart.OnClientCustomizeTooltip = @"function(arg) {
    return {
        text: arg.argumentText + ""<br/>"" + arg.valueText
    };
}";
See Also