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.
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
Post a Comment