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
I'm trying to add labels to a line cart and the labels don't show as intended. As you can see in the image the labels are 1,2,3 ... to 12. In this case it should have months from May to Apr (May, Jun, ... ,Dec , Jan, Feb, Mar, Apr). Is there something I'm missing or is this a bug?
Which Blazor project type is your question related to?
Client-Side
Which charts is this question related to?
Line Chart
Additional context
Add any additional context, screenshots or code about the question here.
I've tried using lineConfig.Data.Labels.AddRange but that looks to be no longer be supported.
This is what I use to build the labels.
foreach (var l in labels)
{
lineConfig.Data.Labels.Add(l);
}
At the end of it all I use _chart.Update();
The text was updated successfully, but these errors were encountered:
Describe your question
I'm trying to add labels to a line cart and the labels don't show as intended. As you can see in the image the labels are 1,2,3 ... to 12. In this case it should have months from May to Apr (May, Jun, ... ,Dec , Jan, Feb, Mar, Apr). Is there something I'm missing or is this a bug?
Which Blazor project type is your question related to?
Which charts is this question related to?
Line Chart
Additional context
Add any additional context, screenshots or code about the question here.
I've tried using lineConfig.Data.Labels.AddRange but that looks to be no longer be supported.
This is what I use to build the labels.
foreach (var l in labels)
{
lineConfig.Data.Labels.Add(l);
}
At the end of it all I use _chart.Update();
The text was updated successfully, but these errors were encountered: