API / geotoolkit / controls / shapes / LineChart / LineChart
Type Aliases
Ƭ AreaRange: Object
The area range definition.
| Name | Type | Description |
|---|---|---|
fillstyle? | Type | fillstyle to apply between ranges |
linestyles? | Type[] | Linestyles for area range series |
range? | number[][] | INumericalDataSeries[] | number[] | Defines upper bound range and lowerbound range |
Ƭ DataModel: Object
| Name | Type | Description |
|---|---|---|
arearange? | AreaRange[] | Defines Area Range |
autodatalimits | boolean | - |
baseline | number | A base line for the fill |
datainterpolationstrategy | DataInterpolationType | - |
fillstyles | Type[] | Fill styles to apply to curves |
gapfillcutoffvalue | number | value of the cutoff used for removing NaN valued samples. Gaps will only be 'filled' when the cutoff value is non zero. |
gapvalue | number | Maximum value will be used to disconnect the sample if the distance between two samples in x axis is more than specified value |
gridvisible? | boolean | set visible the gridlines |
labels? | { annotations?: number[][] | string[][] | DataSeries[] | DataSeriesView[] ; fillstyles?: FillStyle[] ; linestyles?: LineStyle[] ; offsetx?: number ; offsety?: number ; showellipsis?: boolean ; textstyles?: TextStyle[] } | labels for linechart points |
labels.annotations? | number[][] | string[][] | DataSeries[] | DataSeriesView[] | annotations for linechart points, if not specified y value of linechart will be displayed |
labels.fillstyles? | FillStyle[] | fillstyles for label |
labels.linestyles? | LineStyle[] | linestyles for label |
labels.offsetx? | number | text margin for label in x-direction |
labels.offsety? | number | text margin for label in y-direction |
labels.showellipsis? | boolean | show ellipses for textstyle |
labels.textstyles? | TextStyle[] | textstyles for label |
linecolorproviders? | ColorProvider[] | The color providers used to color line based on Z value |
linestylecallbacks? | LineStyleCallbackType[] | The custom callbacks used for changing style for each line segment individually |
linestyles | Type[] | Line styles to apply to curves |
logscale | boolean | { x: boolean ; y: boolean } | - |
percentarea? | boolean | Defines if chart is percene area chart |
series? | { visible?: boolean }[] | returns the visibility of line chart series |
size | number | - |
spline | boolean | true to display spline chart instead of polyline |
stackedarea? | boolean | Defines if chart is stacked area chart |
symbols | { decimate?: boolean ; dimensions?: Dimension[] ; fillcolorproviders?: ColorProvider[] ; fillstyles?: Type[] ; height?: number ; linecolorproviders?: ColorProvider[] ; linestyles?: Type[] ; painters?: Painter[] ; sizeisindevicespace?: boolean ; step?: number ; visible?: boolean | boolean[] ; width?: number } | - |
symbols.decimate? | boolean | - |
symbols.dimensions? | Dimension[] | Symbols dimensions, for each one series |
symbols.fillcolorproviders? | ColorProvider[] | The color providers used to draw symbol interior based on Z value |
symbols.fillstyles? | Type[] | Defines series symbols fill styles |
symbols.height? | number | Symbols height, for all series |
symbols.linecolorproviders? | ColorProvider[] | The color providers used to draw symbol outline based on Z value |
symbols.linestyles? | Type[] | Defines series symbols line styles |
symbols.painters? | Painter[] | painters for series. Nulls are acceptable if a series should not have a symbols |
symbols.sizeisindevicespace? | boolean | Flag that determines if symbols must keep device size |
symbols.step? | number | Number of steps at which symbol should be displayed, for all series |
symbols.visible? | boolean | boolean[] | define visibility of the symbols |
symbols.width? | number | Symbols width, for all series |
x | number[] | number[][] | INumericalDataSeries[] | INumericalDataSeries | array of X coordinates |
y | number[] | number[][] | INumericalDataSeries[] | array of Y coordinates |
z? | number[] | number[][] | INumericalDataSeries[] | array of Z values (color) |
Ƭ Hits: { indices: number[] ; points: { index: number ; x: number ; y: number ; y1: number[] | number ; z?: number }[] ; series: number }[]
Ƭ Options: Options & Partial<DataModel> & { bounds?: Rect ; cache?: boolean ; modellimits?: Rect }
array of X coordinates or parameters object
Ƭ OptionsBaseOut: Object
| Name | Type | Description |
|---|---|---|
autodatalimits? | boolean | automatic model limits calculation |
baseline? | number | A base line for the fill |
fillstyles? | Type[] | curve fillstyles |
gapvalue? | number | Maximum value will be used to disconnect the sample if the distance between two samples in x axis is more than specified value |
labels? | { anchor?: AnchorType ; annotations?: number[][] | string[][] | DataSeries[] | DataSeriesView[] ; fillstyles?: FillStyle[] ; linestyles?: LineStyle[] ; offset?: number ; offsetx?: number ; offsety?: number ; padding?: number ; showellipsis?: boolean ; step?: number ; textstyles?: TextStyle[] } | labels for linechart points |
labels.anchor? | AnchorType | text anchor type for label (in device space) |
labels.annotations? | number[][] | string[][] | DataSeries[] | DataSeriesView[] | annotations for linechart points, if not specified y value of linechart will be displayed |
labels.fillstyles? | FillStyle[] | fillstyles for labels |
labels.linestyles? | LineStyle[] | linestyles for labels |
labels.offset? | number | text margin in pixel for label in x-y-direction (in device space) calculated automatically according label anchor |
labels.offsetx? | number | text margin for label in x-direction |
labels.offsety? | number | text margin for label in y-direction |
labels.padding? | number | text padding in pixel for label |
labels.showellipsis? | boolean | show ellipses for textstyle |
labels.step? | number | Number of steps at which label should be displayed, for all series |
labels.textstyles? | TextStyle[] | textstyles for labels |
linecolorproviders? | ColorProvider[] | The color providers used to color line based on Z value |
linestylecallbacks? | LineStyleCallbackType[] | The custom callbacks used for changing style for each line segment individually |
linestyles? | Type[] | curve linestyles |
modellimits? | Rect | model limits of chart. if it is not set then model limits are calculated. |
series? | { visible?: boolean }[] | Defines the visibility of linechart series. By default it's true |
spline? | boolean | Spline or polygon path |
symbols? | { dimensions?: Dimension[] ; fillcolorproviders?: ColorProvider[] ; fillstyles?: FillStyle[] ; height?: number ; linecolorproviders?: ColorProvider[] ; linestyles?: LineStyle[] ; painters?: Painter[] ; sizeisindevicespace?: boolean ; step?: number ; visible?: boolean | boolean[] ; width?: number } | Symbols definition for data series. This object may contain definition for more than one series |
symbols.dimensions? | Dimension[] | Symbols dimensions for each one series |
symbols.fillcolorproviders? | ColorProvider[] | The color providers used to draw symbol interior based on Z value |
symbols.fillstyles? | FillStyle[] | Series symbols fill styles |
symbols.height? | number | Symbols height, for all series |
symbols.linecolorproviders? | ColorProvider[] | The color providers used to draw symbol outline based on Z value |
symbols.linestyles? | LineStyle[] | Series symbols line styles |
symbols.painters? | Painter[] | painters for series. Nulls are acceptable if a series should not have a symbols |
symbols.sizeisindevicespace? | boolean | Flag that determines if symbols must keep device size, |
symbols.step? | number | Number of steps at which symbol should be displayed, for all series |
symbols.visible? | boolean | boolean[] | visibility of the symbols |
symbols.width? | number | Symbols width, for all series |
Ƭ OptionsOut: Merge<OptionsOut, OptionsBaseOut>
options