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.

Time Series - Scale & Ticks

See original GitHub issue

I understand how to use the axis.x.type='timeseries' and axis.x.tick, but would really love for Billboard to automatically scale the ticks to fix the screen and/or zoom focus.

In this d3 block, see how it gets more granular automatically as you zoom in: https://bl.ocks.org/mbostock/4015254

Here’s an example with Highcharts: https://www.highcharts.com/demo/line-time-series

Lastly, NVD3 can do this but doesn’t have good documentation for it. In fact, a lot of people are still using NVD3, which hasn’t had a release in over a year, just for it’s timeseries chart. NVD3 looks slick out-of-the-box too, but the timeseries was why I used it for a while before realizing that it’s not active.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
nirmal93gunacommented, Feb 14, 2019

Hi @netil, I’m facing the same issue and I would like this feature to be present as well. I could see that the feature is not yet completed in the milestone and I would be willing to contribute towards adding the feature if no one is working on it.

2reactions
ataftcommented, Dec 20, 2018

Thanks, but I don’t think the billboard.js community is going to bump this up in priority for one major reason, they don’t use timeseries extensively. Any developer that needs to do time-based charting simply isn’t going to choose Billboard. They’re either going to use Highcharts (not free though) or NVD3 (not maintained). Thus, you won’t get feedback because people are disqualified from using Billboard because of time-series charting. But look at how many people are still using the unmaintained NVD3 libarary: https://www.npmtrends.com/nvd3-vs-billboard.js. The way I look at it, it’s an opportunity to pick up a LOT of new users.

Anyhow, no pressure, just trying to make some points to get a feature I’d love. Thanks again for all your hard work!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Time scale - Minitab - Support
For example, on the following time series plot, the continuous (y) scale displays tick labels with tick marks on the low side. The...
Read more >
Time series: number of y-axis ticks on small panels #39307
I'm not sure if this is a bug or a feature request, but the new time series panels have really awkward y-axis intervals...
Read more >
axis.ticks / D3 - Observable
For linear and power scales, pass axis.ticks the desired tick count. This is just a hint: these scales only generate ticks at 1-,...
Read more >
time series with specific date tick marks & labels - Stack Overflow
I am trying to plot this data but it insists on setting tick labels starting October 19th. How do I get the tick...
Read more >
Working with D3 Time Series Axes - Developer.com
Each axis tick represents a specific date from the scale's domain. Values tend to be uniformly spaced, have sensible values (such as every...
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