Highchart - Range Series - update dynamically - highcharts

I'm wondering how I can update range series dynamically.
Many thanks,

This is how range series are updated!
CurrentSeries.data[0].update([0,Timestamp1,Timestamp2]);
There is nothing about that in the doc Luciano!

Related

Google Sheet - Formula which create a automatically table linked with management header need

I would like automate a sheet template which will be used by others guys with specific datas.
In order to be more understandable, here after the link to my sheet example, for sure my official file are very, very more complexed:
https://docs.google.com/spreadsheets/d/1UyW12WwG9sJUF0ZhnHGP9adgbY3xWUpj4kM9-ASN2WE/edit?usp=sharing
Due to these specific datas, I would like that each guy filled a header Management table (sheet Chart 1 range A4:F4 and sheet Chart 2 range A4:F4), and the formula build automatically the table in field I4 of the sheets Chart 1 & Chart 2.
I hope that my explanations are enough and clear, and I cross my finger that you will help me to find a solution which will be automated.
Thanks in advance. Regards.
Vincent
Added solution to sheet here:
=LAMBDA(aix;MAP(INDEX(aix;;1);INDEX(aix;;2);INDEX(aix;;3);LAMBDA(ax;bx;cx;{ax\bx\cx\BYCOL(Datas!I:K;LAMBDA(ijk;SUMIFS(ijk;Datas!D:D;ax;Datas!E:E;bx;Datas!F:F;cx)))})))
(INDEX(SPLIT(FLATTEN(FLATTEN(FILTER(A5:A15; A5:A15<>"")&"|"&TRANSPOSE(FILTER(B5:B15; B5:B15<>"")))&"|"&TRANSPOSE(FILTER(C5:C15; C5:C15<>"")));"|")))

Google Sheet Histogram Chart x-axis and y-axis have different format

I have a single column of dates in a google sheet (UK format):
Date
----
11/06/2021
18/05/2021
18/05/2021
07/06/2021
07/06/2021
08/06/2021
19/05/2021
19/05/2021
19/05/2021
19/05/2021
19/05/2021
28/05/2021
03/06/2021
17/05/2021
17/05/2021
17/05/2021
25/05/2021
11/05/2021
11/05/2021
If I create a Histgram chart, I get this result:
My issue is that the x-axis is showing the date range but formatted as a number and the y-axis is showing the frequency but formatted as a date.
How can I change the format?
This is an example of my problem:
https://docs.google.com/spreadsheets/d/11dHU31RG-ykJrOypMid6Suw8xsvnRD4CByJkM5BUptQ/edit?usp=sharing
Unfortunately, the only data type that the Histogram supports is plain numbers
Officially its not supported. Source
Though it seems that its actually picking up the right way to organize it, the formatting of the series is not working.
When I tested it, I just did a bar chart which worked, but for histograms, I got the same result as you.
There is a feature request in the underlying visualization library here:
https://github.com/google/google-visualization-issues/issues/1457
More info here:
Create date histogram chart with google histogram

Autoupdate Google Sheet range

I have a logger that sends data to a Google Sheet every 5 minutes (by adding a new row to it).
I would like the charts I associated with the sheet to update their range automatically. If possible, I would like to avoid scripts.
It seems to me you should be able to set the chart range to the appropriate columns. Such as A:A. Can you share what the Data range for your chart is. Shown here:
In the above example, let's say columns I thru AG were going to go on in perpetuity due to logging. I could put I:AG in the data range field but it will auto update to the last row in the sheet. If you want to work around using this, add a bunch of blank rows at the bottom of the sheet and you will rarely need to update the range (&add more rows.)

Use a Dynamic Range for Chart Google Sheets

Is there any way to do this other than using an API?
It seems like you can't specify the range of a chart with a formula.
I've tried name ranges too - does anyone know a work around?
unfortunately this one is not possible. google sheets (up to this date) does not support formulas in input field of charts. the only thing you can do is to query/filter your dataset on some separate hidden sheet and then construct chart from there.

datagrouping integration in highcharts not highstock?

In our API gives data as daily basis(timestamp and value) but we need to display weekly and monthly with rangeselector integration using highcharts not highstock. Please any help me with this.
Highcharts doesn't have implemented the dataGrouping feature. It is available only in Highstock.
However, you can group your data by yourself before chart will be initialized. For example: If you want to process your data to group it, you will need to loop through your daily data, adding each value into a new data array, indexed on month.
To create a custom rangeselector you will need to create two arrays of data - one monthly, second weekly and do an update on particular button.
API: https://api.highcharts.com/class-reference/Highcharts.Chart#update

Resources