wuxudong / react-native-charts-wrapper

a react native charts wrapper (support android & iOS)
2.44k stars 657 forks source link

Line chart Mode "Stepped" #878

Open deepak9705 opened 2 years ago

deepak9705 commented 2 years ago

*Do read files under `lib/` before reporting issues, you can find all the config there, all of them are straightforward.** Stepped Mode in Line chart is not correct.Value from say 0 -> 1 value change to 1 at the start of point instead of changing at the time when value is actual 1.

Expected Behavior.

Line should change at the time of change not at the start

Actual Behavior

Line changing at the start only.

Screenshots

IMG_0019

Data and config

Steps to Reproduce the Problem

Line chart Config-mode 'STEPPED'

Specifications

deepak9705 commented 2 years ago

I checked other graph.There should be prop to select type 'after https://www.chartjs.org/docs/3.3.0/samples/line/stepped.html