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.71k stars 750 forks source link

图例可以设置是否可以点击吗?柱形图为0的什么都不展示,x轴文本能自动对齐那个有值的吗? #1442

Open kedu opened 1 year ago

AAChartModel commented 1 year ago

图例可以设置是否可以点击吗?

参考:

AAChartModel commented 1 year ago

柱形图为0的什么都不展示

参考:

AAChartModel commented 1 year ago

x轴文本能自动对齐那个有值的吗?

不太清楚你这个说的是什么

kedu commented 1 year ago

我的意思是柱形图为0是不是可以不用占位置,不用绘制也不要占位置,x轴的文本直接对齐有值的柱形图

AAChartModel commented 1 year ago

这个不支持。需要你自己预先过滤处理掉data数组中的0值数据

kedu commented 1 year ago

主要是有两个AASeriesElement来对比的,去掉0了就显示的位置不对了

AAChartModel commented 1 year ago

你有设计稿吗?我怎么有点看不明白你的需求了?你这需求不是前后矛盾吗?既要不显示为0的值,又要有对比,这是什么效果?

kedu commented 1 year ago

image