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