Update BarOrColumnChartOptionsComposer.swift
This commit is contained in:
parent
d73e2fdc43
commit
98b648341b
|
@ -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 () {
|
||||
|
|
Loading…
Reference in New Issue