| | |
| | | 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 轴标题 |
| | |
| | | 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; //图表背景色 |
| | |
| | | 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; |