From 542a1aebe872632e69b4a42ff629d13bb4e8d6d0 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期二, 22 七月 2025 09:31:14 +0800
Subject: [PATCH] Merge branch '1.3.1'
---
aa_chart_core/src/main/java/com/github/AAChartModel/AAChartCore/AAChartCreator/AAChartModel.java | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/aa_chart_core/src/main/java/com/github/AAChartModel/AAChartCore/AAChartCreator/AAChartModel.java b/aa_chart_core/src/main/java/com/github/AAChartModel/AAChartCore/AAChartCreator/AAChartModel.java
index e0f7914..4b0caf0 100644
--- a/aa_chart_core/src/main/java/com/github/AAChartModel/AAChartCore/AAChartCreator/AAChartModel.java
+++ b/aa_chart_core/src/main/java/com/github/AAChartModel/AAChartCore/AAChartCreator/AAChartModel.java
@@ -70,7 +70,11 @@
public Integer xAxisTickInterval; //x 杞村埢搴︾偣闂撮殧鏁�(璁剧疆姣忛殧鍑犱釜鐐规樉绀轰竴涓� X杞寸殑鍐呭)
public String[] categories; //x 杞存槸鍚︽樉绀烘暟鎹�
public Number xAxisGridLineWidth; //x 杞寸綉鏍肩嚎鐨勫搴�
+ public String xAxisGridLineColor; //x 杞寸綉鏍肩嚎鐨勯鑹�
public Boolean xAxisVisible; //x 杞存槸鍚︽樉绀�
+ public String xAxisColor; //x 杞撮鑹�
+ public Number xAxisLineWidth; //x 杞寸嚎瀹藉害
+
public Boolean yAxisVisible; //y 杞存槸鍚︽樉绀�
public Boolean yAxisLabelsEnabled; //y 杞存槸鍚︽樉绀烘暟鎹�
public String yAxisTitle; //y 杞存爣棰�
@@ -79,6 +83,7 @@
public Number yAxisMax; //y 杞存渶澶у��
public Boolean yAxisAllowDecimals; //y 杞存槸鍚﹀厑璁告樉绀哄皬鏁�
public Number yAxisGridLineWidth; //y 杞寸綉鏍肩嚎鐨勫搴�
+ public String yAxisGridLineColor; //y 杞寸綉鏍肩嚎鐨勫搴�
public Object[] colorsTheme; //鍥捐〃涓婚棰滆壊鏁扮粍
public Boolean legendEnabled; //鏄惁鏄剧ず鍥句緥
public Object backgroundColor; //鍥捐〃鑳屾櫙鑹�
@@ -224,11 +229,33 @@
return this;
}
+ public AAChartModel xAxisGridLineColor(String prop) {
+ xAxisGridLineColor = prop;
+ return this;
+
+
+ }
+
+ public AAChartModel xAxisColor(String prop) {
+ xAxisColor = prop;
+ return this;
+ }
+
+ public AAChartModel xAxisLineWidth(Number prop) {
+ xAxisLineWidth = prop;
+ return this;
+ }
+
public AAChartModel yAxisGridLineWidth(Number prop) {
yAxisGridLineWidth = prop;
return this;
}
+ public AAChartModel yAxisGridLineColor(String prop) {
+ yAxisGridLineColor = prop;
+ return this;
+ }
+
public AAChartModel xAxisVisible(Boolean prop) {
xAxisVisible = prop;
return this;
--
Gitblit v1.8.0