Skip to content

Commit

Permalink
fix pie entryLable style
Browse files Browse the repository at this point in the history
  • Loading branch information
wuxudong committed Apr 23, 2017
1 parent e306389 commit 90828df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ios/ReactNativeCharts/pie/RNPieChartView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,10 @@ class RNPieChartView: RNChartViewBase {
}

override func didSetProps(_ changedProps: [String]!) {
super.didSetProps(changedProps);
let pieChartDataSet = chart.data?.dataSets[0] as? PieChartDataSet

pieChartDataSet?.entryLabelColor = chart.entryLabelColor
pieChartDataSet?.entryLabelFont = chart.entryLabelFont
}
}

}

0 comments on commit 90828df

Please sign in to comment.