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

186
Visualizações
Highcharts get table from range selected only

I am writting this highchart in angular and I want to create my own range selector dynamically using this.chart.update. However it keeps saying undefined update not a function. How can I fix the code. Also, I am trying to export the dataTable into the graphTable div which is into a differnt tab. I have attached a image please help. [graph/tableview image][1]

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

You can try to get the data from the range selector events rangeSelector.buttons.events, you can also set your own datagrouping with rangeSelector.buttons.dataGrouping.

    rangeSelector: {
        buttons: [{
            type: 'month',
            count: 1,
            text: '1m',
            events: {
                click: function () {
                    console.log(this);
                }
            }
        },
    }

Demo: https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/stock/rangeselector/button-click/

API References: https://api.highcharts.com/highstock/rangeSelector.buttons.events https://api.highcharts.com/highstock/rangeSelector.buttons.dataGrouping

about 4 years ago · Juan Pablo Isaza Relatório

0

Implement inside chart.events.load() with this you are already close to getting data from other variables/sources and passing it inside the rangeSelector button events.

chart: {
  events: {
    load: function() {
      let chart = this,
        rangeSelector = chart.rangeSelector;
      console.log(chart);

      rangeSelector.update({
        buttons: [{

Demo: https://jsfiddle.net/BlackLabel/Lgdhokfy/

API References: https://api.highcharts.com/highcharts/chart.events.load

about 4 years ago · Juan Pablo Isaza Relatório
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