javascript - How to hide series name and Y value in hover popup in Highcharts -


hovering on series in highchart graph displays popup series name , y value, in example: 'tokyo 9.5ºc'. display own, custom text on hover - can modifying each point's name. @ same time hide default series name , y value. i've searched doc haven't found suitable. ideas how approach this?

you'll have specify tooltip formatter (see documentation):

tooltip: {   formatter: function() {     return 'the value <b>'+ this.x +            '</b> <b>'+ this.y +'</b>';   } }, 

there can show x-values if or custom text.
hope helps.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -