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

294
Vistas
Highcharts: is it possible to set up top border radius for the columns in Column chart?

I'm trying to set up a column chart that would look like this:

column chart

And I would like to make top border radius for columns rounded.

I found a solution that looks like this:

plotOptions: {
    series: {
        borderRadius: 8
    }
},

However the problem is that the border on bottom part of the columns is getting rounded this way as well:

rounded column chart

And there's no way to pass a string to that borderRadius parameter with a several parameters for each corner., e.g. borderRadius: '5px 0'. Is it possible to set it up somehow?

Here's part of documentation that I've been referring to: documentation

NOTE: there's a solution for such problem here with use of JQuery, however I was wondering whether it is possible to set up in React?

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

0

I was actually able to modify it by using this plugin highcharts-border-radius. In the component with the column chart I added the following import:

const borderRadius = require('highcharts-border-radius');
borderRadius(Highcharts);

And in the config object that is being passed to HighchartsReact component as options prop I added the following:

plotOptions: {
        column: {
            pointPadding: 0.2,
            borderWidth: 0
        },
        series: {
            borderRadiusTopLeft: 8,
            borderRadiusTopRight: 8
        }
    },

This setup worked for me

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