Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Multiple Line Chart - Cannot read property 'onAddFilter' of undefined #402

Closed
ghost opened this issue Apr 28, 2020 · 3 comments
Closed

Multiple Line Chart - Cannot read property 'onAddFilter' of undefined #402

ghost opened this issue Apr 28, 2020 · 3 comments
Labels
#bug Something isn't working

Comments

@ghost
Copy link

ghost commented Apr 28, 2020

@AndLLA commented on Oct 9, 2019, 5:26 AM UTC:

Multiple Line Chart fails due to a js error in the browser.
This happens both for a custom configuration and for the "out of the box" configuration of superset, with the demo data in the Misc Charts dashboard.

--> Cannot read property 'onAddFilter' of undefined
Seems to be related to missing "hooks" in the object received by the function below.

explore.9143456362a2ecd682d2.entry.js:formatted:141465 TypeError: Cannot read property 'onAddFilter' of undefined
at t.default (explore.9143456362a2ecd682d2.entry.js:formatted:28990)
at t.n.render (explore.9143456362a2ecd682d2.entry.js:formatted:135774)
at ba (vendors-major.1ca42289e8c2b845f403.chunk.js:formatted:11830)
at ga (vendors-major.1ca42289e8c2b845f403.chunk.js:formatted:11820)
at Ks (vendors-major.1ca42289e8c2b845f403.chunk.js:formatted:13954)
at zs (vendors-major.1ca42289e8c2b845f403.chunk.js:formatted:12981)
at js (vendors-major.1ca42289e8c2b845f403.chunk.js:formatted:12841)
at Ds (vendors-major.1ca42289e8c2b845f403.chunk.js:formatted:12714)
at vendors-major.1ca42289e8c2b845f403.chunk.js:formatted:10563
at t.unstable_runWithPriority (vendors-major.1ca42289e8c2b845f403.chunk.js:formatted:14990)

MultiLineChartError

This issue was moved by kristw from apache-superset/superset-ui-plugins#225.

@ghost ghost added the #bug Something isn't working label Apr 28, 2020
@ghost
Copy link
Author

ghost commented Apr 28, 2020

issue-label-bot[bot] commented on Oct 9, 2019, 5:26 AM UTC:

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.99. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@ghost
Copy link
Author

ghost commented Apr 28, 2020

@JMGGarcia commented on Dec 9, 2019, 5:08 PM UTC:

Hello, I'm having this issue as well. I'm trying to plot average, minimum and maximum temperature values in a line chart (all grouped by day), and it seems that the only option is through Multiple Line Chart.

This issue is appearing with one or more charts added (all to the left side).

suddjian pushed a commit to suddjian/superset-ui that referenced this issue Apr 29, 2020
…perset#402)

This adds support for "Time Grain" in Superset for Big Number with Trendline chart.
@villebro
Copy link
Contributor

The codebase on this repo has been moved to the main Apache Superset repo, and consequently the repo is in the process of being archived. See the Superset Improvement Proposal for details: apache/superset#13013 . While all currently open issues and PRs will be closed, we encourage you to reopen this issue on the main repo if it is still relevant.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
#bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant