2020-06-11 09:31 PM
Hi ST,
I have a problem when draw graph. when i set size 400 and shift graph, its ok. But if set size 800, it has issue as image.
Code shift graph:
graphLine.setBuffer(graphBuffer, NUMBER_OF_POINTS);
//shift data
for (int i = 1; i < NUMBER_OF_POINTS; i++)
{
graphLine.addValue(graphBuffer[i-1].x, graphBuffer[i].y);
}
add new data
graphLine.addValue(Width_Single_Graph, demo);
2020-06-11 09:33 PM
2020-06-12 02:33 AM
What does "shift graph" mean?
2020-06-12 02:57 AM
It means: scrolling the graph to the left and then updating the pixels on the right.
if random number from 0-100, its OK. But value from 90-100, its not good.
Thanks
2020-06-18 06:44 AM
Maybe send me a sample project so i can see for myself
/Martin