Relative Content

Tag Archive for reactjschartsline

Fix the values on the y-axis on Line chart react-chartjs-2

I am building a Line graph with react-chartjs-2. As you can understand, the data is sliced into the graph.q The graph changes the values ​​on the y-axis according to the data. This distorts the view on the chart. I want to fix the values ​​on the Y axis between 0 and 120 and ensure that the data flows in that range. How can I achieve this?