graph widget is too slow, why?

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • graph widget is too slow, why?

    hi
    i'm working by discovery f746 board and i draw a graph to show the data that received from adc. i saved the data on the sdram then start to draw the graph by GRAPH_DATA_YT_AddValue() and related by value of data,set the scale and refresh graph.
    in start of point every thing is good but after 10 seconds the graph move slow an slower.
    when i don't reset scale and refresh graph by GRAPH_DetachScale() and GRAPH_DATA_YT_Clear() never graph will be slow.but i have to update scale that in this case graph work so slow.
    what i have to do?
    please help me.
    thanks a lot.