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

Today Extension drawing issue #285

@Jeroenbb94

Description

@Jeroenbb94

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions