ESPUI icon indicating copy to clipboard operation
ESPUI copied to clipboard

clearGraph is doing nothing

Open dervomsee opened this issue 4 years ago • 2 comments

Hi, i try to clear a graph by calling the clearGraph function in the callback function of a button, but nothing happens. The function behind is empty in the sourcecode. https://github.com/s00500/ESPUI/blob/482768863514b59b4b958c9a481b4523c1818368/src/ESPUI.cpp#L892 How can i clear a graph?

dervomsee avatar Nov 06 '20 13:11 dervomsee

this functionality is not implemented, right now you would need to clear your browsers localstorage to clear a graph

s00500 avatar Nov 07 '20 11:11 s00500

ESPUI.clearGraph(graphId); ESPUI.updateControl(graphId);

clear for me

test3210-d avatar Dec 15 '21 14:12 test3210-d

I think this was implemented with https://github.com/s00500/ESPUI/commit/f35d3a19d42fa16cc04e66a9dc5bd08b1ff265b5 and can be closed

Andy1978 avatar Feb 26 '24 10:02 Andy1978