Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

163
Visualizações
How we can implement the same functionality of onClick of legend as we have for hover in Pie chart Highcharts?

How we can implement the same functionality of onClick of legend as we have for hover in Pie chart in Highcharts?

I want to implement the same functionality on click of legend as we have for hover. eg. When we hover on any legend in pie chart, we show the corresponding pie segment and blur the other segment of pie chart. I want the feature with legends also. So that when I click on any legend, It should highlight the corresponding section and blur the other segments. Also show tooltip when I click on legend.

Current behaviour when click on legend - hides the corresponding section.

Expected behaviour when click on legend - highlight the corresponding section and show tooltip.

I have the solution for showing tooltip when click on legend but don't have the solution for "highlight the corresponding section and blurring the other segments".

Any help would be appreciable. I am looking for the solution as quick as possible.

Thank you in advance! :)

Below is the link for codesandbox where I am trying to implement above usecase. https://codesandbox.io/s/friendly-fire-4smdrt?file=/src/App.js:3352-3356

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda