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
  1. var chart = new CanvasJS.Chart("container",
  2. {
  3. .
  4. .
  5. data: [{
  6. type: "funnel",
  7. valueRepresents: "area"
  8. },
  9. ]
  10. .
  11. .
  12. });
  13. 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