Skip to content
Advertisement

Set equal height for funnel highcharts

I’m new to HighCharts. I have created a funnel with the below script

JavaScript

jsfiddle: https://jsfiddle.net/kiranuk/bavLxzrp/

How can I set equal heights for all the sections?.

Thanks for the help.

Advertisement

Answer

A height of a section is calculated based on data. If you want to have equal sections, you can provide mocked equal data and show the real data in a tooltip and data-labels. For example:

JavaScript

Live demo: https://jsfiddle.net/BlackLabel/e4b5o16d/

API Reference: https://api.highcharts.com/highcharts/series.funnel.data

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement