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%”

Notes
  • 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 it Yourself by Editing the Code below.

  Also See:    



In order to provide better support,we have closed the comments and switched completely to our Forums.
If you have any questions, please feel free to ask in our forums.