Skip to main content
lxw
Associate III
November 13, 2019
Solved

Canvas Widget Renderer error

  • November 13, 2019
  • 2 replies
  • 1443 views

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:

This topic has been closed for replies.
Best answer by lxw

I I've found the answer

2 replies

lxw
lxwAuthorBest answer
Associate III
November 14, 2019

I I've found the answer

Martin KJELDSEN
Principal III
November 14, 2019

Would you like to share with the group? =)

/Martin