Last updated

API / geotoolkit / widgets / timeseries / TimeSeriesObject / TimeSeriesObject

Namespace: TimeSeriesObject

timeseries.TimeSeriesObject.TimeSeriesObject

Table of contents

Type Aliases

Contents

Type Aliases

CurveLimitsOptions

Ƭ CurveLimitsOptions: Object

JSON describing curve limits group options

Type declaration

NameTypeDescription
font?string10px Arial] curve limits text font
margin?numbercurve limits area margin (top and bottom)
visible?booleanvisibility of curve limits area
width?numberwidth for each curve limits column

CurveLimitsOptionsOut

Ƭ CurveLimitsOptionsOut: Object

Type declaration

NameTypeDescription
fontstringcurve limits text font
marginnumbercurve limits area margin (top and bottom)
visiblebooleanvisibility of curve limits area
widthnumberwidth for each curve limits column

CurveOptions

Ƭ CurveOptions: Object

object containing curve options

Type declaration

NameTypeDescription
autoscale?booleantrue if curve in auto-scaling mode
axisposition?string'left'/'right'
barmode?{ barvalues?: { formatter?: NumberFormat ; margins?: { left?: number ; top?: number } ; rotationangle?: number ; textstyle?: Type } ; barwidth?: number ; enabled?: boolean ; fillstyle?: Type ; linestyle?: Type }options
barmode.barvalues?{ formatter?: NumberFormat ; margins?: { left?: number ; top?: number } ; rotationangle?: number ; textstyle?: Type }Bar values options
barmode.barvalues.formatter?NumberFormatFormatter for bar value texts
barmode.barvalues.margins?{ left?: number ; top?: number }Options to set bar values margins in device space
barmode.barvalues.margins.left?numberLeft margin in device space
barmode.barvalues.margins.top?numberTop margin in device space
barmode.barvalues.rotationangle?numberBar value rotation angle
barmode.barvalues.textstyle?TypeBar value text style
barmode.barwidth?numberWidth of each bar in device space
barmode.enabled?booleanenabled barmode
barmode.fillstyle?TypeFill style for bars, default is line color of TimeSeriesLine
barmode.linestyle?TypeLine style for bars, default is line style of TimeSeriesLine
borderlinestyle?Typetimeseriesshape border line style
curvevisible?booleancurve line visibility flag
decimationspacing?number-
interpolationtype?InterpolationTypeinterpolation type
linestyle?Typecurve linestyle
logarithmicscale?booleanlogarithmic scale
marker?Marker | SymbolShapeobject containing marker symbol
markervisible?booleanvisibility of point markers
max?numbercurve max value
microposition?{ bottom?: number ; top?: number }micro position limits
microposition.bottom?numbervertical end micro position in the range from 0 to 1
microposition.top?numbervertical start micro position in the range from 0 to 1
min?numbercurve min value
name?stringname of curve
neatlimits?boolean | { enable?: boolean ; max?: number ; min?: number ; precise?: boolean }neatlimits setting, true of set neatlimits object to enable, false or null|undefined to disable
neatlimitscenteredonzero?booleantrue if curve in neat-limits mode
spline?booleantoggle spline interpolation
title?{ anchor?: AnchorType ; offset?: Point | Dimension }curve title
title.anchor?AnchorType-
title.offset?Point | Dimensionoffset
unit?string | AbstractUnitunit string
values?Valuesobject containing point values options
visible?booleanvisibility of curve

CurveOptionsOut

Ƭ CurveOptionsOut: Object

Type declaration

NameTypeDescription
autoscalebooleantrue if curve in auto-scaling mode
axispositionstring'left'/'right'
barmode{ barvalues?: { formatter?: NumberFormat ; margins?: { left?: number ; top?: number } ; rotationangle?: number ; textstyle?: Type } ; barwidth?: number ; enabled?: boolean ; fillstyle?: Type ; linestyle?: Type }options
barmode.barvalues?{ formatter?: NumberFormat ; margins?: { left?: number ; top?: number } ; rotationangle?: number ; textstyle?: Type }Bar values options
barmode.barvalues.formatter?NumberFormatFormatter for bar value texts
barmode.barvalues.margins?{ left?: number ; top?: number }Options to set bar values margins in device space
barmode.barvalues.margins.left?numberLeft margin in device space
barmode.barvalues.margins.top?numberTop margin in device space
barmode.barvalues.rotationangle?numberBar value rotation angle
barmode.barvalues.textstyle?TypeBar value text style
barmode.barwidth?numberWidth of each bar in device space
barmode.enabled?booleanenabled barmode
barmode.fillstyle?TypeFill style for bars, default is line color of TimeSeriesLine
barmode.linestyle?TypeLine style for bars, default is line style of TimeSeriesLine
borderlinestyleLineStyle | nulltimeseriesshape border line style
flipbooleanis vertically flipped
idstring-
interpolationtypeInterpolationType-
linestyleLineStyle | nullcurve linestyle
logarithmicscalebooleanlogarithmic scale
maxnumbercurve max value
microposition{ bottom?: number ; top?: number }micro position limits
microposition.bottom?numbervertical end micro position in the range from 0 to 1
microposition.top?numbervertical start micro position in the range from 0 to 1
minnumbercurve min value
namestringname of curve
neatlimitsboolean | { enable?: boolean ; max?: number ; min?: number ; precise?: boolean }neatlimits setting, true of set neatlimits object to enable, false or null|undefined to disable
neatlimitscenteredonzerobooleantrue if curve in neat-limits mode
unitAbstractUnit | stringunit
visiblebooleanvisibility of curve

DataOptions

Ƭ DataOptions: Object

data source or object to specify data source

Type declaration

NameTypeDescription
datatable?DataTableView | DataTableDataTable or DataTableView which contains time and value column
indices?string | numbername or index of series in data table / view if it is provided
name?stringname of the curve
values?string | numbername or index of series in data table / view if it is provided

EventMap

Ƭ EventMap: EventMap & { curveaxischanged: Group ; dataset: { new: DataTableView | DataTable ; old: DataTableView | DataTable | DataOptions } ; legenditemchanged: LegendItem ; legendvaluechanged: Group ; limitsupdated: TimeSeriesObject }


FillData

Ƭ FillData: Object

Type declaration

NameType
filldirectionFillDirection
fillstyleFillStyle
filltypeFillType
id1string
id2string | number | null

FormatDataOptions

Ƭ FormatDataOptions: Object

object which contains properties to be displayed

Type declaration

NameTypeDescription
additionaltext?stringan additional value text to be displayed
id?stringitem id
name?stringa name of the object to be displayed
symbol?SymbolShapesymbol to be drawn
unittext?stringa unit text to be displayed
valuetext?stringa value text to be displayed

LegendOptions

Ƭ LegendOptions: Object

JSON which defines legend options

Type declaration

NameTypeDescription
autocolorlabel?boolean-
fillstyle?Typelegend fillstyle
fixedwidth?numberfixed width option
font?string12px Arial] legend font
formatter?Formatrepresents the legend number formatter.
height?numberlegend height
internalpadding?numberlegend padding
labelcolor?string'6b6b6b' legend text color
linestyle?Typelegend border linestyle
margintext?numbermargin between edge and text of legend

LegendOptionsOut

Ƭ LegendOptionsOut: Object

JSON which defines legend options

Type declaration

NameTypeDescription
fillstyleFillStyle | nullfill style
fixedwidthnumberfixed width
fontstringfont
formatterFormatrepresents the legend number formatter.
heightnumberheight
internalpaddingnumberinternal padding
labelcolorstringlabel color
linestyleLineStyle | nullline style
margintextnumbermargin of text

Marker

Ƭ Marker: Object

Type declaration

NameTypeDescription
alignment?AnchorTypeanchor type of marker
fillstyle?Typestyle applied on fill
height?numbermarker height
linestyle?Typestyle applied on outline
painter?Paintermarker's painter's className
sizeisindevicespace?booleansize is in device space
width?numbermarker width

Options

Ƭ Options: Options & { curve?: { data?: DataTableView | DataTable | DataOptions ; properties?: CurveOptions } ; curvelimits?: CurveLimitsOptions ; curvesymbol?: SymbolOptions ; legenditem?: LegendOptions ; legendsvisible?: boolean ; tooltipitem?: TooltipItemOptions ; tooltipsvisible?: boolean ; uri?: string }

object


OptionsOut

Ƭ OptionsOut: OptionsOut & { curve: { properties: CurveOptionsOut } ; curvelimits: CurveLimitsOptionsOut ; curvesymbol: SymbolOptionsOut ; legenditem: LegendOptionsOut ; tooltipitem: TooltipOptions ; uri: string }

properties object


SymbolOptions

Ƭ SymbolOptions: Object

JSON of symbol options

Type declaration

NameTypeDescription
fillstyle?Typefillstyle of symbol
height?numberheight of symbol
painter?PainterPainter
type?"cross" | "diamond" | "plus" | "square" | "star" | "triangle" | "circle"type of painter Deprecated since 4.0 use "painter" instead
visible?booleanvisibility of curve highlighting symbol
width?numberwidth of symbol

SymbolOptionsOut

Ƭ SymbolOptionsOut: Object

Type declaration

NameTypeDescription
fillstyleFillStyle | null-
heightnumberheight of symbol
painterPainterPainter
typestringtype of painter Deprecated since 4.0 use "painter" instead
visibleboolean-
widthnumberwidth of symbol

TooltipItemOptions

Ƭ TooltipItemOptions: Options & { externalpadding?: number ; fixedwidth?: number | null ; font?: string ; formatdatahandler?: (obj: FormatDataOptions) => FormatDataOptions ; formatter?: Format ; height?: number ; internalpadding?: number ; margintext?: number ; nanvisibility?: boolean ; singlerow?: boolean ; symbolsize?: number ; textcolor?: string ; valuevisible?: boolean }


TooltipOptions

Ƭ TooltipOptions: Object

JSON which defines tooltip options

Type declaration

NameTypeDescription
externalpaddingnumberexternal padding
fillstyleFillStyle | nullfill style
fixedwidthnumberfixed width
fontstringfont
formatterFormatrepresents the tooltip number formatter.
internalpaddingnumberinternal padding
linestyleLineStyle | nullline style
margintextnumbermargin between edge and text of tooltip
nanvisibilitybooleanif true then tooltip also display with value NaN
singlerowbooleanif true then text display in tooltip single row
symbolsizenumbersize of symbol
textcolorstringtext color

Values

Ƭ Values: Object

Type declaration

NameTypeDescription
anchor?AnchorType-
color?stringcolor of value text font
fillstyle?Typefillstyle of value text container
font?stringvalue text font
format?NumberFormatformatter for value text
linestyle?Typelinestyle of value text container
offset?number-
offsetx?number-
offsety?number-
padding?numberDeprecated since 4.1 use paddingstyle instead inner padding in device coordinates
paddingstyle?Typeinner padding style in device coordinates
textstyle?Typetexttyle of value text container
visible?booleanvisibility of point values