Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Today Extension drawing issue #285

Open
Jeroenbb94 opened this issue Nov 7, 2016 · 0 comments
Open

Today Extension drawing issue #285

Jeroenbb94 opened this issue Nov 7, 2016 · 0 comments
Labels

Comments

@Jeroenbb94
Copy link

Jeroenbb94 commented Nov 7, 2016

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).

screen shot 2016-11-07 at 14 34 17

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:
screen shot 2016-11-07 at 14 55 49

How it looks while opening the notification center:
screen shot 2016-11-07 at 14 55 35

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.

@Jeroenbb94 Jeroenbb94 added the bug label Nov 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant