Skip to content

bar chart fails to display when only one entry is there in dataSeries #575

Description

@madhumb
 self.chartView.graphView.dataSeries = [
            OCKDataSeries(values: [132], title: "Steps", gradientStartColor: ColorUtility.chartBottomColor(), gradientEndColor: ColorUtility.chartTopColor())
        ]

when we have two entries in values bar seems to work fine. it doesn't show anything when only one entry is there

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions