Last updated

API / geotoolkit / gauges / axis / Axis / Axis

Namespace: Axis

axis.Axis.Axis

Table of contents

Type Aliases

Contents

Type Aliases

EventMap

Ƭ EventMap: EventMap & { StateUpdated: void ; nameChanged: { new: string ; old: string } }


LabelOptions

Ƭ LabelOptions: Merge<Partial<LabelOptionsOut>, { color?: string | RgbaColor ; font?: string }>

properties


LabelOptionsOut

Ƭ LabelOptionsOut: Object

properties

Type declaration

NameTypeDescription
formatstringFormat of label value
formatterFormatFormatter which will be applied to the value before rendering
gapnumber | stringGap between the label and the tick or axis
positionTickPositionsPosition of the labels relative to the axis
textstyle?TextStyleText style for the labels
visiblebooleanVisibility flag of the labels

NameOptions

Ƭ NameOptions: Merge<Partial<NameOptionsOut>, { color?: string | RgbaColor ; font?: string ; properties?: Options ; textstyle?: Type }>

properties


NameOptionsOut

Ƭ NameOptionsOut: Object

properties

Type declaration

NameTypeDescription
alignmentAnchorTypePosition of the name in the region
displaystrategyValueDisplayStrategiesStrategy by which the name will fit the region
formatterFormatFormatter which will be applied to the name before rendering
positionRegions | stringRegion where the name will be rendered
propertiesOptionsOutsee Text.getProperties
textstyle?TextStyleStyle of the text showing axis name, overrides font and color
visiblebooleanVisibility of the name

Options

Ƭ Options: Options & { alarms?: Options | Alarm | Options[] | Alarm[] ; animationfunction?: Functions | string ; animationtime?: number ; functionregistry?: FunctionRegistry ; linestyle?: Type ; namestyle?: NameOptions ; range?: RangeIn ; regions?: Region[] ; tickgenerator?: TickGenerator ; ticks?: { edge?: TickOptions ; major?: TickOptions ; minor?: TickOptions } ; units?: string ; value?: number ; valuestyle?: ValueOptions }

properties


OptionsOut

Ƭ OptionsOut: OptionsOut & { alarms: Alarm[] ; animationfunction: Functions | string ; namestyle: NameOptionsOut ; range: Range ; regions: Region[] ; tickgenerator: TickGenerator ; ticks: { edge?: TickOptionsOut ; major: TickOptionsOut ; minor?: TickOptionsOut } ; units: string ; value: number ; valuestyle: ValueOptionsOut }

properties


RangeIn

Ƭ RangeIn: Range | { max?: number ; min?: number }

New range to set


TickOptions

Ƭ TickOptions: Merge<Partial<TickOptionsOut>, { fillstyle?: Type ; labels?: LabelOptions ; linestyle?: Type ; painter?: Painter }>

properties


TickOptionsOut

Ƭ TickOptionsOut: Object

Type declaration

NameTypeDescription
fillstyleFillStyle | nullFill style for the tick symbol
heightnumber | stringHeight of individual tick symbol
labelsLabelOptionsOutJSON with label properties
linestyleLineStyle | nullLine style for the tick symbol
painterPainterFunctionPainter which will be used to render the tick
tickpositionTickPositionsPosition of ticks relative to the axis
visiblebooleanVisibility flag for the ticks
widthnumber | stringWidth of individual tick symbol

ValueOptions

Ƭ ValueOptions: Merge<Partial<ValueOptionsOut>, { color?: string | RgbaColor ; font?: string ; format?: string ; properties?: Options ; textstyle?: Type ; trim?: boolean }>

properties


ValueOptionsOut

Ƭ ValueOptionsOut: Object

properties

Type declaration

NameTypeDescription
alignmentAnchorTypePosition of the value in the region
displaystrategyValueDisplayStrategiesStrategy by which the value will fit the region
formatterFormatFormatter which will be applied to the value before rendering
positionRegions | stringRegion where the value will be rendered
propertiesOptionsOutsee Text.getProperties
textstyleTextStyle | nullStyle of the text showing axis value
visiblebooleanVisibility of the value