Okay
  Public Ticket #1748991
multi-level donut/pie charts
Closed

Comments

  •  1
    Laura K Sorensen started the conversation

    Hello. I'm attempting to create a multi-level pie/donut chart for a client like the HighCharts demo in the URL I included. I spec'd 'Donut Chart' in the Chart type selection and I even downloaded the csv file from the demo chart and used it as a data table in your demo (it has three columns), but I keep seeing a message that the 'Maximum count of columns for this chart type is 2'. Help! 

  • [deleted] replied

    Hi Laura K Sorensen,
    Thank you for the inquiry.

    It is not possible to have levels in Doughnut or Pie charts in wpDataTables. It supports just one level, where the first (string) column will be used for the slice names, and the second column (numeric) will be used for slice values.

    It is possible to achieve this with wpDataCharts callback, but that requires advanced knowledge of JavaScript and Highcharts library. You can take a look at the wpDataCharts callbacks at this link from our documentation - https://wpdatatables.com/documentation/information-for-developers/wpdatacharts-callbacks/

  •  1
    Laura K Sorensen replied

    Thanks for this info, Milos!