Skip to content

Commit d0f4691

Browse files
committed
Update AAChartModel.swift
1 parent 0aa954a commit d0f4691

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

AAInfographics/AAChartCreator/AAChartModel.swift

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030

3131
*/
3232

33+
//https://api.highcharts.com/highcharts/chart.animation
3334
public enum AAChartAnimationType: Int {
3435
case linear
3536
case easeInQuad
@@ -68,6 +69,7 @@ public enum AAChartAnimationType: Int {
6869
case easeTo
6970
}
7071

72+
//https://api.highcharts.com/highcharts/plotOptions
7173
public enum AAChartType: String {
7274
case column //Column series display one column per value along an X axis.
7375
case bar //A bar series is a special type of column series where the columns are horizontal.
@@ -81,7 +83,7 @@ public enum AAChartType: String {
8183
case pyramid //A pyramid series is a special type of funnel, without neck and reversed by default.
8284
case funnel //Funnel charts are a type of chart often used to visualize stages in a sales project, where the top are the initial stages with the most clients. It requires that the modules/funnel.js file is loaded.
8385
case columnrange //The column range is a cartesian series type with higher and lower Y values along an X axis. To display horizontal bars, set chart.inverted to true.
84-
case arearange //The area range series is a carteseian series with higher and lower values for each point along an X axis, where the area between the values is shaded.
86+
case arearange //The area range series is a cartesian series with higher and lower values for each point along an X axis, where the area between the values is shaded.
8587
case areasplinerange //The area spline range is a cartesian series type with higher and lower Y values along an X axis. The area inside the range is colored, and the graph outlining the area is a smoothed spline.
8688
case boxplot //A box plot is a convenient way of depicting groups of data through their five-number summaries: the smallest observation (sample minimum), lower quartile (Q1), median (Q2), upper quartile (Q3), and largest observation (sample maximum).
8789
case waterfall //A waterfall chart displays sequentially introduced positive or negative values in cumulative columns.
@@ -90,26 +92,32 @@ public enum AAChartType: String {
9092
case errorbar //Error bars are a graphical representation of the variability of data and are used on graphs to indicate the error, or uncertainty in a reported measurement.
9193
}
9294

95+
//https://api.highcharts.com/highcharts/legend.layout
9396
public enum AAChartLayoutType: String {
9497
case horizontal, vertical
9598
}
9699

100+
//https://api.highcharts.com/highcharts/legend.align
97101
public enum AAChartAlignType: String {
98102
case left, center, right
99103
}
100104

105+
//https://api.highcharts.com/highcharts/legend.verticalAlign
101106
public enum AAChartVerticalAlignType: String {
102107
case top, middle, bottom
103108
}
104109

110+
//https://api.highcharts.com/highcharts/chart.zoomType
105111
public enum AAChartZoomType: String {
106112
case none, x, y, xy
107113
}
108114

115+
//https://api.highcharts.com/highcharts/plotOptions.series.stacking
109116
public enum AAChartStackingType: String {
110117
case none = "", normal, percent
111118
}
112119

120+
//https://api.highcharts.com/highcharts/plotOptions.series.marker.symbol
113121
public enum AAChartSymbolType: String {
114122
case circle //◉ ◉ ◉
115123
case square //■ ■ ■
@@ -122,10 +130,12 @@ public enum AAChartSymbolStyleType: String {
122130
case normal, innerBlank, borderBlank
123131
}
124132

133+
//https://api.highcharts.com/highcharts/title.style.fontWeight
125134
public enum AAChartFontWeightType: String {
126135
case thin, regular, bold
127136
}
128137

138+
//https://api.highcharts.com/highcharts/series.line.dashStyle
129139
public enum AAChartLineDashStyleType: String {
130140
case solid //———————————————————————————————————
131141
case shortDash //— — — — — — — — — — — — — — — — — —

0 commit comments

Comments
 (0)