Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 652 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 652 Bytes

elm-charts-alpha

This is the alpha version of terezka/elm-charts. This has faster updates, but also more breaking changes! Currently published on Elm packages as terezka/charts, but may be moved to terezka/elm-charts-alpha soon.

import Chart as C
import Chart.Attributes as CA

main : Svg msg
main =
  C.chart
    [ CA.height 300
    , CA.width 300
    ]
    [ C.xTicks []
    , C.yTicks []
    , C.xLabels []
    , C.yLabels []
    , C.xAxis []
    , C.yAxis []
    , C.series .x
        [ C.scatter .y []
        , C.scatter .z []
        ]
        data
    ]