cancel
Showing results for 
Search instead for 
Did you mean: 

Canvas Widget Renderer error

lxw
Senior

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:

1 ACCEPTED SOLUTION

Accepted Solutions
lxw
Senior

I I've found the answer

View solution in original post

2 REPLIES 2
lxw
Senior

I I've found the answer

Martin KJELDSEN
Chief III

Would you like to share with the group? =)

/Martin