Code Monkey home page Code Monkey logo

Comments (6)

vcavallo avatar vcavallo commented on May 3, 2024

it seems like it’s just the parent container name “My Dashboard” you’re after, right? otherwise you could have three separate components and arrange them as you have in the diagram.

from sampler.

pombadev avatar pombadev commented on May 3, 2024

Yeah pretty much.

from sampler.

sqshq avatar sqshq commented on May 3, 2024

Hey @pjmp,
Is it purely for visualization (logical separation of area with a single title "My dashboard"), or you expect something more, like resize and move of the whole group?

from sampler.

pombadev avatar pombadev commented on May 3, 2024

In my use case, i was thinking of just having a bordered box with title not expecting it to be moved, however others might have different use cases tho.

from sampler.

sqshq avatar sqshq commented on May 3, 2024

In this case I would suggest to not comlicate current layout with nesting support for now, since logical separation can be done with the empty textbox:

textboxes:
  - title: My dashboard
    position: [[14, 9], [47, 23]]
    sample: echo "" # JUST ECHO EMPTY STRING HERE
runcharts:
  - title: Search engine response time
    position: [[15, 19], [45, 12]]
    items:
      - label: GOOGLE
        color: 178
        sample: curl -o /dev/null -s -w '%{time_total}'  https://www.google.com
      - label: YAHOO
        sample: curl -o /dev/null -s -w '%{time_total}'  https://search.yahoo.com
sparklines:
  - title: CPU usage
    position: [[15, 10], [22, 8]]
    rate-ms: 200
    scale: 0
    sample: ps -A -o %cpu | awk '{s+=$1} END {print s}'
  - title: Free memory pages
    position: [[37, 10], [23, 8]]
    rate-ms: 200
    scale: 0
    sample: memory_pressure | grep 'Pages free' | awk '{print $3}'

Screen Shot 2019-08-05 at 7 25 17 PM

from sampler.

sqshq avatar sqshq commented on May 3, 2024

Closing due to inactivity. Result can be achieved with existing functionality

from sampler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.