react-native-charts-wrapper icon indicating copy to clipboard operation
react-native-charts-wrapper copied to clipboard

line chart spike gets cutt off

Open jaikantshikray opened this issue 2 years ago • 1 comments

All the values are same but last spike value gets cutt off from top i have set axisminimum to 0 and axisMaximum value to 1 and all spikes have 1 value for y axis Simulator Screen Shot - iPhone 13 Pro - 2022-06-17 at 14 34 52

jaikantshikray avatar Jun 17 '22 09:06 jaikantshikray

try y-axis left & right axisMinimum axisMaximum

 yAxis={{
          left: {
            axisMinimum: 0,
            axisMaximum: chartMaxValue,
          },
          right: {
            axisMinimum: 0,
            axisMaximum: chartMaxValue,
          },
        }}

empiteranga avatar Aug 12 '22 07:08 empiteranga