AAChartModel / AAChartKit

📈📊🚀🚀🚀An elegant modern declarative data visualization chart framework for iOS, iPadOS and macOS. Extremely powerful, supports line, spline, area, areaspline, column, bar, pie, scatter, angular gauges, arearange, areasplinerange, columnrange, bubble, box plot, error bars, funnel, waterfall and polar chart types. 极其精美而又强大的现代化声明式数据可视化图表框架,支持柱状图、条形图、折线图、曲线图、折线填充图、曲线填充图、气泡图、扇形图、环形图、散点图、雷达图、混合图等各种类型的多达几十种的信息图图表,完全满足工作所需.
https://cocoapods.org/pods/AAChartKit
MIT License
4.72k stars 751 forks source link

AATooltip中的point.x如何格式化 #1515

Closed lgwResources closed 2 months ago

lgwResources commented 10 months ago

IMG_0069 如何转换为HH:mm

AAChartModel commented 10 months ago

tooltip 中的文字内容, 简单格式化的话, 通常使用 format 属性就够了, 参考:

但我估计你这里需要用到更复杂一点的字符串格式化, 这个时候就需要用到 tooltip 的 formatter 属性了, 参考: