Skip to content

[FEATURE] Synchronise dynamic scaling in overlay groups #1394

@LennertVA

Description

@LennertVA

Description of the requested feature

I've made a small gkrellm-style monitor for my network traffic. Easy-peasy using the built-in graph widget.

I currently stack two of those on top of eachother:

 (overlay
            (box 
                :class "grid"
                :height 161
                    (graph 
                        :style "color: rgba(0,255,0,0.5);"
                        :value {EWW_NET.wlp12s0.NET_DOWN}
                        :dynamic false
                        :time-range "200s" 
                        :line-style "round" 
                        :thickness 1.5
                        :max NET_MAX
                    )
            )
            (box 
                :height 161
                    (graph 
                        :style "color: rgba(255,0,0,0.5);"
                        :value {EWW_NET.wlp12s0.NET_UP}
                        :dynamic false
                        :time-range "200s" 
                        :line-style "round" 
                        :thickness 1.5
                        :max NET_MAX
                    )
            )
        )
)

This way I have both upload and download as different colours on one "stacked" graph. I would like to use the dynamic scaling, but each graph does that independently which gives an incorrect visual.

Is there a way to make different graphs inside the same overlay have the same dynamic range? I have a hunch that's going to be a lot harder than it seems, but worth a shot.

Proposed configuration syntax

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions