0

enter code hereenter image description hereI am using react-chartjs-2 to implement chart modules. it is not responsive when we reisize screen

I am using Line component from react-chart-js-2

<Line options={options} data={data} height={80} />
Jasbir Rana
  • 259
  • 3
  • 13

2 Answers2

0

you should provide more details such as the component you used, parent divs, things like that

  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Oct 04 '22 at 11:04
0

Adding position relative to the parent div works for me.

Jasbir Rana
  • 259
  • 3
  • 13