| | |
| | | AATooltip aaTooltip = new AATooltip() |
| | | .enabled(true) |
| | | .valueDecimals(2); |
| | | |
| | | |
| | | // return configureBasicOptions() |
| | | // .backgroundColor("#1C1C1E") |
| | | // .legendEnabled(false) |
| | | // .markerRadius(0) |
| | | //// .markerSymbol(AAChartSymbolType.Circle) |
| | | //// .markerSymbolStyle(AAChartSymbolStyleType.Normal) |
| | | // .chartType(AAChartType.Area) |
| | | // .categories(categories) |
| | | // .zoomType(AAChartZoomType.None)//手势缩放 |
| | | // .yAxisGridLineWidth(0.10) |
| | | // .yAxisAllowDecimals(true) |
| | | // .xAxisVisible(true) |
| | | // .xAxisLineWidth(0) |
| | | //// .yAxisMax(10) |
| | | // .yAxisMin(0) |
| | | // .titleStyle(aaStyle)//坐标轴字体颜色 |
| | | //// .axesTextColor("#FFFFFF")//背景颜色 |
| | | // .series(new AASeriesElement[]{element1}); |
| | | |
| | | |
| | | |
| | | return new AAChartModel() |
| | | .chartType(AAChartType.Column) |
| | | .backgroundColor("#EDEFF2") |
| | | .backgroundColor("#1C1C1E") |
| | | .titleStyle(AAStyle.style("#66FFFFFF", 12))//坐标轴字体颜色 |
| | | .colorsTheme(new String[]{"#38C494",}) |
| | | .categories(categories) |
| | | .yAxisGridLineWidth(0.10) |
| | | .xAxisVisible(true) |
| | | .xAxisLineWidth(0) |
| | | .xAxisLabelsEnabled(true) |
| | | .zoomType(AAChartZoomType.None) |
| | | .legendEnabled(false) |
| | |
| | | .name(tipSuspendName) |
| | | .data(data) |
| | | // .colorByPoint(true) |
| | | .tooltip(aaTooltip) |
| | | // .tooltip(aaTooltip) |
| | | |
| | | }); |
| | | } |