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

178
Views
Mostrar el valor máximo de una columna apilada de gráficos altos en la parte inferior

¿Alguien sabe si es posible especificar el orden de visualización de las columnas apiladas en los gráficos altos?

Me gustaría mostrar el valor más grande (en %) desde abajo y no puedo encontrar la manera de hacerlo.

Gracias

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Puede intentar usar una configuración especial para mostrar el valor sume yAxis.stackLabels en series apiladas. , pero es una configuración que muestra la suma de los valores de la columna. Para obtener el valor máximo, debe profundizar en el núcleo y crear un wrapp extending-highcharts .

 Highcharts.chart('container', { chart: { type: 'column' }, plotOptions: { column: { stacking: 'normal', } }, yAxis: { allowDecimals: false, min: 0, title: { text: 'Number of fruits' }, stackLabels: { enabled: true, verticalAlign: 'bottom', style: { fontWeight: 'bold' }, formatter: function() { var val = this.total; if (val > 0) { return val; } return ''; }, } }, series: [{ data: [4, 3, 5, 6, 2, 3] }, { data: [4, 3, 5, 6, 2, 3].reverse() } ] });

Demostración: https://jsfiddle.net/BlackLabel/80dcmj2e/1/

about 4 years ago · Santiago Trujillo 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!