Skip to content

Commit f3381af

Browse files
authored
Merge pull request #533 from AAChartModel/dev
Dev
2 parents 4590e43 + b7a7a8f commit f3381af

File tree

51 files changed

+4516
-948
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+4516
-948
lines changed

AAInfographics/AAChartCreator/AAChartModel.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,10 @@ public enum AAChartType: String {
8181
case scatter //A scatter plot uses cartesian coordinates to display values for two variables for a set of data.
8282
case pie //A pie chart is a circular graphic which is divided into slices to illustrate numerical proportion.
8383
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.
8485
case pyramid //A pyramid series is a special type of funnel, without neck and reversed by default.
8586
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.
8688
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.
8789
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.
8890
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 {
162164
public var subtitleAlign: AAChartAlignType?//The chart subtitle text align style
163165
public var subtitleStyle: AAStyle? //The chart subtitle style
164166
public var chartType: AAChartType? //The default series type for the chart. Can be any of the chart types listed under `AAChartType`. Defaults to line
165-
public var stacking: 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-
public var markerSymbol: 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+
public var stacking: 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+
public var markerSymbol: 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"
167169
public var markerSymbolStyle: AAChartSymbolStyleType?
168170
public var zoomType: AAChartZoomType? //Decides in what dimensions the user can zoom by dragging the mouse. Can be one of x, y or xy
169171
public var inverted: 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 {
199201
public var backgroundColor: Any? //The background color or gradient for the outer chart area. Defaults to #FFFFFF
200202
public var borderRadius: Any? //The corner radius of the outer chart border. Defaults to 0
201203
public var markerRadius: Float? //The radius of the point marker. Defaults to 4
202-
public var scrollablePlotArea: AAScrollablePlotArea? //Scroll properties if supported
204+
public var scrollablePlotArea: AAScrollablePlotArea?//Scroll properties if supported
203205

204206

205207
@discardableResult

AAInfographics/AAChartCreator/AAChartView+API.swift

Lines changed: 421 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)