dygraphs icon indicating copy to clipboard operation
dygraphs copied to clipboard

[feat] set rollperiod's hidden data as errorbars

Open Albirew opened this issue 4 months ago • 3 comments

I'd like to use the data "hidden" when setting rollperiod shown as errorbars. It is not possible for now (or at least not as easily as adding a boolean)

Since my explanations are shitty, here an example i made using gimp:

Image

On this example, data are from a csv with values taken every 15mn and rollperiod is set at 90, which is approximately a day (24*4=96 datas a day). The fake errorbars you see is the very same data with rollperiod to 1.

Albirew avatar Aug 17 '25 15:08 Albirew

Albirew dixit:

On this example, data are from a csv with values taken every 15mn and rollperiod is set at 90, which is approximately a day (24*4=96 datas a day). The fake errorbars you see is the very same data with rollperiod to 1.

Hmm, interesting. Without having looked at the picture in a GUI browser, can you achieve the same by preprocessing the data into the errorbar format and would that work for you? Possibly put it into a datahandler…

mirabilos avatar Aug 18 '25 00:08 mirabilos

i... don't think it's easily feasible.

real data is made by taking IPMI data and stripping results into csv file every 15mn. So each line is only unix_timestamp;temp_value.

the command i use is echo "$(date +'%s')000,$(ipmitool -I lanplus -H ${ipmid} -U ${ipmiuser} -P ${ipmipass} sdr type temperature | grep degrees | sed 's/.*|//' | sed 's/[^0-9-]*//g')" >> ${webfolder}/temp-full.log

From my understanding (i'm not much of a dev), errorbar is one more value (time;temp_low;temp_high instead of just time;temp) added to csv, but since it's not processed (aside some grep/sed commands at grab time), i can only get these 2 values time;temp

Albirew avatar Aug 18 '25 16:08 Albirew

On Mon, 18 Aug 2025, Albirew wrote:

From my understanding (i'm not much of a dev), errorbar is one more value (time;temp_low;temp_high instead of just time;temp) added to csv, but since it's not processed (aside some grep/sed commands at grab time), i can only get these 2 values time;temp

Hmm, not what I meant, but I’ll have to think on this a bit when I find time.

mirabilos avatar Aug 19 '25 00:08 mirabilos