0.0.0 • Published 6 years ago

@reasonableconsulting/bs-victory v0.0.0

Weekly downloads
1
License
MPL-2.0
Repository
github
Last release
6 years ago

bs-victory

BuckleScript bindings for Victory Charts.

Usage

<Victory.Container height=250 width=250 responsive=false>
  <Victory.Legend
    standalone=false
    data=legendData
    orientation="horizontal"
    itemsPerRow=2
    width=250
    symbolSpacer=10
    style=legendStyles
  />
  <Victory.Pie
    standalone=false
    data=pieData
    padding={Victory.padding(~left=0, ~right=0, ~top=0, ~bottom=0, ())}
    height=250
    width=250
    labelRadius=60
    labels={data => data##y}
    style=pieStyles
  />
</Victory.Container>