Skip to content

"columnrange"样式表格的柱形如何设置为圆角 #473

Closed Answered by AAChartModel
huangqingchao asked this question in Q&A
Discussion options

You must be logged in to vote

配置 AAChartModel

    private func configureColumnrangeChart() -> AAChartModel {
        AAChartModel()
            .chartType(.columnrange)
            .title("TEMPERATURE VARIATION BY MONTH")
            .subtitle("observed in Gotham city")
            .yAxisTitle("")
            .categories([
                "January", "February", "March", "April", "May", "June",
                "July", "August", "September", "October", "November", "December"
            ])
            .dataLabelsEnabled(true)
            .inverted(true)//x 轴是否垂直翻转
            .borderRadius("50%")//设置圆角
            .series([
                AASeriesElement()
                    .name("temperature")
                    .d…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by huangqingchao
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants