KO
|
EN
gitlite โ search
Search
#python
#docker
#machine-learning
#swift
#android
#java
#tensorflow
#golang
#hacktoberfest
#iot
#bootstrap
#javascript
melange-recharts
โ 61
Open GitHub โ
No description available.
Download README (.md)
Explore Similar Repositories
EduHaven
:
EduHaven: A Student-Centric Learning Platform
frolic-react
:
React Component Library to Build Analytics Dashboard 10x Faster
dashboard
:
React dashboard with Semantic UI & Recharts
himura
:
A site where you can search, compare and bookmark stocks (yes, in real time too ๐ฅ)
extjs-reactjs-examples
:
Code examples for ExtJS to React transition
// repository documentation
Was this content helpful?
โ 0
(0 ratings)
Select Rating:
โ
โ
โ
โ
โ
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
melange-recharts
?
Download (.md)
# melange-recharts These are the [Melange](https://melange.re/) bindings for [Recharts](http://recharts.org/). ๐ง It is not completed, we are adding bindings as we go. Doesn't follow semver at this point. ๐ง ## Install Install [opam](https://opam.ocaml.org/) package manager. Then: ```sh opam install melange-recharts ``` The bindings support the version `^2.15.1` of `recharts` npm package, which should be installed separately: ```json "dependencies": { "recharts": "^2.15.1" } ``` ## Setup Add `melange-recharts` to the `libraries` in your `dune` file: ```lisp ; ... (libraries melange-recharts) ; ... ``` ## Usage Example See [Example.re](./example/Example.re); ## Helpers Some of polymorphic params are represented as a variant, list below: ```reason module AxisInterval = { ... type arg = | PreserveStart | PreserveEnd | PreserveStartEnd | Num(int); ... }; module PxOrPrc = { ... type arg = | Px(float) | Prc(float); ... }; ``` you will use it like this: ```reason <XAxis interval=PreserveStart /> <XAxis interval=Num(12) /> ``` Check [Recharts documentation](http://recharts.org/en-US/api) for available props.