Chart.JS是否可以在10次输入后自动生成新图表?

I am making a chart that tracks a user's body weight. The user can input their weight and its automatically inserted to mysql and to chartjs. After around 15 data I find the chart is very hard to read. I want my chartjs to automatically make a new chart below the first one after 10 data inputs. Is this possible?

The first solution I can think of is by limiting the charts X axis to 10 inputs. But I don't really know how to automatically makes a new chart after a certain input.

Does anyone have a solution? Thanks!