Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Labels Not Showing Correctly #187

Open
bryanp-ramosoil opened this issue May 12, 2021 · 0 comments
Open

Labels Not Showing Correctly #187

bryanp-ramosoil opened this issue May 12, 2021 · 0 comments
Labels
question Further information is requested

Comments

@bryanp-ramosoil
Copy link

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?

2021-05-12 10_20_00

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();

@bryanp-ramosoil bryanp-ramosoil added the question Further information is requested label May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant