Skip to content

Line Chart with equal data points does not appear. #260

@Brandon-316

Description

@Brandon-316

Description

If all data points are equal then the line chart does not appear.

Expected Behavior

A straight line for the chart.

Actual Behavior

The chart remains empty.

Possible Fix

Switching to a bar chart with a single bar and adjusting the gradient is an option but then the line is not present. It also has the bar chart drag animation where the bar expands.

Steps to Reproduce

Load data with all data points equal like [250, 250, 250].

Your Environment

  • Version of this package used: 2.0.0-beta.2
  • Device/Simulator: Simulator 14 Pro Max(iOS 16.2) and Device 12 Pro Max(iOS 16.3.1)

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