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.

Display dates in Stream chart?

See original GitHub issue

I am using stream chart with time series data. Each data point not only has stream dimensions, but a timestamp. It is is then essentially a stacked line chart. I need some way to telling the user what timestamp he is looking at.

The options I considered are -

  1. Display date in the tooltip. I tried adding the timestamp as to the keys prop, and the chart tries to put it in the tooltip then but this ends up breaking the chart. I tried using custom tooltip as a hack but AFAIK according to #182 this is not possible.
  2. Make the X axis a scale for times to give the user at least a visual reference. Currently stream chart has a very simple scale for X axis. AFAIK according to #470 it cannot be swapped for a timescale.

I think being able to stick it in the tooltip would be great. Is there a way to do that?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:8

github_iconTop GitHub Comments

1reaction
LuisThuilliercommented, Mar 22, 2021

+1 same here…bumping PD: i guess there is no way to use this chart to display dates, i would love to display as a timeline and events count in each tick but looks like there is no way to do it.

0reactions
Gerald12344commented, Mar 29, 2022

Bump

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: Stream Graph (custom visual) not working with date...
This shows the same thing, but there are no dates on the bottom. It just shows a number, which I assume is just...
Read more >
Is there a way to change dateFormat with java 8 stream?
To be a bit more explicit, convert the list to a stream, use map with a function that modifies a date, collect back...
Read more >
All streaming data & analytics in one place · Streams Charts
Streams Charts enables the analysis of all key metrics for channels, streams, games, communities and even clips. We collects data from the most...
Read more >
How to Filter Dates in a Chart in Chart js - YouTube
How to Filter Dates in a Chart in Chart jsIn this video we will cover how to filter dates in a chart in...
Read more >
Chart friendly date table in Power BI - YouTube
Create a Date table in Power BI with a small number of columns by leveraging custom format strings to control the chart visualization...
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