Module

Gomtang.Basic

#Instance

data Instance :: Type

#setOption_

setOption_ :: forall option. option -> Instance -> Effect Unit

#setOption

setOption :: forall option option'. Union option option' Option => Record option -> Instance -> Effect Unit

#Option

type Option = (calendar :: CalendarOption, series :: Array SeriesOption, title :: TitleOption, tooltip :: TooltipOption, visualMap :: VisualMapOption, xAxis :: XAxisOption, yAxis :: YAxisOption)

#TitleOption

#TooltipOption

#XAxisOption

#YAxisOption

#VisualMapOption

#CalendarOption

#SeriesOption

#Title

type Title = (text :: String)

#Tooltip

type Tooltip = (position :: String)

#XAxis

type XAxis = (data :: Array String)

#YAxis

type YAxis = (data :: Array String)

#VisualMap

type VisualMap = (bottom :: String, calculable :: Boolean, left :: String, max :: Number, min :: Number, orient :: String)

#Calendar

type Calendar = (cellSize :: Array String, range :: Array String)

#BarSeries

type BarSeries = (data :: Array Number, name :: String)

#HeatMapSeries

type HeatMapSeries = (calendarIndex :: Int, coordinateSystem :: String, data :: Array (Array String), name :: String)

#makeTitle

makeTitle :: forall fields fields'. Union fields fields' Title => Record fields -> TitleOption

#makeTooltip

makeTooltip :: forall fields fields'. Union fields fields' Tooltip => Record fields -> TooltipOption

#makeXAxis

makeXAxis :: forall fields fields'. Union fields fields' XAxis => Record fields -> XAxisOption

#makeYAxis

makeYAxis :: forall fields fields'. Union fields fields' YAxis => Record fields -> YAxisOption

#makeVisualMap

makeVisualMap :: forall fields fields'. Union fields fields' VisualMap => Record fields -> VisualMapOption

#makeCalendar

makeCalendar :: forall fields fields'. Union fields fields' Calendar => Record fields -> CalendarOption

#makeBarSeries

makeBarSeries :: forall fields fields' trash. Union fields fields' BarSeries => Lacks "type" fields => Cons "type" String fields trash => Record fields -> SeriesOption

#makeHeatMapSeries

makeHeatMapSeries :: forall fields fields' trash. Union fields fields' HeatMapSeries => Lacks "type" fields => Cons "type" String fields trash => Record fields -> SeriesOption

Modules