An An
                                            An An
                                        
                                    你其实可以自己判断数据是否为空, 然后添加一个自定义原生的 `View` 在 `AAChartView` 之上.
> 另外y轴上面可以加个单位放置吗 这个 demo 中有示例, 你查查看.
参考: * https://github.com/AAChartModel/AAChartKit/issues/1330
请将这里的 ```objc NSString *bundlePath = [resourcePath stringByAppendingPathComponent:@"/AAChartKitLib.bundle"]; ``` 改成 ```objc NSString *bundlePath = [resourcePath stringByAppendingPathComponent:@"/AAChartKit-Pro.bundle"]; ``` 再试试.
在 `AAChartKit` 的 **demo** 中,有专门的自定义` X `轴或者 `Y `轴的相关示例: ```objc - (id)chartConfigurationWithSelectedIndex:(NSInteger)selectedIndex { switch (selectedIndex) { case 0: return [self customYAxisLabels];//自定义Y轴文字 case 1: return [self customYAxisLabels2];//自定义Y轴文字2 case 2: return [self...
`AAChartKit` 的 **demo** 链接地址: * https://github.com/AAChartModel/AAChartKit
`AAChartKit-Pro` 采用完全兼容 `AAChartKit` 的设计, 所以 `AAChartKit` 中的有效示例同时也是 `AAChartKit-Pro` 的有效示例.
以上代码, **Swift** 版本对应的内容是: ```swift let aaOptions = aaChartModel.aa_toAAOptions() aaOptions.xAxis?.labels? .formatter(""" function () { const xValue = this.value; if (xValue%10 == 0) { return xValue + " sec" } else {...
如果你需要的是 **Swift** 版本的示例, 在 `AAChartKit-Swift` 的 **demo** 中, 也有专门的自定义` X `轴或者 `Y `轴的相关示例: ```swift override func chartConfigurationWithSelectedIndex(_ selectedIndex: Int) -> Any? { switch (selectedIndex) { case 0: return customYAxisLabels()//自定义Y轴文字 case...