valueRepresents allows you to specify whether values in Funnel / Pyramid Charts are proportional to respective section’s height or area.
Default: “height”
- var chart = new CanvasJS.Chart("container",
- {
- .
- .
- data: [{
- type: "funnel",
- valueRepresents: "area"
- },
- ]
- .
- .
- });
- chart.render();
Also See: