Hello, Paul.

What do you mean by "top labels"? The labels at the top of the graphs? Or,
the HTML page? If it's in the HTML page, are the labels in the template
file? Or, from skin.conf?

When you say, "no encoding works," what do you mean? That you see
something, but it is a funny character? Or, you see nothing?

Make sure that in your skin.conf file, that you have specified
"html_entities" as the encoding under [CheetahGenerator].

On Sun, Apr 7, 2019 at 12:55 PM Paul Bartholdi <[email protected]>
wrote:

> Hello,
>
> I did some clean-up of various files, and have a few problems related with
> graphics.
> I am using version 3.9.1(p2). Station is an IROX PRO X (te923).
> 'interval' is 5 minutes.
> All accented characters are given in "html-entities".
> Every thing works perfectly, no problem except:
>
> 1 I have been able to use accented characters in tables and graphics,
> except in the top labels. No encoding works.
>
> 2 I am using 'filepile' to get the instant power produced by the solar
> panels. The data are put in column 'radiation'. It works very nicely. Is is
> a simple and very effective solution.
>   For week/month/year 'power' has no meaning, I want 'energy', the
> 'sum/integral' over a given interval (1d, 1w, 1m...).
>
> For the tables, I found the following solution (in week.html.tmpl) :
>
>                <td class="stats_data">
>                   $week.radiation.max le
> $week.radiation.maxtime.format("%d/%m &agrave; %H:%M")<br/>
>                   $("%0.3f kWh" % (0.08333*$week.radiation.sum.raw)) <br/>
>                 </td>
>
> Is there a better way to do it?   adding a new column (as rainrate)?
>
> Using the following code in skin.conf, I get the right graph, but the
> y-scale is wrong by a factor of 12 (12 measurements per hour).
>
>         [[[weekradiation]]]
>             yscale = None, None, 1
>             plot_type = bar
>             [[[[radiation]]]]
>                 aggregate_type = sum
>                 aggregate_interval = 86400
>                 label = Energie PV
>
> How, where can I produce the right scaling?
>
> In general, what is the best place to do these kind of adaptations?
>
> Thanks for any help/suggestion.       Yours,     Paul
>
> --
> 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].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to