| | |
| | | public class BasicChartComposer { |
| | | public static AAChartModel configureBasicOptions() { |
| | | return new AAChartModel() |
| | | .backgroundColor("#ffffff") |
| | | .backgroundColor("#EDEFF2") |
| | | // .backgroundColor("#4b2b7f") |
| | | .dataLabelsEnabled(false) |
| | | .yAxisGridLineWidth(1) |
| | |
| | | AASeriesElement element1 = new AASeriesElement() |
| | | .name("Tokyo") |
| | | // .colorByPoint(true) |
| | | .color(AARgba(56,196,148,1.0f))//猩红色, alpha 透明度 1 |
| | | .color(AARgba(56, 196, 148, 1.0f))//猩红色, alpha 透明度 1 |
| | | .lineWidth(1.5) |
| | | // .borderColor(AARgba(255,255,255,1.0f)) |
| | | .fillColor(linearGradientColor) |
| | |
| | | // .markerSymbol(AAChartSymbolType.Circle) |
| | | .tooltipValueSuffix("Kw.h") |
| | | // .colorsTheme(colorsArr) |
| | | .legendEnabled(false) |
| | | ; |
| | | .legendEnabled(false); |
| | | |
| | | |
| | | if (chartType.equals(AAChartType.Areaspline)) { |