Giter Club home page Giter Club logo

Comments (9)

ClementTsang avatar ClementTsang commented on July 19, 2024 3

Yep, was planning on adding this at some point.

from bottom.

lyuha avatar lyuha commented on July 19, 2024 2

I completely agree this comment. So I make available that the chart can have a left legend at ratatui v0.25(ratatui-org/ratatui#378).

It would be useful to have the memory and network charts legends on the left too, maybe even by default, since right now it often happen you don't see anything until a few minutes after it happens because the chart lines are hidden by the legend.

from bottom.

lyuha avatar lyuha commented on July 19, 2024 2

I tested that chart draw a legend on left side. How about it?

Preview Images

image
image

from bottom.

RobertoMaurizzi avatar RobertoMaurizzi commented on July 19, 2024 1

I'd say it's definitely more useful, thanks @lyuha!

from bottom.

RobertoMaurizzi avatar RobertoMaurizzi commented on July 19, 2024

It would be useful to have the memory and network charts legends on the left too, maybe even by default, since right now it often happens you don't see anything until a few minutes after it happened because the chart lines are hidden by the legend.

from bottom.

JustCauseWhyNot avatar JustCauseWhyNot commented on July 19, 2024

I'll add my request here since it seems more appropriate here than in a separate issue. I'd be nice to have an option to choose to show either the box of info in mem/net, over using the graph. Especially so if using a tiling wm such as I, and you've got a lot of windows open. That way when the window for btm gets shrunk I'd see the number like this
2023-11-23_12-48 rather than just seeing a graph which isn't all the useful when in small window.

from bottom.

lyuha avatar lyuha commented on July 19, 2024

I read the refactoring commit(77777ef).
Now the TimeChart has an option to configure it's legend position. However, Bottom doesn't have any config option about a legend position.

Is there any plan about this?
Add options like cpu's left_side in config file, add key layout section in config? or have any other?

from bottom.

lyuha avatar lyuha commented on July 19, 2024

Is there anything that I help this work?

from bottom.

ClementTsang avatar ClementTsang commented on July 19, 2024

If you want you can try to make a PR, but it's mostly figuring out how the config/arg option would look really.

from bottom.

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.