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

269
Vistas
How can I add event in apex chart js?

I am developing an vertical bar chart using apex chart. But I can't set specific with to single bars and How can I add event handler to this. Suppose when click on one button, it will show one type of data, when click on another button, it will show one type of data.image to using apex chart

I tried to develop a dynamic bar chart and I am expecting to make it dynamic according to selected event

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

0

You need to add the chart object in the options object which has the events you want to capture like the following:

   chart: {
      events: {
         click: function (event, chartContext, config) {
          console.log('mouse move');
        }
    }

For more details about the events: https://apexcharts.com/docs/options/chart/events/

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