ChartView icon indicating copy to clipboard operation
ChartView copied to clipboard

Line Chart with equal data points does not appear.

Open Brandon-316 opened this issue 2 years ago • 0 comments

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)

Brandon-316 avatar Mar 31 '23 17:03 Brandon-316