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

109
Vistas
How can you combine multiple graphs and control with one range selector with Highcharts?

I have multiple graphs one on page. The goal with these charts is to sync the charts up to one range selector (preferably a custom one which allow for predefined time selections ~1day, ~7days, ~30days etc). Something which is similar to that of Grafana and it's layout.

Imagine the following layout

---- Range Selector ----
||||||||||||||||||||||||
------- Graph 1 --------
||||||||||||||||||||||||
------- Graph 2 --------

I have scoured Highcharts forums for an answer and within the documentation and have not found anything other than to make use of master-detail API Reference

If anyone has attempted anything similar, or seen another framework which could better help in the direction I wish to take, it would be appreciated for any input.

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

0

All you need to do is to connect the navigator range with x-axes extremes by using setExtremes method. The below example is using a navigator from Highstock.

    xAxis: {
        ...,
        events: {
            afterSetExtremes: function(e) {
                chart1.xAxis[0].setExtremes(e.min, e.max, true, false);
                chart2.xAxis[0].setExtremes(e.min, e.max, true, false);
            }
        }
    }

Live demo: http://jsfiddle.net/BlackLabel/4Lfegyqa/

API Reference: https://api.highcharts.com/class-reference/Highcharts.Axis#setExtremes

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