Path to charts images

74 views
Skip to first unread message

Radoslav Drdla

unread,
Dec 20, 2021, 7:22:47 AM12/20/21
to weewx-user
Hi
I don't like that the graph images (eg day _... png) are stored in 'HTML_ROOT', there are a lot of them. I would welcome the opportunity to save them separately, eg '/ HTML_ROOT / charts /', but I have not found a way to change it anywhere (am I blind?). Can it be changed?

Tom Keffer

unread,
Dec 22, 2021, 8:34:15 AM12/22/21
to weewx-user
Not quite following what you are asking for. Do you want the day charts to be in one directory, the week charts in another, etc? 

If so, the bad news is that it is not possible with V4.5. However, the good news is that it will be possible with V4.6 when it is (finally) released.

On Mon, Dec 20, 2021 at 4:22 AM Radoslav Drdla <radek...@gmail.com> wrote:
Hi
I don't like that the graph images (eg day _... png) are stored in 'HTML_ROOT', there are a lot of them. I would welcome the opportunity to save them separately, eg '/ HTML_ROOT / charts /', but I have not found a way to change it anywhere (am I blind?). Can it be changed?

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/b75de3a0-2972-449d-92f5-de240e87595dn%40googlegroups.com.

Graham Eddy

unread,
Dec 22, 2021, 6:51:06 PM12/22/21
to weewx...@googlegroups.com
i have been doing this in my skin for some time - works well, i didn’t realise it wasn’t supported
        [[[plots/daybarometer]]]
            yscale = 980, 1050, None
            [[[[barometer]]]]

Tom Keffer

unread,
Dec 22, 2021, 7:10:40 PM12/22/21
to weewx-user
Very clever! Never occurred to me that you could do that!

Reminds me of user "micg"'s trick of using arbitrary SQL SELECT expressions as the data type: https://groups.google.com/g/weewx-user/c/o2r1oT7CWVw/m/Dw1daLU4AwAJ

Reply all
Reply to author
Forward
0 new messages