Page 2 of 2

Re: Chart.js persitant time graph example

Posted: Mon Jul 31, 2023 10:34 pm
by RonS
many thanks,

does anyone see a way to output a current output of temperature in numbers or txt - or some other value - before The Canvas starts?
I tried "table" and also "div" after the "title" line - nothing worked

thanks Ron

Re: Chart.js persitant time graph example

Posted: Tue Aug 01, 2023 8:14 am
by BeanieBots
I think you are after TEXTBOX$.
Have a look in the help file for full details.
Simply add TEXTBOX$(Var$) to your html and then populate Var$ with your value. Also add autorefresh after the CLS line.
(you will need to convert numbers to string.)
Annex then does all the hard work of displaying your value on the page.

Re: Chart.js persitant time graph example

Posted: Tue Aug 01, 2023 8:27 am
by cicciocb
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Tue Aug 01, 2023 8:14 am I think you are after TEXTBOX$.
Have a look in the help file for full details.
Simply add TEXTBOX$(Var$) to your html and then populate Var$ with your value. Also add autorefresh after the CLS line.
(you will need to convert numbers to string.)
Annex then does all the hard work of displaying your value on the page.
You can use Textbox$ directly with a numeric variable ex. Textbox$(var) so the conversion is not required

Re: Chart.js persitant time graph example

Posted: Tue Aug 01, 2023 10:18 am
by RonS
many thanks to you both - the result:
image.png
"autorefresh" only works correctly when the same variable is in the "GETVALUE" subroutine too... :?

now we only need the calculation for the breeding days :)
PS: Got some little help from ChatGPT 8-)

Re: Chart.js persitant time graph example

Posted: Wed Aug 02, 2023 7:45 am
by RonS
the result :D - im happy - but got a new idea - to insert a livecam picture :))) - AnnexBasic is great - thanks
image.png
as attachment the new code:

Re: Chart.js persitant time graph example

Posted: Thu Aug 10, 2023 7:16 am
by RonS
And this is how you determine if a code works
DSCI0470.JPG
have a nice day :D