wjc
2025-05-07 b9cc7390e8e8ce64c41c26fb369c98ce669d660c
app/src/main/java/com/hdl/photovoltaic/ui/home/aachart/CustomStyleChartComposer.java
@@ -195,14 +195,38 @@
        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("#1C1C1E")
                .titleStyle(AAStyle.style("#66FFFFFF", 12))//坐标轴字体颜色
                .colorsTheme(new String[]{"#38C494",})
                .categories(categories)
                .yAxisGridLineWidth(0.15)
                .xAxisVisible(false)
                .yAxisGridLineWidth(0.10)
                .xAxisVisible(true)
                .xAxisLineWidth(0)
                .xAxisLabelsEnabled(true)
                .zoomType(AAChartZoomType.None)
                .legendEnabled(false)