Skip to content

Commit 5acd19d

Browse files
committed
Optimize details
1 parent dc56bfa commit 5acd19d

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

AAInfographics/AAChartCreator/AAChartModel.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ public class AAChartModel: AAObject {
175175
public var yAxisTitle: String? //The actual text of the axis title
176176
public var yAxisLineWidth: Float? //The width of y axis line
177177
public var yAxisGridLineWidth: Float? //The width of the grid lines extending the ticks across the plot area. Defaults to 1
178-
public var yAxisMin: Double? //The y axis mini value
179-
public var yAxisMax: Double? //The y axis max value
178+
public var yAxisMin: Double? //The y axis mini value
179+
public var yAxisMax: Double? //The y axis max value
180180
public var yAxisAllowDecimals: Bool? //The y axis values label allow decimals or not
181181
public var tooltipEnabled: Bool? //Show the tooltip or not
182182
public var tooltipValueSuffix: String? //Custom tooltip value unit suffix

CHINESE-README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ public var tooltipEnabled: Bool? //是否显示浮动提
448448
public var tooltipValueSuffix: String? //浮动提示框单位后缀
449449
public var tooltipCrosshairs: Bool? //是否显示准星线(默认显示)
450450
public var colorsTheme: [Any]? //图表主题颜色数组
451-
public var series: [AASeriesElement]? //图表的数据数组
451+
public var series: [Any]? //图表的数据数组
452452
public var legendEnabled: Bool? //是否显示图例
453453
public var backgroundColor: Any? //图表背景色
454454
public var borderRadius: Int? //柱状图长条图头部圆角半径(可用于设置头部的形状,仅对条形图,柱状图有效)

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ public var dataLabelsFontColor: String? //The data labels font color
475475
public var dataLabelsFontSize: Float? //The data labels font size
476476
public var dataLabelsFontWeight: AAChartFontWeightType?//The data labels font weight
477477
public var xAxisLabelsEnabled: Bool? //Enable or disable the axis labels. Defaults to true
478-
public var categories: Array<String>? //Set new categories for the axis
478+
public var categories: [String]? //Set new categories for the axis
479479
public var xAxisGridLineWidth: Float? //The width of the grid lines extending the ticks across the plot area.Defaults to 0
480480
public var xAxisVisible: Bool?
481481
public var xAxisTickInterval: Int?
@@ -490,8 +490,8 @@ public var yAxisAllowDecimals: Bool? //The y axis values label allow decimals
490490
public var tooltipEnabled: Bool?
491491
public var tooltipValueSuffix: String?
492492
public var tooltipCrosshairs: Bool?
493-
public var colorsTheme: Array<Any>? //An array containing the default colors for the chart's series. When all colors are used, new colors are pulled from the start again. Defaults to: ["#bb250c","#f67210","#fde680","#257679","#f1c6c5"]
494-
public var series: Array<Any>? //An array of all the chart's series
493+
public var colorsTheme: [Any]? //An array containing the default colors for the chart's series. When all colors are used, new colors are pulled from the start again. Defaults to: ["#bb250c","#f67210","#fde680","#257679","#f1c6c5"]
494+
public var series: [Any]? //An array of all the chart's series
495495
public var legendEnabled: Bool? //Enable or disable the legend. Defaults to true
496496
public var backgroundColor: Any? //The background color or gradient for the outer chart area. Defaults to #FFFFFF
497497
public var borderRadius: Int? //The corner radius of the outer chart border. Defaults to 0

TRADITIONAL-CHINESE-README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@
433433
public var tooltipValueSuffix: String? //浮動提示框單位後綴
434434
public var tooltipCrosshairs: Bool? //是否顯示準星線(默認顯示)
435435
public var colorsTheme: [Any]? //圖表主題顏色數組
436-
public var series: [AASeriesElement]? //圖表的數據數組
436+
public var series: [Any]? //圖表的數據數組
437437
public var legendEnabled: Bool? //是否顯示圖例
438438
public var backgroundColor: Any? //圖表背景色
439439
public var borderRadius: Int? //柱狀圖長條圖頭部圓角半徑(可用於設置頭部的形狀,僅對條形圖,柱狀圖有效)

0 commit comments

Comments
 (0)