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