12 Replies Latest reply on Jul 5, 2017 5:13 AM by arvindgarg

    How to plot sales category against total sales on donut chart?

    Ahmed Borai

      Hello everyone,

      I have the below data set (which I pull through a sql connection) and I need to plot donut chart for each category. Each donut should have 2 slices; a sales category and total sales (sum of all cat).

       

      I know how to build a donut but I do not know how to make the 2 slices per donut part. What I get is 3 donuts with 360 degrees angle.

       

      any help would be appreciated.

       

      Sales Categories

      Sales
      Cat 1$2500
      Cat 1$3742
      Cat 2$884
      Cat 1$84
      Cat 2$7890
      Cat 3$9890
      Cat 3$5431

       

      thanks