Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

183
Views
Establecer la misma altura para los gráficos altos de embudo

Soy nuevo en HighCharts. He creado un embudo con el siguiente script

 Highcharts.chart('container', { chart: { type: 'funnel' }, title: { text: 'Sales funnel' }, plotOptions: { series: { dataLabels: { enabled: true, format: '<b>{point.name}</b> ({point.y:,.0f})', softConnector: true, inside: true, }, neckHeight: "0%", neckWidth: "80%", width: '15%', reversed: true, } }, legend: { enabled: false }, series: [{ name: 'Unique users', data: [ ['Website visits', 15654], ['Downloads', 4064], ['Requested price list', 1987], ['Invoice sent', 976], ['Finalized', 846] ] }] });

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

¿Cómo puedo establecer alturas iguales para todas las secciones?.

Gracias por la ayuda.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

La altura de una sección se calcula en función de los datos. Si desea tener secciones iguales, puede proporcionar datos iguales simulados y mostrar los datos reales en una información sobre herramientas y etiquetas de datos. Por ejemplo:

 plotOptions: { series: { dataLabels: { format: '<b>{point.name}</b> ({point.realY:,.0f})', ... }, ... } }, tooltip: { formatter: function() { return this.series.name + '<br><span style="color:' + this.color + '">●</span> ' + this.point.name + ': <b>' + this.point.realY + '</b>'; } }, series: [{ name: 'Unique users', keys: ['name', 'y', 'realY'], data: [ ['Website visits', 1, 15654], ['Downloads', 1, 4064], ['Requested price list', 1, 1987], ['Invoice sent', 1, 976], ['Finalized', 1, 846] ] }]

Demostración en vivo: https://jsfiddle.net/BlackLabel/e4b5o16d/

Referencia de API: https://api.highcharts.com/highcharts/series.funnel.data

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!