Skip to main content

WordcloudViewModel

Base wordcloud view model.

Props

startAngle

  • Type: startAngle: number

endAngle

  • Type: endAngle: number

angleCount

  • Type: angleCount: number

padding

  • Type: padding: number

fontWeight

  • Type: fontWeight: number

fontFamily

  • Type: fontFamily: string

fontStyle

  • Type: fontStyle: FontStyle

minFontSize

  • Type: minFontSize: number

maxFontSize

  • Type: maxFontSize: number

spiral

  • Type: spiral: string

exponent

  • Type: exponent: number

data

  • Type: data: WordModel[]

weightFn

  • Type: weightFn: WeightFn

outOfRoomCallback

  • Type: outOfRoomCallback: OutOfRoomCallback