valueRepresents: String

valueRepresents allows you to specify whether values in Funnel / Pyramid Charts are proportional to respective section’s height or area.


Default: “height”
Example: “area”,”height”

Notes
  • Works only in Funnel / Pyramid Chart


var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
  data: [{
   type: "funnel",
   valueRepresents: "area" 
 
  },
 ]
 .
 . 
});
chart.render();


Try it Yourself by Editing the Code below.

Try it Yourself by Editing the Code below.

  Also See:    



If you have any questions, please feel free to ask in our forums.Ask Question