neckWidth: Number/String

neckWidth property allows you to set width of neck in Funnel Chart. Value can either be in pixels (number – ex: 100) or percent (string – ex: “80%”). Percent values are relative to the auto calculated head width of funnel.

Default: Automatically calculate in order to best fit the indexLabels
Example: 100, 150, “30%”, “35%”

  • Pixel values are Numbers.
  • Percent values are strings.
  • Works only in Funnel Chart

var  chart =  new  CanvasJS.Chart("container",
  data: [{
   type: "funnel",
   neckWidth:  "20%"

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