Update BarOrColumnChartOptionsComposer.swift

This commit is contained in:
An An 2022-11-24 19:42:21 +08:00
parent d73e2fdc43
commit 98b648341b
1 changed files with 19 additions and 19 deletions

View File

@ -532,25 +532,25 @@ static func basicColumnChartWithStackedDataLabels() -> AAOptions {
.text("堆叠柱形图")) .text("堆叠柱形图"))
.xAxis(AAXAxis() .xAxis(AAXAxis()
.categories(["苹果", "橘子", "", "葡萄", "香蕉"])) .categories(["苹果", "橘子", "", "葡萄", "香蕉"]))
// .yAxis(AAYAxis() .yAxis(AAYAxis()
// .min(0) .min(0)
// .title(AATitle() .title(AATitle()
// .text("")) .text("水果消费总量"))
// .stackLabels(AALabels() .stackLabels(AALabels()
// .enabled(true) .enabled(true)
// .style(AAStyle() .style(AAStyle()
// .fontWeight(.bold) .fontWeight(.bold)
// .color("#000000")))) .color("#000000"))))
// .legend(AALegend() .legend(AALegend()
// .align(.right) .align(.right)
// .x(-30) .x(-30)
// .verticalAlign(.top) .verticalAlign(.top)
// .y(25) .y(25)
// .floating(true) .floating(true)
// .backgroundColor(AAColor.white) .backgroundColor(AAColor.white)
// .borderColor("#CCC") .borderColor("#CCC")
// .borderWidth(1) .borderWidth(1)
// .shadow(false)) .shadow(false))
// .tooltip(AATooltip() // .tooltip(AATooltip()
// .formatter(#""" // .formatter(#"""
// function () { // function () {