Forum Replies Created by BlazG

Viewing 2 posts - 1 through 2 (of 2 total)
  • in reply to: StripLines for every 5 minutes #37935

    Nevermind i fixed it. Found out that my time variable wasn’t updating because it was at the wrong place. Thanks for the help.

    in 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”}
    ]

Viewing 2 posts - 1 through 2 (of 2 total)