You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When you have a line graph and a pie chart in the same page, and either of them has registerdatalabels set to true,
The result is that based on order of appearance, one chart will be partially rendered, and the other not rendered at all.
To Reproduce
In a blazor server project, create a PieChart Component...
Once you run the application, you will see something like...
if you open dev tools and look at console, you can see...
if you comment out the RegisterDataLabels setting in the PieOptions inside of the PieChartConfig,
you can see both the line graph and the simple pie chart, but of course with no labels as below...
if you enable RegisterDataLabels and only use the simple pie component like below...
Describe the bug
When you have a line graph and a pie chart in the same page, and either of them has registerdatalabels set to true,
The result is that based on order of appearance, one chart will be partially rendered, and the other not rendered at all.
To Reproduce
In a blazor server project, create a PieChart Component...
and a LineGraph component...
Reference the components in the _Imports.razor and use them in the Home page...
Once you run the application, you will see something like...
if you open dev tools and look at console, you can see...
if you comment out the RegisterDataLabels setting in the PieOptions inside of the PieChartConfig,
you can see both the line graph and the simple pie chart, but of course with no labels as below...
if you enable RegisterDataLabels and only use the simple pie component like below...
The pie chart renders with no problems.
Steps to reproduce the behavior:
Expected behavior
Both charts render and the labels are visible where enabled.
Desktop (please complete the following information):
Additional context
I have also noticed that when both charts are used, in here
_labels does not exists as a key
The text was updated successfully, but these errors were encountered: