We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3e36632 + ed8cf20 commit f7a648cCopy full SHA for f7a648c
Source/Charts/Data/Implementations/Standard/PieChartData.swift
@@ -23,6 +23,20 @@ open class PieChartData: ChartData
23
super.init(dataSets: dataSets)
24
}
25
26
+ /// - returns: All DataSet objects this ChartData object holds.
27
+ @objc open override var dataSets: [IChartDataSet]
28
+ {
29
+ get
30
31
+ assert(super.dataSets.count <= 1, "Found multiple data sets while pie chart only allows one")
32
+ return super.dataSets
33
+ }
34
+ set
35
36
+ super.dataSets = newValue
37
38
39
+
40
@objc var dataSet: IPieChartDataSet?
41
{
42
get
0 commit comments