2019-11-13 02:10 AM
I tried to implement a view (box+grid+graph) in vs. The grid consists of many lines and the graph is inherited by CanvasWidget.
1. Create canvasBuffer[CANVAS_BUFFER_SIZE] in main. cpp;Graph alone is ok.
CanvasWidgetRenderer: : setupBuffer (canvasBuffer CANVAS_BUFFER_SIZE);
CanvasWidgetRenderer: : setWriteMemoryUsageReport (true);
2. Changing the canvasBuffer[CANVAS_BUFFER_SIZE] in the main. cpp into the private of view. hpp cannot successfully implement graph.
3. Grid cannot be realized.But I can display the grid separately on the target board.
How do I implement this view using CWR. Thank you very much!:face_with_tears_of_joy:
Solved! Go to Solution.
2019-11-14 01:34 AM
I I've found the answer
2019-11-14 01:34 AM
I I've found the answer
2019-11-14 03:03 AM
Would you like to share with the group? =)
/Martin