MVC5 Classic
Define the Tooltip

The following code shows how to use the Hint object to create a tooltip that displays the Y-values:

hint: {
                    content: function () {
                        return this.data.label + " : " + Globalize.format(this.value / this.total, "p2");
                    }
                },

This topic illustrates the following:

The following image shows the tooltip that appears when you hover over each data series:

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback