Last updated

API / geotoolkit / widgets / CrossPlot / CrossPlot

Namespace: CrossPlot

widgets.CrossPlot.CrossPlot

Table of contents

Type Aliases

Contents

Type Aliases

AxisDataOptions

Ƭ AxisDataOptions: Object

JSON which defines data.

Type declaration

NameTypeDescription
annotationsize?number | stringwidth or height of annotation
autolabelrotation?boolean-
autominmax?booleanare min/max fixed (false) or given by datasource (true). DataSource has to exist
axis?{ autolabelrotation?: boolean ; autolabelrotationangle?: number ; baseline?: Type ; title?: string }Axis properties
axis.autolabelrotation?booleanAuto rotation
axis.autolabelrotationangle?number-
axis.baseline?Type-
axis.title?stringAxis title text
axisticks?OptionsJSON which defines ticks options of the axis.
data?number[]Array of data
datasource?NumericalDataSeries | NumericalDataSeriesViewDataSource of data
gridtickgenerator?TickGeneratorGrid lines tick generator
gridticks?OptionsJSON which defines horizontal ticks options of the grid (X or Y axis only).
histogram?{ bins?: number ; fillstyle?: Type ; linecolor?: Type ; linestyle?: Type ; visible?: boolean }JSON which defines histogram properties
histogram.bins?numbernumber of bins to be used (default is 25)
histogram.fillstyle?Typefillstyle to be used
histogram.linecolor?Type-
histogram.linestyle?Typelinestyle to be used
histogram.visible?booleanIs the histogram visible (default is false)
label?{ text?: string ; textstyle?: Type }JSON which defines label.
label.text?stringText
label.textstyle?TypeText style
legendvisible?booleanlegend visibility (Z only)
location?AnnotationLocationlocation of
logarithmic?booleanIs the Axis logarithmic. default is false
max?numberMaximum Value to display data. If never set, will be max of [options.data]
min?numberMinimum Value to display data. If never set, will be min of [options.data]
minspan?numberaxis min span for smart limits. It works if neatlimits is true
neatlimits?booleanCalculate smart limits for linear mode. For logarithmic mode it is disabled
preciselimits?booleanoption for neat limits calculates only step and hide edge ticks. It is neabled only if neatlimits is set
reversed?booleanIs the Axis reversed.
tickgenerator?TickGeneratora custom tickgenerator for this axis
unit?AbstractUnit | stringdisplay unit

AxisDataOptionsOut

Ƭ AxisDataOptionsOut: Object

JSON which defines data.

Type declaration

NameTypeDescription
annotationsize?number | stringwidth or height of annotation
autominmax?booleanare min/max fixed (false) or given by datasource (true). DataSource has to exist
axisticks?OptionsOutJSON which defines ticks options of the axis.
data?number[]Array of data
datasource?NumericalDataSeries | NumericalDataSeriesViewDataSource of data
gridticks?OptionsOutJSON which defines horizontal ticks options of the grid (X or Y axis only).
histogram?{ bins?: number ; visible?: boolean }JSON which defines histogram properties
histogram.bins?numbernumber of bins to be used
histogram.visible?booleanIs the histogram visible
label?{ text?: string ; textstyle?: Type }JSON which defines label
label.text?stringLabel
label.textstyle?TypeText style
location?AnnotationLocationlocation of
logarithmic?booleanIs the Axis logarithmic. default is false
max?numberMaximum Value to display data. If never set, will be max of [options.data]
min?numberMinimum Value to display data. If never set, will be min of [options.data]
minspan?numberaxis min span for smart limits. It works if neatlimits is true
neatlimits?booleanCalculate smart limits for linear mode. For logarithmic mode it is disabled
preciselimits?booleanoption for neat limits calculates only step and hide edge ticks. It is neabled only if neatlimits is set
reversed?booleanIs the Axis reversed.
unit?AbstractUnit | stringdisplay unit

DataOptions

Ƭ DataOptions: Object

options and data

Type declaration

NameTypeDescription
bounds?Options | Rectbounds.
colorprovider?ColorProviderColorProvider used to color the data
datasource?DataSource | DataTable | DataTableViewData source
header?HeaderOptionsJSON which defines header area
marker?MarkerOptionsJSON which defines marker options
tools?ToolsOptionsJSON which defines tools options.
x?AxisDataOptionsJSON which defines X-data.
y?AxisDataOptionsJSON which defines Y-data.
z?AxisDataOptionsJSON which defines Z-data.

DataOptionsOut

Ƭ DataOptionsOut: Object

how to extract data, null by default

Type declaration

NameTypeDescription
bounds?Options-
colorprovider?OptionsColorProvider used to color the data
headerHeaderOptionsOutJSON which defines header area
markerMarkerOptionsOutJSON which defines marker options
toolsToolsOptionsOutJSON which defines tools options.
xAxisDataOptionsOutJSON which defines X-data.
yAxisDataOptionsOutJSON which defines Y-data.
zAxisDataOptionsOutJSON which defines Z-data.

HeaderOptions

Ƭ HeaderOptions: Object

JSON which defines header area

Type declaration

NameTypeDescription
annotationsize?number | stringheight of header
title?OptionsJSON which defines main title.

HeaderOptionsOut

Ƭ HeaderOptionsOut: Object

Type declaration

NameTypeDescription
annotationsizenumber | stringheight of header
titleOptionsOutJSON which defines main title.

HighlightIndices

Ƭ HighlightIndices: Record<string, { indices: number[] ; options?: Options }>

to be highlighted


HighlightOptions

Ƭ HighlightOptions: Object

indices options

Type declaration

NameTypeDescription
defaultcolor?stringdefault color
highlightcolor?stringhighlight color

MarkerOptions

Ƭ MarkerOptions: Object

JSON which defines marker options

Type declaration

NameTypeDescription
defaultcolor?stringdefault color
defaultlinecolor?stringdefault line color
highlightcolor?stringhighlight color
highlightpainter?Painter-
highlightsize?numberhighlight symbol size. it equals to symbols size by default
painter?Painterpainter style
size?numbermarker size

MarkerOptionsOut

Ƭ MarkerOptionsOut: Object

Type declaration

NameTypeDescription
defaultcolorstringdefault color of marker
defaultlinecolorstringdefault line color or marker
highlightcolor?stringhighlight color
highlightsizenumberhighlight symbol size, by default it is equal to the symbol size
painterPainterpainter style
sizenumbermarker size

Options

Ƭ Options: Options & DataOptions & { viewcache?: boolean ; viewcachesize?: { height?: number ; width?: number } }

options to initialize crossplot


OptionsBase

Ƭ OptionsBase: Options


OptionsBaseOut

Ƭ OptionsBaseOut: Merge<DataOptionsOut, { colorprovider?: ColorProvider }>


OptionsOut

Ƭ OptionsOut: OptionsOut & DataOptionsOut

properties to apply