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

227
Views
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 answers
Answer question

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 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!