{"repo":"crystal-data/GR.cr","free":true,"listed":false,"github":"https://github.com/crystal-data/GR.cr","clone":"git clone https://github.com/crystal-data/GR.cr.git","description":"Crystal wrapper for the GR framework","language":"Crystal","stars":14,"topics":["crystal","charts","plotting","data-visualization"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"GR.cr Crystal bindings to GR framework. GR.cr has been forked from gr-crystal by Jun Makino. Installation GR Installation Official release - Linux, Mac, Windows Set GRDIR : export GRDIR=\"your/path/to/gr\" OpenSUSE build service - Linux Set GRDIR : export GRDIR=\"/usr/gr\" Homebrew - Mac brew install libgr GR.cr installation Add the dependency to your shard.yml : Run shards install API Overview - libGR , libGR3 , libGRM : call native functions directly. - GR , GR3 , GRM : call module function customized for Crystal. GR.cr is still immature, but even in its current state, GRM can be used to create good quality figures. Quick Start Simple Line Plot Plot Types 3D Surface Plot Supported Features - 2D Plots: line, scatter, barplot, histogram, stem, stairs, hexbin, polar - 3D Plots: plot3, surface, contour, scatter3 - Output: PNG, HTML, JSON export - API: High-level functions and object-oriented interface Note: Multiple 2D plots in one figure do not currently work. Usage Please see the example directory. With GR and GR3 modules, you can do more serious visualization. However, you may find that GR.cr is not fully implemented. In that case, please send me a pull request. Development Low-level bindings are automatically generated by crystal lib. GR.cr is a library under development, so even small improvements like fixing typos are welcome! Please feel free to send us your PR. The author is not familiar with Crystal, so it may be written in an inefficient way, and you may be able to fix it","default_branch":null,"files":null,"tree":[],"storefront":"/r/crystal-data","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/crystal-data/GR.cr/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}