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

Data variable in RadarDataset class to be of type int #106

Closed
devanshidiaries opened this issue May 1, 2020 · 1 comment
Closed

Data variable in RadarDataset class to be of type int #106

devanshidiaries opened this issue May 1, 2020 · 1 comment
Labels
duplicate This issue or pull request already exists question Further information is requested

Comments

@devanshidiaries
Copy link

Describe your question

Data variable in RadarDataset class of the RadarChartComponent is a double type list. Instead of doing a _rand.NextDouble() to assign the chart distribution double values. I would like to give int values for distribution on radar chart. But the Data variable defined in the RadarDataset class only takes a list with double type. Because the RadarDataset class is metadata class from ChartJs.Blazor, I cannot edit this as part of my code. Is there a workaround?

Which Blazor project type is your question related to?

  • Server-Side

Which charts is this question related to?

Radar Chart

@devanshidiaries devanshidiaries added the question Further information is requested label May 1, 2020
@Joelius300 Joelius300 added the duplicate This issue or pull request already exists label May 1, 2020
@Joelius300
Copy link
Contributor

Joelius300 commented May 1, 2020

This is a duplicate of #105. I find it incredible that the same question was asked by two different accounts in such a short amount of time. I explained why it's a double in the other issue.
I'm closing this issue and answering the other because this one was submitted later. Still I want to thank you for providing more information than the other issue.

If you can't add an integer value to a list of doubles, you're doing something fundamentally wrong. I suggest taking it to https://stackoverflow.com/ if you can't figure it out yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants