Chart.js 2.0: How to change title of tooltip

前端 未结 1 1740
星月不相逢
星月不相逢 2020-12-30 21:38

Forgive me for my sometimes poor English. Dutch is my native language.

I\'ve created a Chart.js linechart which shows me my energy usage reported by my main power sm

1条回答
  •  一整个雨季
    2020-12-30 21:42

    I encountered a similar problem too, but was resolved with this.

    return 'Date: ' + tooltipItems[0].xLabel + ' GMT+2';
    

    0 讨论(0)
提交回复
热议问题