Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Brandon-316 opened this issue Mar 31, 2023 · 0 comments
Open

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

Brandon-316 opened this issue Mar 31, 2023 · 0 comments

Comments

@Brandon-316
Copy link

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant