import { WebChartCurrentVersion } from "@arcgis/charts-components/spec/web-chart.js";Variables
Type definitions
WebChartTextSymbol
Represents a text symbol.
- Supertypes
- Omit<ITextSymbol‚ "angle" | "style" | "xoffset" | "yoffset">
WebChartText
Stores information on how some text is rendered on the chart and whether it is visible or not.
type
- Type
- typeof WebChartTypes.Text
A unique string identifier for the ChartText object. This value is chartText.
WebChartCursorCrosshair
JSON representation of the cursor's crosshair for a chart.
type
- Type
- typeof WebChartTypes.CursorCrosshair
Represents a unique string identifier for the chart cursor's crosshair.
style
- Type
- ISimpleLineSymbol | undefined
Contains styling information on how the chart cursor's crosshair should be rendered.
WebChartLegend
JSON representation of the chart's legend.
type
- Type
- typeof WebChartTypes.Legend
A unique string identifier for the ChartLegend object. This value is chartLegend.
title
- Type
- WebChartText | undefined
Contains styling information on how the title of the legend box should be rendered.
body
- Type
- WebChartTextSymbol | undefined
Contains styling information on how legend body (excluding the title) should be rendered.
Will use default styling if not provided.
position
- Type
- WebChartLegendPositions | undefined
Positions the legends at "right", "left", "top", or "bottom" of the chart.
- Default value
- `right`
WebChartNullCategory
symbol
- Type
- ISimpleFillSymbol | undefined
Contains styling information on how the overlay should be rendered. If not provided a default style is applied.
- Default value
- 1 - symbol.outline.width
WebChartOverlay
JSON representation of the chart's overlays such as the trendline in scatterplot, and the median overlay in histogram.
type
- Type
- typeof WebChartTypes.Overlay
A unique string identifier for the ChartOverlay object. This value is chartOverlay.
symbol
- Type
- ISimpleLineSymbol | undefined
Contains styling information on how the overlay should be rendered. If not provided a default style is applied.
NumberFormatOptions
Defines how the numerical(value) axis data should be formatted.
type
- Type
- typeof WebChartTypes.NumberAxisFormat
Represents a unique string identifier for the NumberFormatOptions object. For the NumberFormatOptions object, it is number. It can help to differentiate numerical (value) axis from other types of axes such as date-time axis and category axis.
intlOptions
- Type
- Intl.NumberFormatOptions
Represents the JS native Intl.NumberFormatOptions, which is based on CLDR specifications.
WebChartDateTimeUnitFormatOptions
Interface used by the axis valueFormat property to describe how to format specific date and time units when displayed on the axis.
year
- Type
- Intl.DateTimeFormatOptions | undefined
month
- Type
- Intl.DateTimeFormatOptions | undefined
day
- Type
- Intl.DateTimeFormatOptions | undefined
hour
- Type
- Intl.DateTimeFormatOptions | undefined
minute
- Type
- Intl.DateTimeFormatOptions | undefined
second
- Type
- Intl.DateTimeFormatOptions | undefined
Example
"year": { year: "numeric" }"month": { month: "numeric" }"day": { day: "2-digit" }"hour": { day: "numeric" }"minute": { minute: "numeric" }"second": { second: "numeric" } DateTimeFormatOptions
Defines how the DateTime axis data should be formatted.
type
- Type
- typeof WebChartTypes.DateAxisFormat
Represents a unique string identifier for the NumberFormatOptions object. For the NumberFormatOptions object, it is date. It can help to differentiate date-time axis from other types of axes such as numeric (value) axis and category axis.
intlOptions
- Type
- Intl.DateTimeFormatOptions
Represent the JS native Intl.DateTimeFormatOptions, which is based on CLDR specifications.
CategoryFormatOptions
Defines how the category axis data (categories) should be formatted.
type
- Type
- typeof WebChartTypes.CategoryAxisFormat
Represents a unique string identifier for the CategoryFormatOptions object. For the CategoryFormatOptions object, it is category. It can help to differentiate category axis from other types of axes such as date-time axis and numeric (value) axis.
WebChartGuide
JSON representation of the chart's guide object. Can be used to represent both line and fill guides.
type
- Type
- typeof WebChartTypes.Guide
Represents a unique string identifier for the Guide object. For the Guide class, it is chartGuide.
name
- Type
- string
A unique string identifier which is used to refer to a particular guide. It is displayed in the charts config UI to differentiate between different guides.
label
- Type
- WebChartTextSymbol | undefined
Defines a text label for the given guide. It is displayed on the chart next to the concerned guide and is styled using esriTS format.
WebChartAxis
JSON representation of the chart's axis object
type
- Type
- typeof WebChartTypes.Axis
Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is chartAxis.
title
- Type
- WebChartText | undefined
Contains styling information on how the title of the axis should be rendered
grid
- Type
- ISimpleLineSymbol | undefined
Dictates how the grid lines associated with a particular axis should be rendered.
guides
- Type
- WebChartGuide[] | undefined
Represent an array of guides that should be rendered onto the axis.
lineSymbol
- Type
- ISimpleLineSymbol | undefined
Contains styling information on how the axis line should be rendered. If not provided a default style is applied.
labels
- Type
- WebChartText
Contains styling information on how the axis labels should be rendered.
scrollbar
- Type
- WebChartAxisScrollBar | undefined
Represents the axis scrollbar style and visibility.
tickSpacing
The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.
Note: This property is not applicable to gauge charts.
dateBaseInterval
- Type
- TimeIntervalInfo | undefined
Specifies the base interval on a date axis. Will be ignored on the other axis types.
It will be overridden by the properties from the series binTemporalData when provided.
WebChartGaugeAxisTick
JSON representation of the gauge axis ticks. Currently only used by WebChartGaugeAxis.
type
- Type
- typeof WebChartTypes.GaugeAxisTick
Represents a unique string identifier for the GaugeAxisTick object. For WebChartGaugeAxisTick object, it is gaugeAxisTick.
WebChartNeedle
JSON representation of a gauge needle.
type
- Type
- typeof WebChartTypes.GaugeNeedle
Represents a unique string identifier for the ChartNeedle object. For WebChartNeedle object, it is gaugeNeedle.
symbol
- Type
- ISimpleFillSymbol | undefined
Contains styling information on how the needle should be rendered.
WebChartGaugeAxis
JSON representation of the gauge chart's axis object. Inherits from the WebChartAxis properties.
- Supertypes
- WebChartAxis
innerLabel
- Type
- WebChartText | undefined
Specifies how the axis' inner label needs to be displayed.
needle
- Type
- WebChartNeedle | undefined
Specifies how the axis' needle needs to be displayed.
ticks
- Type
- WebChartGaugeAxisTick | undefined
Specifies how the axis' ticks need to be displayed.
labelsIncrement
If a label has a value being a multiple of that property, it will be displayed. Otherwise it will be hidden.
If the property is undefined or 0, the chart will be displayed with 6 axis labels distributed evenly along the axis min and max.
If the property has a value that results in more than a set limit of axis labels (25 as defined in ChartDefaults.gauge.maximumNumberOfLabelIntervals)
this property value will be ignored and the chart will be displayed with only axis min/max with 4 ticks in between.
- Default value
- undefined
minimumValueConversion
- Type
- ValueConversion | undefined
Defines how to convert the axis minimum.
maximumValueConversion
- Type
- ValueConversion | undefined
Defines how to convert the axis maximum.
minimumFromField
- Type
- IStatisticDefinition | string | undefined
With a gauge by feature:
minimumFromFieldis expected to be a field name. The value from that field for the given feature is mapped to the axis minimum value.
With a statistic gauge:
- If
minimumFromFieldis set to a field name (string), the minimum from that field is mapped to the axis minimum value. - If it is set to an
IStatisticDefinitionthe statistic (min, max, avg...) from the given field is mapped to the axis minimum value.
When minimumFromField is not provided or when it leads to an invalid value, the minimum value from the axis config, if provided, or the default value of 0, in that order, will be used.
maximumFromField
- Type
- IStatisticDefinition | string | undefined
With a gauge by feature:
maximumFromFieldis expected to be a field name. The value from that field for the given feature is mapped to the axis maximum value.
With a statistic gauge:
- If
maximumFromFieldis set to a field name (string), the maximum from that field is mapped to the axis maximum value. - If it is set to an
IStatisticDefinitionthe statistic (min, max, avg...) from the given field is mapped to the axis maximum value.
When maximumFromField is not provided or when it leads to an invalid value, the maximum value from the axis config, if provided, or the default value of 0, in that order, will be used.
WebChartRadarChartAxis
JSON representation of the radar chart's axis object.
- Supertypes
- WebChartAxis
WebChartQuery
Chart's query object.
outStatistics
- Type
- IStatisticDefinition[] | undefined
Represents an array of statistics definitions which dictate how a particular field should be aggregated.
orderByFields
Represents the sorting order of the output result.
It's recommended to use the orderByFields property of the chart's orderOptions object instead of this one.
If both are used, the orderByFields property of the chart's orderOptions object will take precedence.
The format of any entry in this array is field_name sorting_order. When sorting_order is not defined, it is assumed to be ascending.
Example
["STATE_NAME DESC", "CITY_NAME ASC", "CITY_NAME"]
spatialRelationship
- Type
- "contains" | "crosses" | "disjoint" | "envelope-intersects" | "index-intersects" | "intersects" | "overlaps" | "relation" | "touches" | "within" | undefined
For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry.
WebChartSeriesQuery
Subset of the WebChartQuery, used at the series level.
Note: The former orderByFields property is replaced by the orderOptions property of WebChart.
- Supertypes
- Omit<WebChartQuery‚ "distance" | "gdbVersion" | "geometry" | "num" | "objectIds" | "orderByFields" | "spatialRelationship" | "start" | "timeExtent" | "units">
WebChartDataFilters
JSON representation of filters applied to the data.
- Supertypes
- Pick<WebChartQuery‚ "distance" | "gdbVersion" | "geometry" | "objectIds" | "spatialRelationship" | "timeExtent" | "units" | "where">
WebChartSeries
JSON representation of the chart's series object. All other series extends this interface.
type
- Type
- string
dataTooltipValueFormat
- Type
- NumberFormatOptions | undefined
Defines how to render numeric values in tooltips.
dataTooltipPercentFormat
- Type
- NumberFormatOptions | undefined
Defines how to render percent values in tooltips. Used for stacked 100% bar and line charts, as well as pie charts.
dataTooltipDateFormat
- Type
- DateTimeFormatOptions | undefined
Defines how to render dates in tooltips. Used for bar and line charts using a date x-axis with no time binning.
name
- Type
- string
Specifies the name of the series. It would be reflected in the chart's legend.
query
- Type
- WebChartSeriesQuery | undefined
Specifies a query object associated with a particular series containing information on what data to fetch for that series.
x
- Type
- string
Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) is needed.
WebChartCalendarDatePartsBinning
- Supertypes
- WebChartTemporalBinningBase
type
- Type
- typeof WebChartTypes.CalendarDateParts
Represents a unique string identifier for the CalendarDatePartsBinning object. For CalendarDatePartsBinning object, it is calendarDateParts.
WebChartTemporalBinning
Describes the properties available for a temporal binning for bar charts and line charts.
- Supertypes
- WebChartTemporalBinningBase ‚ WebChartTemporalBinningExtras
WebChartTemporalSeries
Describes the properties related to a temporal series.
temporalBinning
- Type
- WebChartTemporalBinning | undefined
Describes how to bin the temporal data.
WebChartBarChartSeries
Bar chart shows the categorical distribution of String or DateTime data.
- Supertypes
- WebChartSeries ‚ WebChartTemporalSeries
type
- Type
- typeof WebChartTypes.BarSeries
Represents a unique string identifier for the BarChartSeries object. For BarSeries object, it is barSeries.
y
- Type
- string
Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.
fillSymbol
- Type
- ISimpleFillSymbol | undefined
Contains styling information on how the columns/bars should be rendered.
nullCategory
- Type
- WebChartNullCategory | undefined
Specifies how to display the category with null value. Setting this property will ensure that the item with no data is displayed on the chart with the specified text and color.
HistogramOverlays
Object containing histogram overlays.
type
- Type
- typeof WebChartTypes.Overlays
Represents a unique string identifier for the HistogramOverlays object. For HistogramOverlays object, it is chartOverlays.
mean
- Type
- WebChartOverlay | undefined
Specifies the mean overlay for histogram.
If not provided, the mean overlay is not displayed.
median
- Type
- WebChartOverlay | undefined
Specifies the median overlay for histogram.
If not provided, the median overlay is not displayed.
standardDeviation
- Type
- WebChartOverlay | undefined
Specifies the standard deviation overlay for histogram.
If not provided, the standard deviation overlay is not displayed.
comparisonDistribution
- Type
- WebChartOverlay | undefined
Specifies the comparison distribution overlay for histogram.
If not provided, the comparison distribution overlay is not displayed.
WebChartHistogramSeries
Histogram shows the frequency distribution of a numerical field.
- Supertypes
- WebChartSeries
type
- Type
- typeof WebChartTypes.HistogramSeries
Represents a unique string identifier for the HistogramSeries object. For HistogramSeries object, it is histogramSeries.
overlays
- Type
- HistogramOverlays | undefined
Specifies the chart overlays. Histogram supports 4 overlays: mean, median, standardDeviation and comparisonDistribution. The overlays won't show if the property is not defined.
fillSymbol
- Type
- ISimpleFillSymbol | undefined
Contains styling information on how the columns should be rendered.
ScatterplotOverlays
Object containing scatterplot overlays.
type
- Type
- typeof WebChartTypes.Overlays
Represents a unique string identifier for the ScatterplotOverlays object. For the ScatterplotOverlays object, it is chartOverlays.
trendLine
- Type
- WebChartOverlay | undefined
Specifies the trend line overlay for scatterplot.
The trend line won't show if the property is not defined.
SizePolicy
type
- Type
- typeof WebChartTypes.SizePolicy
Represents a unique string identifier for the sizePolicy object. For the sizePolicy object, it is sizeScale.
scaleType
- Type
- SizePolicyScaleTypes | undefined
The type of scale to apply to the markers (logarithmic or linear).
- Default value
- SizePolicyScaleTypes.Linear
WebChartScatterplotSeries
Scatterplot shows the relationship between two numerical fields.
- Supertypes
- WebChartSeries
type
- Type
- typeof WebChartTypes.ScatterSeries
Represents a unique string identifier for the ScatterSeries object. For the ScatterSeries object, it is scatterSeries.
y
- Type
- string
Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.
markerSymbol
- Type
- ISimpleMarkerSymbol | undefined
Specifies how each data point in the scatterplot should be rendered.
overlays
- Type
- ScatterplotOverlays | undefined
Specifies all the chart overlays. The scatterplot implements only 1 overlay, trendLine. The overlays won't show if the property is not defined.
sizePolicy
- Type
- SizePolicy | undefined
Specifies rules to use the scatterplot as bubble plot, by changing dynamically the markers size according to a specific field value.
WebChartPieChartTick
JSON representation of the pie ticks.
type
- Type
- typeof WebChartTypes.PieTick
Represents a unique string identifier for the WebChartPieChartTick object. For the WebChartPieChartTick object, it is pieTick.
lineSymbol
- Type
- ISimpleLineSymbol | undefined
Contains styling information on how the pie chart ticks should be rendered.
WebChartPieChartSlice
JSON representation of the pie slices
fillSymbol
- Type
- ISimpleFillSymbol | undefined
Contains styling information on how the slice should be rendered. If not provided, the slice will be styled with default values.
WebChartPieChartGroupSlice
JSON representation of the pie grouped slice.
- Supertypes
- WebChartPieChartSlice
percentageThreshold
- Type
- number
Slices that have a percent value equal or lesser to this threshold are grouped into a unique slice.
dataLabels
- Type
- WebChartText | undefined
Specifies how the grouped slice data labels should be rendered.
If the property is not set the series.dataLabels will be used instead.
WebChartPieChartSeries
JSON representation of the pie chart series
- Supertypes
- WebChartSeries
type
- Type
- typeof WebChartTypes.PieSeries
Represents a unique string identifier for the WebChartPieChartSeries object. For the WebChartPieChartSeries object, it is pieSeries.
y
- Type
- string
Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.
fillSymbol
- Type
- ISimpleFillSymbol | undefined
Contains styling information on how the slices should be rendered.
displayNumericValueOnDataLabel
Indicates whether the numeric value associated to a slice is to be displayed on its data label.
If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as percentage (value).
This property will be ignored if the chart options dataLabelFormatter is provided.
- Default value
- true
displayPercentageOnDataLabel
Indicates whether the percentage associated to a slice is to be displayed on its data label.
If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as percentage (value)
This property will be ignored if the chart options dataLabelFormatter is provided.
- Default value
- false
displayNumericValueOnTooltip
Indicates whether the numeric value associated to a slice is to be displayed on its tooltip.
If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as percentage (value)
This property will be ignored if the chart options tooltipFormatter is provided.
- Default value
- true
displayPercentageOnTooltip
Indicates whether the percentage associated to a slice is to be displayed on its tooltip.
If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as percentage (value)
This property will be ignored if the chart options tooltipFormatter is provided.
- Default value
- true
numericValueFormat
- Type
- NumberFormatOptions | undefined
Specifies how the numerical values should be formatted (applied to label, tooltip and legend).
Can be overridden for the tooltips by series.dataTooltipValueFormat.
percentValueFormat
- Type
- NumberFormatOptions | undefined
Specifies how the percent values should be formatted (applied to label, tooltip and legend).
Can be overridden for the tooltips by series.dataTooltipPercentFormat.
dataLabelsCharacterLimit
If set, the category on the data label is truncated to display only characterLimit characters, and an ellipsis ("...") is added to the end of the label.
Does not affect the value or percentage displayed in labels. Not applicable to tooltips or legend labels.
- Default value
- undefined
ticks
- Type
- WebChartPieChartTick | undefined
Specifies how to render the ticks shown on each slide. Ticks will be displayed with default values if not provided.
slices
- Type
- WebChartPieChartSlice[] | undefined
An array of WebChartPieChartSlice representing the ids, labels and styles of the pie slices.
When this property is not defined, or when a pie slice does not have a matching slice in this array, the series' fillSymbol will be used. If the series' fillSymbol does not contain color information, colors from the color ramps will be utilized.
WebChartGaugeSeries
JSON representation of the gauge series
- Supertypes
- WebChartSeries
type
- Type
- typeof WebChartTypes.GaugeSeries
Represents a unique string identifier for the WebChartGaugeSeries object. For the WebChartGaugeSeries object, it is gaugeSeries.
valueConversion
- Type
- ValueConversion | undefined
Defines the conversion to apply to the gauge value.
WebChartLineChartSeries
- Type parameters
- <SeriesType extends "lineSeries" | "radarSeries" = "lineSeries">
JSON representation of the line chart series.
- Supertypes
- WebChartSeries ‚ WebChartTemporalSeries
lineSymbol
- Type
- ISimpleLineSymbol | undefined
Contains styling information on how the line or line segments should be rendered.
markerSymbol
- Type
- ISimpleMarkerSymbol | undefined
Contains styling information on how the marker should be rendered.
nullCategory
- Type
- WebChartNullCategory | undefined
Specifies how to display the category with null value.
Setting this property will ensure that the item with no data is displayed on the chart with the specified text and color.
WebChartBoxPlotSeries
JSON representation of the box plot series
- Supertypes
- WebChartSeries
type
- Type
- typeof WebChartTypes.BoxPlotSeries
fillSymbol
- Type
- ISimpleFillSymbol | undefined
Contains styling information on how the box and whiskers should be rendered. The whiskers use the fillSymbol.outline.
WebChartHeatChartGradient
JSON representation of the Heat chart with gradient heat rules.
WebChartHeatChartHeatClassBreaks
JSON representation of the Heat chart with class breaks heat rules.
classificationMethod
- Type
- WebChartClassBreakTypes | undefined
The classification method to be used for the heat chart.
equal-interval - divides the range of values into equal-sized intervals.
quantile - divides the range of values into intervals that contain an equal number of features.
natural-breaks - identifies natural groupings of values in the data by minimizing the variance within classes and maximizing the variance between classes.
manual - allows you to manually specify the class breaks.
WebChartHeatChartEmptyCell
JSON representation of the heat chart empty cell configuration.
symbol
- Type
- ISimpleFillSymbol | undefined
Specifies the symbol to use by the empty cells. If none is provided, the default symbol will be used.
WebChartHeatChartSeries
JSON representation of the heat chart series.
- Supertypes
- WebChartSeries
type
- Type
- typeof WebChartTypes.HeatSeries
y
- Type
- string
Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.
WebChart
JSON representation of the web chart object.
version
- Type
- typeof WebChartCurrentVersion
Version of the specification. Used to identify when a saved config was created.
type
- Type
- typeof WebChartTypes.Chart
Represents a unique string identifier for the WebChart object. For the WebChart object, it is chart.
iLayer
- Type
- IFeatureLayer | undefined
Property representing the layer to be used by the chart. If not provided we expect a layer object to be set on the component.
dataFilters
- Type
- WebChartDataFilters | undefined
Used to filter the chart's data while in layer mode.
cursorCrosshair
- Type
- WebChartCursorCrosshair | undefined
Specifies cursor's crosshair information for the chart. Only for XY charts.
axes
- Type
- [WebChartAxis, WebChartAxis?, WebChartAxis?] | undefined
Represents an array of at least 1 or at most 3 chart axes accompanying the chart.
The third axis config is used when a series assignToSecondValueAxis is set to true.
Some of the axis features won't apply to the third axis (e.g. labels behaviors).
horizontalAxisLabelsBehavior
- Type
- WebChartLabelBehavior | undefined
Represents the way the labels should behave when the horizontal axis can't display them all.
Applicable to XY charts only. Histograms support none and rotate only. The default horizontal axis value is rotate, except for histograms, where it is none.
- Default value
- "rotate"
verticalAxisLabelsBehavior
- Type
- WebChartLabelBehavior | undefined
Represents the way the labels should behave when the vertical axis can't display them all.
For XY Chart only.
- Default value
- "wrap"
series
- Type
- WebChartSeriesType[]
Represents an array of various chart series to be plot inside the chart.
Empty array is not allowed.
stackedType
- Type
- WebChartStackedKinds | undefined
Specifies how the bars/lines should be placed when multiple series are rendered in the same chart.
Only applicable to bar and line series.
- Default value
- sideBySide
colorMatch
Specifies whether to first try matching the colors from the layer renderer or the chart renderer for coloring the chart elements, like markers, line segments, columns, etc.
To do so, this property needs to be set to true.
When there is no matching color found (for when colorMatch = true) or when colorMatch = false,
the colors from the config, and then from the color ramps will be used, in that order.
- Default value
- false
chartRenderer
- Type
- IDrawingInfo["renderer"] | undefined
Renderer to use to style the series when the chart uses the color match mode.
Considered before the layer's renderer.
orderOptions
- Type
- { series?: WebChartOrderSeriesBy; data?: WebChartDirectionalDataOrder | WebChartMultiAxesDataOrder | WebChartPredefinedLabelsDataOrder; orderByFields?: string[]; } | undefined
Chart order options for data and series.
WebGaugeChart
JSON representation of the gauge chart.
- Supertypes
- WebChart
subType
- Type
- GaugeChartSubTypes | undefined
The type of gauge, like FeatureGauge or StatisticGauge.
When this property is not specified, it will be defaulted to GaugeChartSubTypes.StatisticGauge.
WebBoxPlot
JSON representation of the box plot.
- Supertypes
- WebChart
series
- Type
- (WebChartBoxPlotSeries | WebChartLineChartSeries)[]
The box plot series can be of type boxPlotSeries or lineSeries.
WebRadarChart
Gives a JSON representation of the radar chart object.
- Supertypes
- WebChart
axes
- Type
- [WebChartRadarChartAxis, WebChartAxis]
Array of two axes, one specific to the radar chart and the other one common to all charts.
WebHeatChart
Gives a JSON representation of the heat chart object.
- Supertypes
- WebChart ‚ WebChartTemporalBinningExtras
orderOptions
- Type
- Omit<WebChart["orderOptions"], "data" | "orderByFields"> & { data?: WebChartMultiAxesDataOrder; } | undefined
WebChartTemporalBinningBase
Describes the basic properties available for a temporal binning
trimIncompleteTimeInterval
Determines whether incomplete time intervals at the start or end of the data span (depending on the timeAggregationType) will be removed from the chart.
Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval.
true - trim the incomplete intervals.
false - does not trim the incomplete intervals.
- Default value
- true
offset
- Type
- { unit: WebChartTemporalBinningUnits; size: number; } | undefined
Offset to apply to the results.
Current limitation: this is applied only when the provided layer supports the queryBins operation.
WebChartTemporalBinningExtras
Describes the extra properties available for a temporal series and for the heat chart.
outTimeZone
Defines the IANA time zone used for temporal bin calculations.
Current limitation: this is applied only when the provided layer supports the queryBins operation.
firstDayOfWeek
The first day of the week. This property is used to determine the start of the week for date-based bins. The default value depends on the user locale (e.g. 7 as Sunday for US, 1 as Monday for France).
Current limitation: this is applied only when the provided layer supports the queryBins operation.
nullPolicy
- Type
- WebChartNullPolicyTypes | undefined
How summarized bins returning a null value are displayed. Supported options are:
null,zero, andinterpolatefor line series.nullandzerofor bar series.
- Default value
- "null"