[vz-users] Scaling WEB interface for air pressure

Andreas Goetz cpuidle at gmail.com
Thu May 22 22:07:19 CEST 2014


Hi Thomas,

probier mal bitte das hier:
https://github.com/volkszaehler/volkszaehler.org/pull/152

Rückmeldung im PR wäre super.

Viele Grüße,
Andreas

Am 22.05.2014 um 15:08 schrieb Thomas Köhn <thk4711 at gmail.com>:

Hallo Andreas,

vielen Dank für deine Antwort. Ich habe das heute mal ausprobiert. meine
config sieht so aus:

 yaxes: [
                {
                        position: 'right',
                        min: 950

                },
                {
                        // alignTicksWithAxis: 1,
                        position: 'left',
                        min: 950
                },
                 {
                        // alignTicksWithAxis: 1,
                        position: 'left',
                        min: 950
                }
        ],

damit wollte ich versuchen welches Element welche Achse beeinflusst. Mit
dem position Parameter kann ich die Achsen anordnen. Der min Parameter
scheint aber irgendwie keinen Einfluss auf die Darstellung zu haben.

Viele Grüße
Thomas



2014-05-04 12:52 GMT+02:00 Andreas Goetz <cpuidle at gmail.com>:

> Hallo Thomas,
>
> das sollte gehen wenn Du Dir noch folgenden PR holst:
> https://github.com/volkszaehler/volkszaehler.org/pull/132
>
> Danach:
>
>   - Kanal auf fest Achse (z.B. 2) legen
>   - in options.js die achse hinzufügen bzw. die zweite Achse ändern:
>
>     yaxes: [
>         {
>             axisLabel: 'W' // assign el. energy to first axis- remove if
> not used
>         },
>         {
>             //alignTicksWithAxis: 1,
>             position: 'right',
>             min: null // <----- !!
>         }
>     ],
>
> vg
> Andreas
>
>
> On Sun, May 4, 2014 at 12:43 PM, Thomas Koehn <thk4711 at gmail.com> wrote:
>
>> Hi,
>>
>> today I managed to add the local air pressure to volkszaehler. This works
>> very well but in the web interface the scaling for the pressure starts at
>> 0. Because of this I can lot really see the changes. Is there a way to
>> change the scaling for the y axis in the diagram ?
>>
>> Thomas
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20140522/63019b1e/attachment.html>


More information about the volkszaehler-users mailing list