As previously announced via banners and our newsletters, support is no longer available through this platform.
For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.
You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.
Paid customers: Please log in to your store account for support.
Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com
I'd like to place data labels above my column chart columns in Chart.js. I note it is not an option among the standard options in the plugin. I read your FAQ https://wpdatatables.com/faqmd/remove-datalabels-add-legend-pie-charthighcharts/ about using the wpDataChartsCallbacks[chart_id] feature.
I tried looking at the feature and the Charts.js documentation but it wasn't clear to me on how to add data labels this way. I managed to paste the example code which worked but I don't know how to apply the documentation option using that method... This is what I found
https://www.chartjs.org/docs/latest/axes/radial/linear.html#point-label-options
Could you give me a small code snippet showing how to add data labels?
I've made this question public because I think a lot of other customers would benefit from this. It is quite common to show data labels in charts and I suggest you include the feature in future releases as it really helps with chart readability.
Thanks!
Hello Peter.
Like you mentioned, that is the default behavior of the chart engine, but you should be able to add the labels using our wpDataCharts callbacks.
By looking at their APIs a bit, I can point you to stick with pointLabels. This doesn't work, but I hope it will point you in the right direction:
I believe you're looking for something like this, so please check Stack Overflow, and other resources.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables