New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如何支持睡眠曲线图、心电图、心率图、血氧等曲线 #1445
Labels
Comments
睡眠图只在 Pro 版中支持. 传送门: |
血氧图一般会用柱形范围图和曲线范围填充图来展现. 柱形范围图参考: 曲线范围填充图参考: |
心电图支持的效果估计不会太好, 参考: |
AAChartKit-Pro 已支持 pod search AAChartKit-Pro 可以看到: -> AAChartKit-Pro (0.0.6)
📈📊🎓🎓🎓AAChartKit-Pro is a professional version of AAChartKit, it is an elegant and beutiful chart framework for iOS,
iPadOS, macOS. AAChartKit-Pro is a more powerful data visualization framework that supports more types beautiful
chart like bellcurve, bullet, columnpyramid, cylinder, dependencywheel, heatmap, histogram, networkgraph,
organization, packedbubble, pareto, sankey, series, solidgauge, streamgraph, sunburst, tilemap, timeline, treemap,
variablepie, variwide, vector, venn, windbarb, wordcloud, xrange charts and so on.
pod 'AAChartKit-Pro', '~> 0.0.6'
- Homepage: https://github.com/AAChartModel/AAChartKit-Pro
- Source: https://github.com/AAChartModel/AAChartKit-Pro.git
- Versions: 0.0.6, 0.0.5, 0.0.4, 0.0.1 [cocoapods repo]
-> AAInfographics-Pro (0.0.4)
📈📊👑👑👑AAChartKit-Swift-Pro is a professional version of AAChartKit-Swift, it is an elegant and friendly chart
framework for iOS, iPadOS, macOS. AAChartKit-Swift-Pro is a more powerful data visualization framework that supports
more types beautiful chart like bellcurve, bullet, columnpyramid, cylinder, dependencywheel, heatmap, histogram,
networkgraph, organization, packedbubble, pareto, sankey, series, solidgauge, streamgraph, sunburst, tilemap,
timeline, treemap, variablepie, variwide, vector, venn, windbarb, wordcloud, xrange charts and so on.
pod 'AAInfographics-Pro', '~> 0.0.4'
- Homepage: https://github.com/AAChartModel/AAChartKit-Swift-Pro
- Source: https://github.com/AAChartModel/AAChartKit-Swift-Pro.git
- Versions: 0.0.4, 0.0.3, 0.0.2 [cocoapods repo]
~
~ |
大神,请问睡眠图具体在哪个类里面有demo样例呢? |
查看 AAChartKit-Pro 的 demo 中的这个示例: + (AAOptions *)xrangeChart {
return AAOptions.new
.chartSet(AAChart.new
.typeSet(AAChartTypeXrange))
.colorsSet(@[
@"#7cb5ec",@"#434348",@"#90ed7d",@"#f7a35c",@"#8085e9",
@"rgb(255,143,179)",@"rgb(255,117,153)",
@"#f15c80",@"#e4d354",@"#2b908f",@"#f45b5b",@"#91e8e1",@"#7cb5ec",@"#434348",@"#f7a35c",
@"rgb(119,212,100)",@"rgb(93,186,74)",@"rgb(68,161,49)"
])
.titleSet(AATitle.new
.textSet(@""))
.yAxisSet(AAYAxis.new
.visibleSet(true)
.titleSet(AAAxisTitle.new
.textSet(@""))
.reversedSet(true)
.categoriesSet(@[@"原型",@"开发",@"测试",@"上线"])
.gridLineWidthSet(@0))
.legendSet(AALegend.new
.enabledSet(false))
.plotOptionsSet(AAPlotOptions.new
.seriesSet(AASeries.new
.pointPaddingSet(@0)
.groupPaddingSet(@0)))
.seriesSet(@[
AASeriesElement.new
.borderRadiusSet(@2)
.dataSet(AAOptionsData.xrangeData)
]);
} |
你好,有Swift原生写的吗?我看是用H5写的 |
@MoShenGuo 没有原生的, readme 一开始就申明了是基于 Highcharts 封装的. |
嗯,这么好的图有原生更好 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
大神你好,请问这个库能否支持下健康类曲线,比如睡眠曲线图、心电图、心率图、血氧这些
The text was updated successfully, but these errors were encountered: