s00500 / ESPUI

A simple web user interface library for ESP32 and ESP8266
https://valencia.lbsfilm.at/midterm-presentation/
Other
923 stars 174 forks source link

Adding x,y point to graph and logout option #125

Open RubiRubsn opened 3 years ago

RubiRubsn commented 3 years ago

Hi, at first, i love ESPUI nice work ^^. it would be nice for the next update, to be able to give the graph a x,y value and display a point there. In addition would it be nice to clear the graph and/or change the values of it.

Also would a simple way to logout (from the basic auth) would be nice to.

-Ruben

ROSW6341 commented 2 years ago

I've been needing something similar. To be more generic, a Scatter plot might be a good base class. That is, place a sequence of locations anywhere on an X/Y (horizontal/vertical) plain presented by dots and/or connecting lines between adjacent entries in the sequence. A Scatter plot could be used to create a spiral or .... A Chart (the sequence is such that X is alway the same or greater than the previous value) could be derived from that. The current Graph (the X axis is time based) could then be derived from that.