Skip to main content

PolarChartAnnotationConfigBuilder.TooltipTemplate(TemplateName) Method

Specifies the client-side tooltipTemplate.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public PolarChartAnnotationConfigBuilder TooltipTemplate(
    TemplateName name
)

Parameters

Name Type Description
name TemplateName

A template name.

Returns

Type Description
PolarChartAnnotationConfigBuilder

A reference to this instance after the method is called.

Remarks

This method applies an external template to a tooltip. Refer to External Templates for more information and code examples.

@(Html.DevExtreme().PolarChart()
    .Annotations(annotations => {
        annotations.Add().TooltipTemplate(new TemplateName("myPolarChartAnnotationConfig_tooltipTemplate"));
    })
)

@using(Html.DevExtreme().NamedTemplate("myPolarChartAnnotationConfig_tooltipTemplate")) {
    <div>
        Template content
    </div>
}
See Also