Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

184
Views
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 answers
Answer question

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 Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!