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.

Scrollable charts for large data set

See original GitHub issue

Summary

For the large data set, we need a scrollbar to allow users to interact with the chart on a small width/height container. And also when we scroll the chart, the xaxis/yaxis should be sticky.

Sample from Highcharts: https://www.highcharts.com/docs/chart-concepts/scrollbar Jsfiddle: https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/chart/scrollable-plotarea

API Changes

I’m not sure about the API changes, I think we must split the axes and the chart into different containers and then make the chart overflow: scroll, so the chart will be scrollable and the axises still sticky on the front of the chart.

Intended Use Case

For large data sets which can’t be displayed well in a small container.

There is a related issue here: https://github.com/apexcharts/apexcharts.js/issues/543

A usage sample for heatmap: Screen-Recording-2021-12-26-at-1

Thanks a lot 🍻

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:5

github_iconTop GitHub Comments

1reaction
tlloydukdevcommented, Feb 23, 2022
0reactions
patryk-zielinski93commented, Jul 25, 2022

This is a great idea because if there is a lot of data bar charts become unreadable. E.g.: https://codepen.io/zielu701/pen/poLrPaQ Some of the x axis labels are hidden also data labels on bars are unreadable. Scrolling ability will solve these issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Scrollable column chart with large data sets - Highcharts
Hey, I am trying to plot a column chart with large data sets, close to 1000 data points. I am facing trouble in...
Read more >
Scroll Chart - FusionCharts
Scroll charts can show a larger number of data plots in a small space. The types of scroll charts available in the FusionCharts...
Read more >
How To Create A Dynamic Scrolling Chart In Excel - YouTube
Let's say you have a large amount of data and want to be able to " scroll " through it without having to...
Read more >
How To Create A Scrolling Chart In Excel - YouTube
Based on this post: http://mklnd.com/18sFgrE. You'll learn in this video how to create a scrolling chart in Excel. These are exceptional for ...
Read more >
Charts that display a very large number of data values
When your chart has a very large number of data values, you see a horizontal scroll bar at the bottom. The new default...
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