Wijmo User Guide > Widgets > BarChart > BarChart How To > Customize Tooltip Animation |
Building on the Quick Start example, you can customize the animation of the hint that shows when you mouse over the bars in your chart.
There are now two methods for doing this. The older method uses Raphael.fn.tooltip.animations to extend animation behavior. The newer method, available only in Wijmo 2013, uses wijmo.ChartTooltip.animations.
Note: The default value for the hint option's animated attribute is "fade." To use any other, you must create a custom animation. You can set the hideAnimated and showAnimated attributes to use different animations, or set them to null so that they default to the value you assign to animated. |
Drop down and copy code
Or beginning with Wijmo v3 2013, you can use this code:Drop down and copy code for Wijmo v3 2013