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

Replace embedded png graphs with interactive html graphs #5

Closed
vifactor opened this issue Sep 24, 2018 · 7 comments
Closed

Replace embedded png graphs with interactive html graphs #5

vifactor opened this issue Sep 24, 2018 · 7 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@vifactor
Copy link
Owner

http://gnuplot.sourceforge.net/demo_canvas_5.2/

@vifactor vifactor added enhancement New feature or request help wanted Extra attention is needed labels Sep 24, 2018
@vifactor
Copy link
Owner Author

vifactor commented Oct 4, 2018

It looks like it is not worth to migrate to gnuplot's canvas terminal. The functionality out of the box is limited, e.g. for a plot with an inset only one pair of axis becomes interactive. For multiple plots on a page, a heavy java script coding is required.

Also it is not clear why to use jsdir option if required css and js files come with gnuplot's distribution, however, automatic detection of a path to these scripts is not provided. Workaround needed.

@vifactor
Copy link
Owner Author

vifactor commented Oct 8, 2018

one of the alternatives is pygal:

  • very simple
  • nice documentation
  • generates embedded interactive plots

But:

  • does not have zooming and panning
  • does not allow inset plots

@vifactor
Copy link
Owner Author

Among other alternatives, Bokeh and altair are in active development. I would prefer Bokeh because of simple and clear procedure to embed its plots into html. Unfortunately, the later package does provide streamgraph plot out of the box, which looks natural for diplaying authors' contribution.
Should try to implement the functionalily using the recipe.

@vifactor vifactor added this to the v2 milestone Mar 27, 2019
@pulkomandy
Copy link
Contributor

I found echarts which looks nice and the syntax seems not too hard: https://echarts.apache.org/examples/en/editor.html?c=themeRiver-basic

I don't know how easy it is to integrate however

@vifactor
Copy link
Owner Author

Same here, not sure I will find time to work on it.

@vifactor vifactor modified the milestones: v2, v3 Mar 14, 2020
@pulkomandy
Copy link
Contributor

Found yet another possible one: http://nvd3.org/index.html

Seems easy to integrate (it's all javascript), data input is just json which we could easily generate, and it has steam charts and a 'viewfinder' in its demos. Did not see an example of an inset plot, but I think we can do away with that if it's the only missing thing.

@vifactor vifactor modified the milestones: v3, v2.0, v2.1 Apr 10, 2020
@vifactor
Copy link
Owner Author

thanks to @pulkomandy , this long-lasting issue is now resolved! Nvd3 is the js-library used to render graphs for repostat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants