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

Okay
  Public Ticket #2770530
decimal places in pie charts
Closed

Comments

  • Matt started the conversation

    Hi, is it possible to display more than one decimal place in a pie chart? We're trying to display numbers with 2 decimal places but it rounds to 1.

    Thanks!

  • [deleted] replied

    Hi Matt

    Thank you for reaching out to us.

    Chart engines do not inherit the number format you set up in wpDataTables, and there are no built-in options to change the number format in the chart, but you can use wpdatachart callbacks. Every chart exposes several options that customize its look and feel. Charts usually support custom options appropriate to that visualization.

    You can take a look at this page in our FAQ section and see how this can be done.

    I hope this helps, do let us know if there is anything else we can assist you with.


  • Matt replied

    HI Blaženka,

    Is there any more specific instruction you could give? I'm trying to get Highcharts pie charts to allow 2 decimal places. I know what callbacks are but I have no idea where to even begin looking for information on how to achieve this.

    Thanks!

  • [deleted] replied

    Hi Matt

    The example I shared shows exactly how to change the number of decimal places in a column chart. I don't know how exactly the number of decimal places is changed for the pie chart, so I too would need to explore the API library, and that falls under customization which unfortunately is not included in the provided support.

    If there is anything else we can assist you with do let us know.