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

iRuby keeps showing Loading ... for the chart #10

Open
designium opened this issue Mar 8, 2022 · 2 comments
Open

iRuby keeps showing Loading ... for the chart #10

designium opened this issue Mar 8, 2022 · 2 comments

Comments

@designium
Copy link

Hi,

In a cell from my Notebook, I add:

 require "iruby/chartkick"

 include IRuby::Chartkick

Then I just run:

 line_chart data

Then the screen keeps showing Loading ... . Is there anything else I need to do in order to load the chart?

@rstammer
Copy link
Contributor

rstammer commented Mar 8, 2022

Hey @designium!

Thanks for your report!

You're doing it entirely right. That's all necessary and it should work immediately - so it looks you stumbled over a little problem. The fact that you are observing the "loading"-Message means that IRuby::Chartkick has been loaded correctly already (as you would see other error messages otherwise).

Most probably the problem is located in the JavaScript part. That is, to render the chart finally, iruby-chartkick is loading some JS, which fails for some reason in your case.

To help you further, could you give us more details of your context?

Which Ruby version are you running and which version of iruby-chartkick are you trying?


Here's how it looks for me using Ruby 3.0.1 and the v0.3.1 of iruby-chartkick:

Bildschirmfoto 2022-03-08 um 20 32 21

@rstammer
Copy link
Contributor

rstammer commented Nov 5, 2024

Hey @designium, as the issue has become quite old and we can't reproduce so far - I'm going to close it. If you need further help don't hesitate to reach out again, we're happy to help 👋

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

2 participants