Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

225
Vistas
How to set highchart boxplot size

I am making a box plot in highchart, that can show between 1 and 6 objects. Unfortunately, high chart scales the size width the number of objects, so while my chart looks good when there are 6 objects it looks really bad when there are only 1 or 2 because the box plot ends up being too big and stretched horizontally. Is there a way to fix the size so that the boxes look the same regardless of the number of objects?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Use maxPointWidth or pointWidth option to control the box plot width.

Highcharts.chart('container', {
  series: [{
    type: 'boxplot',
    maxPointWidth: 50,
    data: [
      [760, 801, 848, 895, 965]
    ]
  }]
});

Demo:

https://jsfiddle.net/BlackLabel/w86xv14d/

API Reference:

https://api.highcharts.com/highcharts/series.boxplot.maxPointWidth https://api.highcharts.com/highcharts/series.boxplot.pointWidth

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda