Search code examples
grapherlangelixir

Is there any charting library in elixir?


I want to plot a bar graph in elixir and save it as an image.

Is there any good charting library for doing this ?

I tried searching on elixir.libhunt.com and github.com/h4cc/awesome-elixir, but didn't find a single package for my need.

Thanks in advance.


Solution

  • I don't think there's any such control for Elixir--nothing native anyway. Graphics is not exactly in Elixir's wheelhouse. However, I think you could probably build something yourself with wxErlang. You can see what sorts of things you can do with wxErlang in Elixir by typing :wx.demo() from within iex. I don't know of a graph primitive in wxErlang but it may be that I simply haven't found it yet.