You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AAInfographics/AAChartCreator/AAChartModel.swift
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -81,8 +81,10 @@ public enum AAChartType: String {
81
81
case scatter //A scatter plot uses cartesian coordinates to display values for two variables for a set of data.
82
82
case pie //A pie chart is a circular graphic which is divided into slices to illustrate numerical proportion.
83
83
case bubble //A bubble series is a three dimensional series type where each point renders an X, Y and Z value. Each points is drawn as a bubble where the position along the X and Y axes mark the X and Y values, and the size of the bubble relates to the Z value.
84
+
case packedbubble //A packed bubble series is a two dimensional series type, where each point renders a value in X, Y position. Each point is drawn as a bubble where the bubbles don't overlap with each other and the radius of the bubble relates to the value.
84
85
case pyramid //A pyramid series is a special type of funnel, without neck and reversed by default.
85
86
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.
87
+
case columnpyramid //Column pyramid series display one pyramid per value along an X axis. To display horizontal pyramids, set chart.inverted to true.
86
88
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.
87
89
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.
88
90
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.
@@ -162,8 +164,8 @@ public class AAChartModel: AAObject {
162
164
publicvarsubtitleAlign:AAChartAlignType?//The chart subtitle text align style
publicvarchartType:AAChartType? //The default series type for the chart. Can be any of the chart types listed under `AAChartType`. Defaults to line
165
-
publicvarstacking:AAChartStackingType?//Whether to stack the values of each series on top of each other. Possible values are null to disable, "normal" to stack by value or "percent". When stacking is enabled, data must be sorted in ascending X order
166
-
publicvarmarkerSymbol:AAChartSymbolType?//A predefined shape or symbol for the marker. When null, the symbol is pulled from options.symbols. Other possible values are "circle", "square", "diamond", "triangle" and "triangle-down"
167
+
publicvarstacking:AAChartStackingType?//Whether to stack the values of each series on top of each other. Possible values are null to disable, "normal" to stack by value or "percent". When stacking is enabled, data must be sorted in ascending X order
168
+
publicvarmarkerSymbol:AAChartSymbolType?//A predefined shape or symbol for the marker. When null, the symbol is pulled from options.symbols. Other possible values are "circle", "square", "diamond", "triangle" and "triangle-down"
publicvarzoomType:AAChartZoomType? //Decides in what dimensions the user can zoom by dragging the mouse. Can be one of x, y or xy
169
171
publicvarinverted:Bool? //Whether to invert the axes so that the x axis is vertical and y axis is horizontal. When true, the x axis is reversed by default. If a bar series is present in the chart, it will be inverted automatically.Inverting the chart doesn't have an effect if there are no cartesian series in the chart, or if the chart is polar.Defaults to false
@@ -199,7 +201,7 @@ public class AAChartModel: AAObject {
199
201
publicvarbackgroundColor:Any? //The background color or gradient for the outer chart area. Defaults to #FFFFFF
200
202
publicvarborderRadius:Any? //The corner radius of the outer chart border. Defaults to 0
201
203
publicvarmarkerRadius:Float? //The radius of the point marker. Defaults to 4
202
-
publicvarscrollablePlotArea:AAScrollablePlotArea?//Scroll properties if supported
204
+
publicvarscrollablePlotArea:AAScrollablePlotArea?//Scroll properties if supported
0 commit comments