Forum Replies Created by jmnn

Viewing 5 posts - 1 through 5 (of 5 total)
  • in reply to: can we get series minimum and maximum value of datapoints #23119

    Hi
    Thanks for your help

    I send you the code. The last price changes every 5 seconds, but only the price changes, the time is always the same, it does not change. (see crosshair)
    The file structure is as follows:
    1.- Data Historic Data ( 5 Datapoints)
    2.- Actual Data (update1(chart)
    3.- Update data (update2(chart)
    This is an example.
    The problem is in update2(chart). I have used the option (chart.options.data [0] .dataPoints [length-1] .y = price;)
    to place the data in the right place but it does not serve to update the value of time and I have not found the solution for it for updating date/time

    Code : jsfiddle.net

    thanks for your help

    • This reply was modified 5 years, 6 months ago by jmnn.
    in reply to: can we get series minimum and maximum value of datapoints #23109

    Thank you very much for your help. It was good for my job. I have it 99% completed. I just need the last step. I update the last point well but the crosshair does not update. I have used the length-1 option but the value of x is time and always has the value of the first point before updating. How could I update the crosshair?
    I also thought about erasing the last datapoint and adding the new one, but I did not find the instructions to erase a datapoint. Can you give some solution?
    Thanks for your help

    Look Picture picture picture

    in reply to: can we get series minimum and maximum value of datapoints #22628

    I’m sorry, the link was not shown in the previous message. I’ll write it again.

    Thank you very much. It is ok. Congratulions!
    Last question. is possible to draw this chart but dinamics data? Link: https://canvasjs.com/html5-javascript-line-chart/ (see picture in archive http://prntscr.com/kv9sp9 ) Similar at striplines but pointing specifically to the datapoint (max and min). I understand that if know the datapoints, i can to indicate manually
    { y: 520, indexLabel: “highest”,markerColor: “red”, markerType: “triangle” },
    { y: 410 , indexLabel: “lowest”,markerColor: “DarkSlateGrey”, markerType: “cross” },
    but i can not to draw the highest and lowest point when the data are dinamics. I can to draw the stripline with max and min but only points no.
    nullThanks for your help.

    in reply to: can we get series minimum and maximum value of datapoints #22609

    Thank you very much. It is ok. Congratulions!
    Last question. is possible to draw this chart but dinamics data? Similar at striplines but pointing specifically to the datapoint (max and min)
    Thanks for your help.

    in reply to: can we get series minimum and maximum value of datapoints #22594

    Hi
    is possible to draw max and min in chart with a stripline or similar?

    • This reply was modified 5 years, 7 months ago by jmnn.
Viewing 5 posts - 1 through 5 (of 5 total)