Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard rendering error on Dual Axis line chart #4115

Closed
3 tasks done
kkalyan opened this issue Dec 26, 2017 · 2 comments
Closed
3 tasks done

Dashboard rendering error on Dual Axis line chart #4115

kkalyan opened this issue Dec 26, 2017 · 2 comments

Comments

@kkalyan
Copy link
Contributor

kkalyan commented Dec 26, 2017

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if any
  • I have reproduced the issue with at least the latest released version of superset
  • I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

{"GIT_SHA": "f905726c24b1d1f65a55b38592cb51c0f45deb15", "version": "0.23.0dev"}

Steps to reproduce

Create a dashboard with two dual axis line charts.
One of them renders fine, other slice and rest of the dashboard does not work.

Actual results

image

on Refresh (random slice has the error)
image

nvd3_vis.js:556 Uncaught TypeError: chart.xScale is not a function
    at Object.drawGraph [as generate] (nvd3_vis.js:556)
    at renderLoop (nv.d3.js:99)

@Mogball

@Mogball
Copy link
Contributor

Mogball commented Dec 28, 2017

nv.models.multiChart which is used for the Dual Axis Line Chart does not expose xScale in the latest release 1.8.6, although there is novus/nvd3@2dd8024.

@mistercrunch
Copy link
Member

Merged related PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants