Skip to content

SparkLine with list of same values and zero line overlay not displayed.  #16

@martindufort

Description

@martindufort

In some cases, my sparkline will have a series of identical values.
Example:

var activityArray = [CGFloat](repeating: 20.0, count: 30)

I want to show them in a DSFSparklineZeroLineGraphView but for those cases, nothing is displayed.
I even set the zeroLineVisible attribute to true.

Anything specific I'm missing? All my values will be positive values but I cannot control if they are all identical or not.
Let me know where to investigate.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions