AAChartKit-Swift-Pro icon indicating copy to clipboard operation
AAChartKit-Swift-Pro copied to clipboard

v9.2.0, 使用AAJSON映射point.color 需要导入头文件吗

Open Ambitiones opened this issue 9 months ago • 3 comments

Ambitiones avatar Apr 15 '25 02:04 Ambitiones

Swift 版本的 AAChartKit 没有 AAJSON 相关的东西, 你说的是 OC 版本的 AAChartKit 吧?

AAChartModel avatar Apr 16 '25 01:04 AAChartModel

如果你指的是 OC 版本的 AAChartKit 中的 AAJsonConverter 的话, 现阶段由于我没有为他单独创立一个文件, 确实需要导入

#import "AAChartView.h"

才能使用 AAJsonConverter 对应的工具方法(看起来似乎确实有点文不对题, 不太直观), 后面有机会我在挑时间改一下吧

AAChartModel avatar Apr 16 '25 01:04 AAChartModel

嗯, 我使用的Swift版本, 不过我调整了处理方式, 通过data数据直接注入属性值的方式已解决自定义点位色值处理问题.谢谢您的回复

Ambitiones avatar Apr 16 '25 04:04 Ambitiones