diff --git a/AAInfographicsDemo/Demo/OfficialSamples/BarOrColumnChartOptionsComposer.swift b/AAInfographicsDemo/Demo/OfficialSamples/BarOrColumnChartOptionsComposer.swift index 3b1c24b..b7d80de 100644 --- a/AAInfographicsDemo/Demo/OfficialSamples/BarOrColumnChartOptionsComposer.swift +++ b/AAInfographicsDemo/Demo/OfficialSamples/BarOrColumnChartOptionsComposer.swift @@ -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 () {