Module

ECharts.Chart

Package
purescript-echarts
Repository
slamdata/purescript-echarts

#init Source

init :: forall e m. MonadEff (dom :: DOM, echarts :: ECHARTS, exception :: EXCEPTION | e) m => HTMLElement -> m Chart

#initWithTheme Source

initWithTheme :: forall e m. MonadEff (dom :: DOM, echarts :: ECHARTS, exception :: EXCEPTION | e) m => Theme -> HTMLElement -> m Chart

#registerTheme Source

registerTheme :: forall e. String -> Foreign -> Eff (echarts :: ECHARTS | e) Unit

#setOption Source

setOption :: forall e m. MonadEff (echarts :: ECHARTS, exception :: EXCEPTION | e) m => DSL OptionI -> Chart -> m Unit

#resetOption Source

resetOption :: forall e m. MonadEff (echarts :: ECHARTS, exception :: EXCEPTION | e) m => DSL OptionI -> Chart -> m Unit

#resize Source

resize :: forall e m. MonadEff (echarts :: ECHARTS | e) m => Chart -> m Unit

#clear Source

clear :: forall e m. MonadEff (echarts :: ECHARTS | e) m => Chart -> m Unit

#dispose Source

dispose :: forall e m. MonadEff (echarts :: ECHARTS | e) m => Chart -> m Unit

#getOption Source

getOption :: forall e m. MonadEff (echarts :: ECHARTS | e) m => Chart -> m Foreign