Shift Graph
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-11 9: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);
- Labels:
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-11 9:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-12 2:33 AM
What does "shift graph" mean?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-12 2: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-18 6:44 AM
Maybe send me a sample project so i can see for myself
/Martin
