Home Forums Chart Support StripLines for every 5 minutes Reply To: StripLines for every 5 minutes

#37934

I tried what you did but my problem now is that when value: time.getTime() gets written into the array there is always the same value written in it. Time doesn’t change like it should. I implemented your code from the updateChart function and the two variables: stripLineCounter = 0, var time = new Date() into my code.

This is how the contents of the array look like:

STRIPLINEARRAY: [
{“value”:1653983029310,”label”:”5 minute mark”},
{“value”:1653983029310,”label”:”5 minute mark”},
{“value”:1653983029310,”label”:”5 minute mark”},
{“value”:1653983029310,”label”:”5 minute mark”},
{“value”:1653983029310,”label”:”5 minute mark”},
{“value”:1653983029310,”label”:”5 minute mark”},
{“value”:1653983029310,”label”:”5 minute mark”},
{“value”:1653983029310,”label”:”5 minute mark”}
]