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

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

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

StringGrid issue in Delphi XE8 firemonkey mobile app -