Skip to content
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

大神,这几个标题能隐藏吗 #39

Closed
yeqiliang opened this issue Aug 25, 2017 · 3 comments
Closed

大神,这几个标题能隐藏吗 #39

yeqiliang opened this issue Aug 25, 2017 · 3 comments

Comments

@yeqiliang
Copy link

No description provided.

@yeqiliang
Copy link
Author

snip20170825_28
能吧主标题和副标题 隐藏, 把那个 分 字 显示到 719的正上方吗?

@yeqiliang
Copy link
Author

或者3个全都隐藏

@AAChartModel
Copy link
Owner

按照如下方式配置 AAChartModel对象属性,即可实现图上三个标题完全隐藏的效果

    self.chartModel= AAObject(AAChartModel)
    .chartTypeSet(chartType)
    .titleSet(@"")//标题为空字符串(即是隐藏标题)
    .subtitleSet(@"")//附表题为空字符串(即是隐藏副标题)
    .yAxisTitleSet(@"")//Y 轴标题为空字符串(即是隐藏Y轴标题)
    .pointHollowSet(true)
    .categoriesSet(@[@"Java",@"Swift",@"Python",@"Ruby", @"PHP",@"Go",@"C",@"C#",@"C++",@"Perl",@"R",@"MATLAB",@"SQL"])
    .yAxisTitleSet(@"")
    .seriesSet(@[
                 AAObject(AASeriesElement)
                 .nameSet(@"2017")
                 .dataSet(numbersArr),
                 
                 AAObject(AASeriesElement)
                 .nameSet(@"2018")
                 .dataSet(numbersArr2),
                 ]
               );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants