ash1day / rbplotly

a Ruby visualization library
MIT License
29 stars 9 forks source link

Add feature to generate embeddable html string #5

Closed genya0407 closed 7 years ago

genya0407 commented 7 years ago

I implemented Plotly::Plot#to_html method. It generates embeddable html string.

With this method, we can embed graphs in other web apps easily like this:

<h1> This is graph! </h1>

<%= @plot.to_html %>
ash1day commented 7 years ago

Thanks!

genya0407 commented 7 years ago

Thanks!