Comments (6)
There is also a story for this via FileIO.jl: if your figure object implements show
methods for SVG, PNG, PDF or EPS, it automatically hooks into the FileIO.jl save
method, without you having to do anything else. So things like save('myfig.png", fig)
will just work if fig
supports a show
method for the PNG mime type. The IOContext
in these cases will have a custom property :full_fidelity=>true
that indicates that the show
method should write a full fidelity version, not something meant for a display, in case that makes a difference.
from echarts.jl.
It's not really clear to me what FileIO is providing here, to be honest.
I can see wanting to write an EChart
directly to json (I already defined print(x::EChart)
, would just need to write it to file), getting a PNG (which can be done from inside echarts.js), and possibly writing a whole HTML page out (which could be factored out of my show method).
Is there any key functionality that FileIO provides that I'm not understanding?
from echarts.jl.
No, it just gives us a shared saved
method that lots and lots of packages can use, that is pretty much it.
from echarts.jl.
#53 might help with this
from echarts.jl.
Are there any update on this issue? I believe it would be very useful
from echarts.jl.
I'm not actively working on this package, but happy to review pull requests from the community
from echarts.jl.
Related Issues (20)
- Factor out as much literal JS as possible
- Add SVG or Canvas option
- Switch to new Dataset syntax
- Use JavaScript tools for dependency management? HOT 1
- Improve tooltip!
- Add chart types HOT 5
- Support VSCode HOT 2
- Remove dependency on RDatasets HOT 1
- jupyter lab? HOT 2
- Three known security vulnerabilities in JavaScript dependencies HOT 2
- LoadError: ArgumentError: Package FixedPointNumbers Not Installed HOT 3
- Update ECharts for Mux/WebSockets changes HOT 5
- support DataFrames.jl 0.19+ HOT 3
- This is what i looks like for me when plotting corrplot HOT 2
- Jupyter Notebook/Lab broken HOT 1
- Broken with 1.5 beta1.0 HOT 3
- ECharts not working in Pluto Notebooks HOT 3
- Trouble constructing Sankey diagram HOT 3
- TagBot trigger issue HOT 3
- ECharts version 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 echarts.jl.