question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I like this simple, easy to use package that I use for node statistic clis. I’m missing some nice to have options though:

Multiple series Ability to see more than one series on the same chart

Colors Ability to affect colors to lines. npm’s colors may be used there

Max width Some charts can be way larger than a terminal. Detecting the terminal length and sub-setting the series sent may be a good way to tackle this issue

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:4
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
kroitorcommented, Oct 20, 2017

Hi, @arkihillel !

Thanks for your feedback!

Multiple series Colors

These two points I’m going to do hopefully soon (need a few days free of other tasks to do it). Also, I highly recommend you to take a look at these awesome packages by @xpl:

Max width

This cannot be done robustly for all terminals, so it’s a little beyond the scope of this small library (I’m trying to keep it simple). But I did use the ansicolor and blessed together with asciichart to render a dashboard and a chart inside it, like this one:

preview

You can use any curses-like library to do the same. Alignment, center, full-width, full-height, etc… So blessed takes care of that, and can crop or scroll the “inside” content according to your rules. It also detects resizes, mouse events and much more. Hope this answers your questions.

2reactions
el3mentcommented, Apr 15, 2020

+1 vote for the multi-line chart! Adding color would also be pretty neat.

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS 16 - New Features - Apple
See all the latest features, enhancements, app updates, and more in iOS 16 for iPhone.
Read more >
6 new features on Android this summer - The Keyword
6 new features on Android this summer · 1. Android Earthquake Alerts System is rolling out globally · 2. Star what's important with...
Read more >
What's new on Android
Meet the 13 newest Android features. · Helpful features · Google TV remote · Android Auto media and games · Accessibility · Camera...
Read more >
A Guide to Announcing New Features Effectively - UserGuiding
A new feature announcement is a way of letting potential and current customers and users know of the updates, especially new feature ......
Read more >
New Sharing Features on Instagram: Notes, Group Profiles ...
We're introducing new sharing features on Instagram, including a new way to share your thoughts using just text and emojis.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found