Correct, plot.js is copied from WeeWX machine to web server but only on a 
WeeWX restart, it is not copied every report cycle. So if you make changes 
to plot.js you need to make the changes on your WeeWX machine and then 
restart WeeWX. If you change plot.js on your webserver your changes will be 
overwritten on the next WeeWX restart. On the other hand theme.js must be 
installed manually on your web server and any changes to theme.js must be 
made on your web server (or off your web server and then manually 
uploaded). A WeeWX restart will not overwrite changes to theme.js.

Most likely your problem is that your plot page, for example, graphs.html, 
cannot find theme.js hence the settings in theme.js are not being applied. 
Is your highcharts plot page publicly accessible, if so could we have the 
address please? If it is not publicly accessible can you look at the source 
of graphs.html on your web server, you should find a line something like 
the following:

<script src="../scripts/js/theme.js" type="text/javascript"></script>

Please provide a copy of that line exactly as it appears in the file.


Secondly, on your webserver exactly what directory is your grahps.html file 
in. Please provide as much of the path as you can. Finally, again on your 
web server what directory is your theme.js file in. Please provide as much 
of the path as you can

Gary

On Sunday, 5 April 2020 00:57:31 UTC+10, Astrid wrote:

> Hello!
>
> Yes, I modified theme.js on webserver.
> plot.js is copied from /var/www/htdocs/weewx
> automatically to webserver, but theme.js is
> not automatically copied.
>
> Regards, Astrid
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b550c996-bee3-4083-9d69-4e63c74560fc%40googlegroups.com.

Reply via email to