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 labels over data point #79

Closed
DavidStania opened this issue Mar 6, 2020 · 2 comments
Closed

Data labels over data point #79

DavidStania opened this issue Mar 6, 2020 · 2 comments
Labels
question Further information is requested

Comments

@DavidStania
Copy link

Describe your question

Hey Guys,
can anyone describe how to show labels over or inside data points? Sometimes it is very usefull to know witch exacly value datapoint has, without moving cursor hover for showing tooltip.

Which Blazor project type is your question related to?

  • Server-Side

Which charts is this question related to?

all charts

@DavidStania DavidStania added the question Further information is requested label Mar 6, 2020
@Joelius300
Copy link
Contributor

Thanks for the issue.

I think for that you need the datalabels-plugin. As far as I understand you don't have to configure/change anything in this library for the plugin to work, just take a look at the getting-started page.

Sometime in the future there will be an easy way to add plugins in this library and also a way to extend the classes with custom fields so you could add whatever you want if you need it (for example when you're using a plugin).

I'll close this issue for now. If this isn't enough information or you know what needs to be done for this then feel free to reopen.

@Joelius300
Copy link
Contributor

Joelius300 commented Mar 28, 2020

FYI If you have setup the plugin, you can configure it with this library from now on (see #91). This change is not included in the latest nuget release (1.1.0) but will be published in the future.

For the configuration on chart level you can use the Options.Plugins property but since this plugin also allows dataset level configurations, you will need to subclass the dataset you're using and adding the plugin option there too.

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

2 participants