0👍
I solved it! It doesn’t need any special code.
Just call the other charts to the html part. No need to iterate the breadcrumbs part on html.
<div class="card-body">
<div class="chart-area">
<canvas id="acceleroxChart"></canvas>
</div>
</div> <!--end of area chart-->
<br>
<h2>Chart2</h2>
<br>
<div class="card-body">
<div class="chart-area">
<canvas id="theotherchartname"></canvas>
</div>
</div>
.........and so on....
You can still use the the same structure code as the js file above for the other charts sensor, just change the data you need.
- Chartjs-Formatting Data With Charts.JS
- Chartjs-How I can change the font-family of labels in the bar chart?
Source:stackexchange.com