Breaking Change T971305
Visible to All Users

Charts - The DxChartTooltip.Enabled property should be set to true to display tooltips with templates

What Changed

You should now set the DxChartTooltip.Enabled property to true if you define Chart tooltips with templates in your project.

Reasons for Change

Previously, despite the same default value of the DxChartTooltip.Enabled property, users observed different behavior under different circumstances, which caused confusion. Among other things, tooltips with templates could not be hidden programmatically because the Enabled property was not taken into account in that case.

Impact on Existing Apps

This change will affect your application if you define Chart tooltips with templates in your project.

Razor
<DxChart Data="@SalesData" > <DxChartTooltip> <div style="margin: 0.75rem"> <div class="font-weight-bold">@context.Point.SeriesName</div> <div>City: @context.Point.Argument</div> <div>Amount: @context.Point.Value</div> </div> </DxChartTooltip> ... </DxChart>

How to Update Existing Apps

Set the DxChartTooltip.Enabled property to true as show below.

Razor
<DxChart Data="@SalesData" > <DxChartTooltip Enabled="true"> <div style="margin: 0.75rem"> <div class="font-weight-bold">@context.Point.SeriesName</div> <div>City: @context.Point.Argument</div> <div>Amount: @context.Point.Value</div> </div> </DxChartTooltip> ... </DxChart>

Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.