My goal is to incorporate multiple Doughnut type graphs into a single component. Resource:
<div class="row">
<div class="col-12 col-lg-6">
<strong>All</strong>
<Doughnut chart-id="workNonWorkData" :dataset-id-key="'key1'" :chart-data="workNonWorkData" />
</div>
<div class="col-12 col-lg-6">
<strong>Approved</strong>
<Doughnut chart-id="workNonWorkAprData" :dataset-id-key="'key2'" :chart-data="workNonWorkAprData" />
</div>
</div>
Each doughnut operates individually when the other one is removed. However, when both are present, only the latter displays. I've verified that the canvas ids are unique. Could Vue be interpreting these as the same instance?