Skip to main content

PolarChartCommonAnnotationConfigBuilder.TooltipTemplate(TemplateName) Method

Specifies the client-side tooltipTemplate.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public PolarChartCommonAnnotationConfigBuilder TooltipTemplate(
    TemplateName name
)

Parameters

Name Type Description
name TemplateName

A template name.

Returns

Type Description
PolarChartCommonAnnotationConfigBuilder

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()
    .CommonAnnotationSettings(settings => settings
        .TooltipTemplate(new TemplateName("myPolarChartCommonAnnotationConfig_tooltipTemplate"))
    )
)

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