Skip to content

Commit

Permalink
Merge pull request #847 from leoMehlig/piechartdata
Browse files Browse the repository at this point in the history
Type bug in PieChartData
  • Loading branch information
danielgindi committed Mar 17, 2016
2 parents cfba24b + 5a83116 commit c218f3d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ public class PieChartData: ChartData
super.init(xVals: xVals, dataSets: dataSets)
}

var dataSet: PieChartDataSet?
var dataSet: IPieChartDataSet?
{
get
{
return dataSets.count > 0 ? dataSets[0] as? PieChartDataSet : nil
return dataSets.count > 0 ? dataSets[0] as? IPieChartDataSet : nil
}
set
{
Expand Down

0 comments on commit c218f3d

Please sign in to comment.