How to use the tooltip formatter and still display chart color (like it does by default)?

前端 未结 4 1151
野趣味
野趣味 2020-12-24 05:26

If I\'m using the default Highcharts tooltip, it displays a circle the color of the chart data (the light/dark blue circles at http://jsfiddle.net/WOUNDEDStevenJones/mpMvk/1

4条回答
  •  [愿得一人]
    2020-12-24 06:14

    You may use:

    > $.each(this.points, function () {
    >   s += '
    \u25CF' + this.series.name + ': ' + '' + this.y + ''; > });

提交回复
热议问题