-
Notifications
You must be signed in to change notification settings - Fork 6
Missing Tooltips in Option Class #89
Comments
You're right. It seems that we don't have tooltips configuration options at all yet: https://www.chartjs.org/docs/latest/configuration/tooltip.html |
Thanks for contacting us, I'm glad you like the library :) The tooltips do exist but are very limited currently. The file is here and as you can see, there's a TODO: Expand at the top. Because the tooltips have so many options to customize including many callbacks, we can't support it fully right now (we need a good general solution for parameterized callbacks which we have not determined yet). I think the following options should be included in the Format:
The Summaries are to be taken from the latest docs-page and adjusted according to our conventions (i.e. In chart.js 2.9 we'll have to add the following options:
Options will be left, right and center as you can see in the github docs-file. I found that but we don't need to worry about it right now, we just support 2.8 for now. I can do these changes and include them in the next release but I'll be away for a while soon so you'd have to wait a bit until I get time. If you want to implement it yourself, please tell us (so noone else wastes time doing the same thing) and take a look at our contributing guidelines, our styling guidelines (here and here (this two will be merged in a single document soon)), the current implementation of string-enums (they are in this folder and you should also look at #87) and previous pull request from other contributors. This should help you do it correctly so we don't waste time adjusting things :) |
Hi, Can I handle this issue ? It will be my first contribution so I don't promise that everything will be done right away :) BR |
Go for it :) Just make sure you take a look at the things I mentioned in the last comment here and you should be good. I'll review it once I get time (currently in vacation). |
Describe your question
First of all, this is an awsome library. Today i wanted to set the Tooltips options (i wanted to turn them off) and i realized, that this option is not in the PieOptions class for example or in the base class. I was wondering if this is as it should be?
Which Blazor project type is your question related to?
Which charts is this question related to?
PieChart
Thanks in advance,
r Michael
The text was updated successfully, but these errors were encountered: