Skip to content

Commit

Permalink
Default backgroundColor to clearColor (issue #49)
Browse files Browse the repository at this point in the history
When initializing in IB, it's clear.
But initWithFrame set it as nil - and combined with the default opaque=YES - it was filling the background with black.
  • Loading branch information
danielgindi committed May 5, 2015
1 parent 1628822 commit 933f4b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Charts/Classes/Charts/ChartViewBase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ public class ChartViewBase: UIView, ChartAnimatorDelegate
public override init(frame: CGRect)
{
super.init(frame: frame);
self.backgroundColor = UIColor.clearColor();
initialize();
}

Expand Down

0 comments on commit 933f4b2

Please sign in to comment.