neckHeight: Number/String

neckHeight property allows you to set height of neck in Funnel Chart. Value can either be in pixels (number – ex: 100) or percent (string – ex: “60%”). Percent values are relative to the height of the Funnel.

Default: Automatically calculated
Example: 100, 150, “30%”, “35%”
Note
  • Pixel values are Numbers.
  • Percent values are strings.
  • Works only in Funnel Chart
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
  data: [{
   type: "funnel",
   neckHeight:  "40%"
 
  },
 ]
 .
 . 
});
chart.render();

Try Editing The Code

  Also See:    


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