javascript - Can't display x-axis value in Highcharts title -


here example how need work highchart example

if hover on spot see

apr dog: 2323 

so display xaxis value in tooltip. have made own display chart name instead of xaxis value.

my highchart

xaxis: {     title: {         text: 'date'     },     categories: data.categories }, 

what do wrong?

replace have in tooltip formatter- should work

              tooltip: {                  formatter: function () {                     return  '<b>'+this.series.name+'<br>'+this.x + ':' + this.point.y;             } 

Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -