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.

LineChart filtering

See original GitHub issue

Im trying to create a lineChart which shows all the querytimes based on the date. However im trying to display it on seconds. But this causes the page to load extremely long it seems like the rendering can’t keep up.

Also the filtering doesn’t seem right whenever i click on a pie Chart the lineChart doesn’t filter correctly. If i select a range in my volumeChart just like in nasdaq example the chart won’t filter correctly aswell.

                                var querytime = calls.dimension(function (d) {
                                    return d3.time.seconds(d.dd);
                                });



                                var querytimegroup = querytime.group().reduce(
                                    function (p, v) {
                                        p.querytime = +v[6];
                                        return p;
                                    }, function (p, v) {
                                        p.querytime = +v[6];
                                        return p;
                                    }, function () {
                                        return { querytime: 0 };


                                    }
                                    );

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
NickQiZhucommented, Apr 13, 2013

try chart.filter(null)

0reactions
pdaemscommented, Apr 15, 2013

Didn’t seem to work makes the page crash.

          volumeChart.brush().clear();
          volumeChart.brush().x(null);

This kinda worked however the filtering doesn’t seem to apply to the range that you select the second time that you filter.

If you filter again for the second time the brush basically filters again on the values of the first X-axis

Read more comments on GitHub >

github_iconTop Results From Across the Web

- Filtered Line Chart | Hands-On Data Visualization
In this tutorial, we will build an interactive filtered line chart with Tableau Public, to visualize how internet access has changed in different...
Read more >
Interactive line chart in Tableau - Filtering time series with ...
Blog post: https://canonicalized.com/tableau-financial-analytics/#week4Interactive version of the chart: https://tabsoft.co/38rcfxJI am ...
Read more >
Filtering Outliers in a Line Chart - Login | Domo
In Analyzer, you can set "Outlier Filters" on a multi-line line chart. This allows you to filter out any lines with points above,...
Read more >
Line chart - Series filtered values - Power Platform Community
Now I want to create a line chart showing 2 of the measures on the same chart. The issue I'm having is that...
Read more >
Solved: Filtering a line chart - Microsoft Power BI Community
The chart shows Sales Margin by Employee/Month and is filtered by Customer, Employee and Job Date. I have a measure to calculate Margin...
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