AAChartKit
AAChartKit copied to clipboard
AATooltip中的point.x如何格式化
如何转换为HH:mm
tooltip 中的文字内容, 简单格式化的话, 通常使用 format 属性就够了, 参考:
- https://api.highcharts.com/highcharts/tooltip.format
但我估计你这里需要用到更复杂一点的字符串格式化, 这个时候就需要用到 tooltip 的 formatter 属性了, 参考:
- https://api.highcharts.com/highcharts/tooltip.formatter