This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Description
As you can see in the attached image, the graph draws black. This only happens when you peek in to the notification center (scroll the notification center open, but hold it so your graph is viewable and the extension won't reload).

When I view the notification center fullscreen, the issue disappears and it's only showing blue again.
Properties:
backgroundColor = UIColor.clearColor()
animationGraphStyle = .None
alwaysDisplayDots = false
alwaysDisplayPopUpLabels = false
colorLine = UIColor.whiteColor()
alphaLine = 1.0
colorTop = UIColor.clearColor()
colorBottom = UIColor(rgba: "#5A9CD7")
alphaBottom = 1.0
widthLine = 0
enableBezierCurve = true
enableXAxisLabel = true
enableReferenceAxisFrame = true
enableBottomReferenceAxisFrameLine = true
enableLeftReferenceAxisFrameLine = false
clipsToBounds = true
// Touches
enableTouchReport = true
colorTouchInputLine = UIColor.clearColor()
colorPoint = UIColor.clearColor()
// X Labels
labelFont = UIFont.systemFontOfSize(11, weight: .Medium)
colorBackgroundXaxis = UIColor.clearColor()
colorXaxisLabel = UIColor(rgba: "#717171")
How can I fix this so the user doesn't see the black drawing before the notification center is loaded?
Other example how it should look:

How it looks while opening the notification center:

EDIT: Looks like an issue on the colorBottom. When I give the collorTop a colour, the gaps in the colorBottom are still being drawn black.