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”
Note
  • Works only in Funnel / Pyramid Chart
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
  data: [{
   type: "funnel",
   valueRepresents: "area" 
 
  },
 ]
 .
 . 
});
chart.render();

Try Editing The Code

Try Editing The Code

  Also See:    


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