-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
Who is the bug affecting?
everyone (?)
What is affected by this bug?
Unable to view data in the chart.
When does this occur?
after the LWC has loaded on a contact page and then switching to a new contact
OR hiding and then reshowing the chart on the same contact
Where on the platform does it happen?
On the Contact lightning page
How do we replicate the issue?
static data in js:
hbdsStatic = [ { label : 'ABC', data : [4], backgroundColor : 'red' }, { label : 'XYZ', data : [2], backgroundColor : 'blue' }, ];
code in html:
<c-chart type="horizontalBar"> <c-dataset> <template for:each={hbdsStatic} for:item="d"> <c-data key={d.label} label={d.label} detail={d.data} backgroundcolor={d.backgroundColor}></c-data> </template> </c-dataset> </c-chart>
After clearing the cache, it loads correctly once.
Expected behavior (i.e. solution)
When viewing the component a second time, I expect the chart to render.
Other Comments
Metadata
Metadata
Assignees
Labels
No labels