Comments (6)
Works. Loading library-specific JS files is pretty clever :)
from daru-view.
Noted.
from daru-view.
What's the reason behind not using CDN?
from daru-view.
It will be better if we can use daru-view offline (without internet connection) also. Nyaplot uses CDN, so it can't work when user don't have internet or offline.
from daru-view.
rbplotly is another nyaplot-like plotting library. Have a look at the offline feature: https://github.com/ash1day/rbplotly/tree/master/lib/plotly/offline
from daru-view.
Thanks @v0dro , for sharing the link. rbplotly
can generate the charts pretty well. I see the offline code where it is loading the saved JS file, before chart script. But it will load the dependent js script each time, to plot the chart. But it is not needed each time before plotting in the webpage or IRuby notebook (once depended JS in loaded in the webpage then it will be used in all chart script)
In daru-view, when we set the library like Daru::View.plotting_library(:googlecharts)
, in IRuby notebook then it loads the google chart JS files. In web application we need to put line Daru::View.dependent_script(:googlecharts)
where we want to paste JS file (mostly we put it in head tag of the layout file). So daru-view
don't load the JS files before each chart script.
from daru-view.
Related Issues (20)
- require 'datatables' throws error HOT 2
- Copy example notebooks to sciruby-notebooks? HOT 1
- Compatible with Jupyter Lab? HOT 7
- [Google Colab] Daru::View.plotting_library and Daru::View::Plot must be in the same cell. HOT 1
- How about implementing the #to_iruby method? HOT 2
- type: 'datetime' for date time in javascript. currently not working in HighCharts in IRuby notebook HOT 9
- datatables adapter testcase
- Visualize data frames obtained by group_by operation. HOT 3
- Github Actions CI/CD setup HOT 2
- Link in the project description does not work HOT 5
- Flexibility in displaying multiple plots HOT 2
- problem with daru-view and IRuby , ffi-rzmq HOT 16
- Google Charts not Loading HOT 3
- Warning and unused variables - travis CI HOT 1
- Get rid of testcase option - update googlechart/highchart js,css file HOT 7
- Rubocop - all offenses should be enabled
- Adapter design pattern - Improvements in design
- Github Bot to maintain / track the issues & open PRs
- Daru does not build on recent gcc HOT 1
- Dependency on google_visualr 2.5.1 is broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from daru-view.