-
-
Notifications
You must be signed in to change notification settings - Fork 751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
扇形图设置成环形图 #32
Comments
现已为 |
这样配置 AAChartModel *chartModel= AAObject(AAChartModel)
.chartTypeSet(AAChartTypePie)
.titleSet(@"编程语言热度")
.subtitleSet(@"虚拟数据")
.dataLabelEnabledSet(true)//是否直接显示扇形图数据
.yAxisTitleSet(@"摄氏度")
.seriesSet(
@[
AAObject(AASeriesElement)
.nameSet(@"语言热度占比")
.innerSizeSet(@"35%")//设置扇形图中空的圆形半径区域大小
.dataSet(@[
@[@"Java" , @67],
@[@"Swift" , @44],
@[@"Python", @83],
@[@"OC" , @11],
@[@"Ruby" , @42],
@[@"PHP" , @31],
@[@"Go" , @63],
@[@"C" , @24],
@[@"C#" , @888],
@[@"C++" , @66],
]),
]
)
; 您将得到最终所要的环形图. 附言注意示例代码中的关键语句 |
灰常感谢! |
你好!请问如何修改xy轴数字的颜色以及语言类型name的颜色 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你好,请问,怎么显示环形图,没有找到怎么设置。
The text was updated successfully, but these errors were encountered: