Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some minor nits #913

Merged
merged 2 commits into from
Apr 3, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public class PieChartDataSet: ChartDataSet, IPieChartDataSet
public var yValuePosition: PieChartValuePosition = .InsideSlice

/// When valuePosition is OutsideSlice, indicates line color
public var valueLineColor: NSUIColor? = UIColor.blackColor()
public var valueLineColor: NSUIColor? = NSUIColor.blackColor()

/// When valuePosition is OutsideSlice, indicates line width
public var valueLineWidth: CGFloat = 1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ public class BarDemoViewController: NSViewController
self.barChartView.data = data

self.barChartView.gridBackgroundColor = NSUIColor.whiteColor()

self.barChartView.descriptionText = "Barchart Demo"
}

@IBAction func save(sender: AnyObject)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ public class LineDemoViewController: NSViewController
self.lineChartView.data = data

self.lineChartView.gridBackgroundColor = NSUIColor.whiteColor()

self.lineChartView.descriptionText = "Linechart Demo"
}

override public func viewWillAppear()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ public class PieDemoViewController: NSViewController
self.pieChartView.centerAttributedText = centerText

self.pieChartView.data = data

self.pieChartView.descriptionText = "Piechart Demo"
}

override public func viewWillAppear()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public class RadarDemoViewController: NSViewController
ds2.colors = [NSUIColor.blueColor()]
data.addDataSet(ds2)
self.radarChartView.data = data
self.radarChartView.descriptionText = "Radarchart Demo"

}

override public func viewWillAppear()
Expand Down