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.72k stars 751 forks source link

如何设置AAChartView的透明背景色 #1509

Closed jefferyl123 closed 11 months ago

jefferyl123 commented 11 months ago

AAChartView在没有添加任何内容的情况下背景色就是白色的,setIsClearBackgroundColor设置了也还是不生效的样子,还需要什么设置才能让背景色完全变成透明。

jefferyl123 commented 11 months ago

[_chartView setValue:[NSNumber numberWithBool:YES] forKey:@"drawsTransparentBackground"]; 不知道为啥设置了这个就可以了,已经自行解决。