krispo / ng2-nvd3

Angular2 component for nvd3
http://krispo.github.io/ng2-nvd3/
MIT License
328 stars 104 forks source link

Custom tooltip #109

Open valakhosravi opened 7 years ago

valakhosravi commented 7 years ago

hey there, is custom tooltips available on ng2 ? if it is can you tell how to use it ?

Prashanth-Thomas commented 7 years ago

@seeshadows A custom tooltip is possible, For example in case of a multibar-horizontal chart add the following

tooltip: { contentGenerator: function (d) { //return html content using this function return //html here; } },

fgroenendijk commented 6 years ago

Make sure you set useInteractiveGuideline: false in the chart options, otherwise the custom tooltip won't work.

LoveenDyall commented 5 years ago

Make sure you set useInteractiveGuideline: false in the chart options, otherwise the custom tooltip won't work.

Still won't work for me for scatterChart :(