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 751 forks source link

AAPlotLinesElement 设置标注线,会被数据线遮挡 #1481

Open zhufaming opened 1 year ago

zhufaming commented 1 year ago

zIndex 设置多大都没有效果, 请问大神如何解决,我需要把标注线放到数据线之前

Simulator Screen Shot - iPhone 14 Pro Max - 2023-06-27 at 14 41 22 20230627144136

AAChartModel commented 1 year ago

你直接在 AAChartKit 的 demo 中测试, 也是这样吗?

zhufaming commented 1 year ago

你直接在 AAChartKit 的 demo 中测试, 也是这样吗?

Demo 中确实没有被覆盖的问题,我的实际需求是, 根据用户点击是否选择平均线后再重新绘制的

zhufaming commented 1 year ago

20230627173704 20230627173724