CalloutSeries
Type class
Data item
CalloutSeries uses data items of type ICalloutSeriesDataItem.
Sources
CalloutSeries can be used (imported) via one of the following packages.
// Import CalloutSeriesimport * as am5stock from "@amcharts/amcharts5/stock";
// Create CalloutSeriesam5stock.CalloutSeries.new(root, { // ... config if applicable});<!-- Load CalloutSeries --><script src="stock.js"></script>
<script>// Create CalloutSeriesam5stock.CalloutSeries.new(root, { // ... config if applicable});</script>Inheritance
CalloutSeries extends LabelSeries.
CalloutSeries is not extended by any other symbol.
Settings
Set these settings on a CalloutSeries object using its set() and setAll() methods. Read about settings concept.
195 inherited items
activeType
undefined|false|trueInherited fromISpriteSettingsApplies the element's
"active"state whiletrue.animationsType
ArrayInherited fromIEntitySettingsSince 5.20.8Animations the element plays on its own, described as data - so they can be set from a JSON config and saved with it.
Each one animates a setting of the element (or, with
target: "dataItem", a value of its data item - a map point'spositionOnLine, say). They start when the setting is applied, restart when it changes, and stop when the element is disposed. A saved config keeps what was configured, never a value caught half way through an animation.sprite.set("animations", [ { key: "rotation", to: 360, duration: 4000, loops: 0 }, { key: "scale", from: 1, to: 1.3, duration: 800, loops: 0, yoyo: true, easing: "sine" } ]);appearDelayType
undefined|numberDefault0Inherited fromISpriteSettingsSince 5.21.0Milliseconds to wait before the
autoAppearanimation starts. The element stays hidden until then.appearDurationType
undefined|numberInherited fromISpriteSettingsSince 5.21.0Duration of the
autoAppearanimation, in milliseconds. Without it, the element'sstateAnimationDurationis used.ariaCheckedType
undefined|false|trueInherited fromISpriteSettingsaria-checkedsetting.This setting is ignored unless
roleis one of the following:"checkbox""option""radio""menuitemcheckbox""menuitemradio""treeitem"On a toggle"button"(one withtoggleKey) it is exposed asaria-pressed.
ariaControlsType
undefined|stringInherited fromISpriteSettingsaria-controlssetting.ariaCurrentType
undefined|stringInherited fromISpriteSettingsSince 5.9.8aria-currentsetting.More info: https://w3c.github.io/aria/#aria-current
ariaExpandedType
undefined|false|trueInherited fromISpriteSettingsSince 5.21.0aria-expandedsetting: whether the content the element shows or hides (e.g. a task's subtasks, a node's children) is shown.More info: https://w3c.github.io/aria/#aria-expanded
ariaHiddenType
undefined|false|trueInherited fromISpriteSettingsaria-hiddensetting.ariaLabelType
undefined|stringInherited fromISpriteSettingsLabel for the element to use for screen readers.
More info: Accessibility: screen reader
ariaLiveType
AriaLiveInherited fromISpriteSettingsaria-livesetting.ariaOrientationType
undefined|stringInherited fromISpriteSettingsaria-orientationsetting.ariaSelectedType
undefined|false|trueInherited fromISpriteSettingsSince 5.9.8aria-selectedsetting.More info: https://w3c.github.io/aria/#aria-selected
ariaValueMaxType
undefined|stringInherited fromISpriteSettingsaria-valuemaxsetting.ariaValueMinType
undefined|stringInherited fromISpriteSettingsaria-valueminsetting.ariaValueNowType
undefined|stringInherited fromISpriteSettingsaria-valuenowsetting.ariaValueTextType
undefined|stringInherited fromISpriteSettingsaria-valuetextsetting.autoAppearType
undefined|false|trueDefaultfalseInherited fromISpriteSettingsSince 5.21.0Plays the element's reveal animation, as
appear()does, when it is first drawn: a chart fades in, a series grows its columns or lines from the base. A series waits for its first data. It plays once: data updates do not replay it, but turning the setting off and on again does.Elements made from a template play as each one is made.
An element that starts hidden (
visible: false, or hidden in code before it is drawn) stays hidden. Ananimationsentry on the same setting, such as a pulsingopacity, keeps playing.This is how a JSON config gets the opening animation, as a config cannot call
appear().chart.setAll({ autoAppear: true, appearDuration: 1000, appearDelay: 100 }); series.setAll({ autoAppear: true, appearDuration: 1000 });chart.setAll({ autoAppear: true, appearDuration: 1000, appearDelay: 100 }); series.setAll({ autoAppear: true, appearDuration: 1000 });More info: Animations
autoGapCountType
undefined|numberDefault1.1Inherited fromILineSeriesSettingsWith
connectset tofalseand aDateAxisas the base axis, breaks the line where neighboring data items are more than this many base intervals (e.g. days) apart.More info: Line series: auto gaps with dates
backgroundType
GraphicsInherited fromIContainerSettingsElement drawn behind the container's content, sized to fill the container.
More info: Containers: background
baseAxisType
IXYAxisInherited fromIXYSeriesSettingsThe axis the series runs along, such as the category axis of a column series; the other axis holds its values. If not set, the chart picks the Y axis when it is a category or date axis, and the X axis otherwise.
More info: XY chart series: base axis
blurType
undefined|numberInherited fromISpriteSettingsSince 5.5.0Blur radius in pixels, from
0(no blur) up.IMPORTANT: This setting is not supported in Safari browsers.
More info: Filters
brightnessType
undefined|numberInherited fromISpriteSettingsSince 5.5.0Brightness.
0- completely black1- no changes (default)>1- brighter IMPORTANT: This setting is not supported in Safari browsers.
More info: Filters
calculateAggregatesType
undefined|false|trueInherited fromISeriesSettingsMakes the series compute aggregate values, such as sums, averages, lows, highs and changes.
Enable it only if they are used, e.g. in tooltips, data fields or heat rules.
categoryXFieldType
undefined|stringInherited fromIXYSeriesSettingsData field with the X category.
More info: XY chart series: data fields
categoryYFieldType
undefined|stringInherited fromIXYSeriesSettingsData field with the Y category.
More info: XY chart series: data fields
centerXType
number|PercentInherited fromISpriteSettingsThe point of the element that is placed at its
xposition, and that it rotates and scales around: pixels from its left edge, or a percent of its width.centerYType
number|PercentInherited fromISpriteSettingsThe point of the element that is placed at its
yposition, and that it rotates and scales around: pixels from its top edge, or a percent of its height.clickAnnounceTextType
undefined|stringInherited fromISpriteSettingsSince 5.10.8If set, the text will be read out (announced) by a screen reader when focused element is "clicked" (by pressing ENTER or SPACE).
connectType
undefined|false|trueDefaulttrueInherited fromILineSeriesSettingsDraws the line across data items that have no value. With
false, the line breaks there, and also at time gaps longer thanautoGapCount.More info: Line series: gaps
contrastType
undefined|numberInherited fromISpriteSettingsSince 5.5.0Contrast.
0- completely gray1- no changes (default)>1- more contrast IMPORTANT: This setting is not supported in Safari browsers.
More info: Filters
crispType
undefined|false|trueDefaultfalseInherited fromISpriteSettingsSince 5.3.0Draws the element sharply, with minimal anti-aliasing: its position is rounded to whole pixels, and
strokeWidthis adjusted to the device pixel ratio, so lines may look thinner than expected.NOTE: it may not work well on several elements that are meant to fit together exactly.
cursorOverStyleType
undefined|stringInherited fromISpriteSettingsCSS cursor to show while the pointer is over the element, e.g.
"pointer".More info: https://developer.mozilla.org/en-US/docs/Web/CSS/cursor
customValueFieldType
undefined|stringInherited fromISeriesSettingsA key to look up in data for an extra numeric value of the data item (
customValue), e.g. for heat rules.dateFormatterType
DateFormatter|undefinedInherited fromISpriteSettingsA
DateFormatterto use for this element instead of the root's.More info: /v5/concepts/using-formatters/
disabledType
undefined|false|trueInherited fromISpriteSettingsApplies the element's
"disabled"state whiletrue. It changes only the look: the element still responds to the pointer.draggableType
undefined|false|trueInherited fromISpriteSettingsLets the user drag the element. Touches that start on it no longer scroll the page.
durationFormatterType
DurationFormatter|undefinedInherited fromISpriteSettingsA
DurationFormatterto use for this element instead of the root's.More info: /v5/concepts/using-formatters/
dxType
undefined|numberInherited fromISpriteSettingsHorizontal shift in pixels. Can be negative to shift leftward.
dyType
undefined|numberInherited fromISpriteSettingsVertical shift in pixels. Can be negative to shift upward.
exactLocationXType
undefined|false|trueDefaultfalseInherited fromIXYSeriesSettingsSince 5.13.0Places data points at their exact date on a
DateAxisX axis, ignoringlocationX. When that axis is the base axis, a column then spans exactly from its open date to its date, so it needs anopenValueXFieldto have any width.exactLocationYType
undefined|false|trueDefaultfalseInherited fromIXYSeriesSettingsSince 5.13.0Places data points at their exact date on a
DateAxisY axis, ignoringlocationY. Columns are not affected.excludeFromAggregateType
ArrayInherited fromISeriesSettingsSince 5.14.4Fields to leave out of
calculateAggregates, to save work where their aggregates are not needed.excludeFromTotalType
undefined|false|trueDefaultfalseInherited fromIXYSeriesSettingsLeaves the series out of the totals (
valueYTotal,valueYTotalPercentand the like) that a value axis withcalculateTotalsworks out.exportableType
undefined|false|trueInherited fromISpriteSettingsIf
false, the element is left out of exported images of the chart.fieldType
"open"|"value"|"low"|"high"Default"value"Inherited fromIDrawingSeriesSettingsValue of
seriesthat snapping, averages and regressions use:"value"(the close),"open","low"or"high".fillType
ColorInherited fromISeriesSettingsSeries fill color.
More info: XY chart series: series colors
fillColorType
ColorInherited fromIDrawingSeriesSettingsFill color of new drawings and, when changed, of the selected ones.
fillGradientType
GradientInherited fromISeriesSettingsSeries fill gradient.
More info: Gradients
fillOpacityType
undefined|numberInherited fromIDrawingSeriesSettingsFill opacity (
0to1) of new drawings and, when changed, of the selected ones.fillPatternType
PatternInherited fromISeriesSettingsSince 5.10.0Series fill pattern.
More info: Patterns
fillShapeType
undefined|false|trueDefaultfalseInherited fromIPolylineSeriesSettingsSince 5.9.0Closes the shape and fills it, instead of drawing an open line.
focusableType
undefined|false|trueInherited fromISpriteSettingsCan element be focused, i.e. selected using TAB key.
More info: Accessibility: focusing elements
focusableGroupType
string|numberInherited fromISpriteSettingsSince 5.0.6An identifier by which to group common elements into focusable groups.
If set, only the first element in he group will be focusable via TAB key.
When it is selected, the rest of the elements in the same group can be selected using arrow keys.
It allows users to TAB-through chart elements quickly without the need to TAB into each and every element.
It's up to implementer of the charts to provide meaningful
ariaLabelto the element, which advertises this capability and provides adequate instructions.More info: Accessibility: grouping focusable elements
forceHiddenType
undefined|false|trueInherited fromISpriteSettingsHides the element whatever its
visiblesetting, even whenshow()is called.forceInactiveType
undefined|false|trueInherited fromISpriteSettingsSince 5.0.21Makes the element and its children ignore the pointer, even with
interactive: trueor event listeners set.groupDataCallbackType
undefined| (dataItem:DataItem, interval:ITimeInterval) =>voidInherited fromIXYSeriesSettingsSince 5.1.11Function called for each grouped data item once it is complete, to set values of your own. Its
originalshold the source data items.More info: Date axis: custom aggregation functions
groupDataDisabledType
undefined|false|trueInherited fromIXYSeriesSettingsSince 5.0.19Keeps the series' data ungrouped even when its
DateAxishasgroupDataset.groupDataWithOriginalsType
undefined|false|trueDefaultfalseInherited fromIXYSeriesSettingsSince 5.1.11Fills the
originalsof each grouped data item with the source data items it was made from. Always on whengroupDataCallbackis set.heatRulesType
IHeatRule[]Inherited fromISeriesSettingsHeat rules to apply to the series' elements. A rule without
minValueandmaxValueneedscalculateAggregatesto find the value range.More info: Heat rules
heightType
number|Percent|nullInherited fromISpriteSettingsHeight in pixels, or a
Percentof the parent's inner height. In a vertical layout, a percent height is a share of the height the other children leave.highLocationXType
undefined|numberDefault0.5Inherited fromIXYSeriesSettingsHorizontal location of the high data point relative to its cell.
0- beginning,0.5- middle,1- end.highLocationYType
undefined|numberDefault0.5Inherited fromIXYSeriesSettingsVertical location of the high data point relative to its cell.
0- beginning,0.5- middle,1- end.highValueXFieldType
undefined|stringInherited fromIXYSeriesSettingsData field with the high X value.
More info: Candlestick and OHLC series
highValueXGroupedType
"open"|"close"|"high"|"average"|"sum"|"extreme"Default"high"Inherited fromIXYSeriesSettingsHow grouping combines the high X values; see
valueXGrouped.highValueXShowType
"highValueXWorking"|"highValueXChange"|"highValueXChangePercent"|"highValueXChangeSelection"|"highValueXChangeSelectionPercent"|"highValueXChangePrevious"|"highValueXChangePreviousPercent"Inherited fromIXYSeriesSettingsWhich form of the high X value the series plots; see
valueXShow.highValueYFieldType
undefined|stringInherited fromIXYSeriesSettingsData field with the high Y value.
More info: Candlestick and OHLC series
highValueYGroupedType
"open"|"close"|"high"|"average"|"sum"|"extreme"Default"high"Inherited fromIXYSeriesSettingsHow grouping combines the high Y values; see
valueYGrouped.highValueYShowType
"highValueYWorking"|"highValueYChange"|"highValueYChangePercent"|"highValueYChangeSelection"|"highValueYChangeSelectionPercent"|"highValueYChangePrevious"|"highValueYChangePreviousPercent"Inherited fromIXYSeriesSettingsWhich form of the high Y value the series plots; see
valueYShow.hoverOnFocusType
undefined|false|trueInherited fromISpriteSettingsSimulate hover on an element when it gains focus, including changing hover appearance and displaying a tooltip if applicable.
More info: Accessibility: focusing elements
htmlType
undefined|stringInherited fromIContainerSettingsSince 5.2.11HTML content of the container. It can hold data placeholders, such as
{category}.More info: HTML content
hueType
undefined|numberInherited fromISpriteSettingsSince 5.5.0Rotates the hue of all colors by this many degrees, from
0to360.IMPORTANT: This setting is not supported in Safari browsers.
More info: Filters
idType
undefined|stringInherited fromIEntitySettingsA unique ID for looking the element up in
root.entitiesById. Setting an ID that another element already has throws an error.idFieldType
undefined|stringInherited fromISeriesSettingsA key to look up in data for an id of the data item.
ignoreMinMaxType
undefined|false|trueDefaultfalseInherited fromIXYSeriesSettingsLeaves the series out when its axes work out their scale.
ignoreThemesType
undefined|false|trueDefaultfalseInherited fromIEntitySettingsSince 5.15.6Ignores themes: no theme rule applies to the element, not even one of the default theme.
interactiveType
undefined|false|trueInherited fromISpriteSettingsMakes the element respond to the pointer. Adding a pointer event listener to it turns this on.
interactiveChildrenType
undefined|false|trueDefaulttrueInherited fromIContainerSettingsMakes every descendant, not just direct children, interactive when the container itself is interactive.
interpolationDurationType
undefined|numberDefault0Inherited fromIComponentSettingsDuration in milliseconds of the animation from old values to new ones, e.g. when data changes.
More info: Animations: animating data values
interpolationEasingType
$ease.EasingInherited fromIComponentSettingsEasing function of the animation from old values to new ones.
More info: Animations: easing functions
invertType
undefined|numberInherited fromISpriteSettingsSince 5.5.0Color inversion, from
0(no changes) to1(fully inverted colors).IMPORTANT: This setting is not supported in Safari browsers.
More info: Filters
isMeasuredType
undefined|false|trueDefaulttrueInherited fromISpriteSettingsIf
false, the element's bounds are not measured, so it takes no part in its parent's layout or size.labelFillType
ColorInherited fromILabelSeriesSettingsText color of new labels and, when changed, of the selected ones.
labelFontFamilyType
undefined|stringInherited fromILabelSeriesSettingsFont family of new labels and, when changed, of the selected ones.
"inherit"uses the computed font of the chart's container (since5.17.3).labelFontSizeType
number|string|undefinedInherited fromILabelSeriesSettingsFont size of new labels and, when changed, of the selected ones.
labelFontStyleType
"normal"|"italic"|"oblique"Inherited fromILabelSeriesSettingsFont style of new labels and, when changed, of the selected ones.
labelFontWeightType
"normal"|"bold"|"bolder"|"lighter"|"100"|"200"|"300"|"400"|"500"|"600"|"700"|"800"|"900"Inherited fromILabelSeriesSettingsFont weight of new labels and, when changed, of the selected ones.
layerType
undefined|numberInherited fromISpriteSettingsLayer to draw the element on: elements on higher layers show in front of those on lower ones. If not set, the element is on its parent's layer.
layerMarginType
IMarginInherited fromISpriteSettingsSince @5.2.39Margins in pixels that make the element's layer larger than the chart, or, when negative, smaller.
layoutType
Layout|nullInherited fromIContainerSettingsHow children are arranged, e.g.
root.horizontalLayout,root.verticalLayoutorroot.gridLayout. Without a layout, children are placed by their ownxandy.More info: Containers: layout
legendDataItemType
DataItemInherited fromISeriesSettingsThe series' data item in a
Legend.legendLabelTextType
undefined|stringInherited fromISeriesSettingsText template for the item's label in a
Legend.legendRangeLabelTextType
undefined|stringInherited fromIXYSeriesSettingsText of the series' legend label while the cursor is not over any of its data items. If not set,
legendLabelTextis used.legendRangeValueTextType
undefined|stringInherited fromIXYSeriesSettingsText of the series' legend value label while the cursor is not over any of its data items.
legendValueTextType
undefined|stringInherited fromISeriesSettingsText template for the item's value label in a
Legend.linkTargetType
undefined|stringDefault"_self"Inherited fromISeriesSettingsSince 5.20.7Where a data item's URL opens:
"_self"for the same window,"_blank"for a new tab, or a named window / frame. A chart embedded in an iframe usually wants"_blank"or"_top".locationXType
undefined|numberDefault0.5Inherited fromIXYSeriesSettingsHorizontal location of the data point relative to its cell.
0- beginning,0.5- middle,1- end.More info: Line series: data item location
locationYType
undefined|numberDefault0.5Inherited fromIXYSeriesSettingsVertical location of the data point relative to its cell.
0- beginning,0.5- middle,1- end.More info: Line series: data item location
lowLocationXType
undefined|numberDefault0.5Inherited fromIXYSeriesSettingsHorizontal location of the low data point relative to its cell.
0- beginning,0.5- middle,1- end.lowLocationYType
undefined|numberDefault0.5Inherited fromIXYSeriesSettingsVertical location of the low data point relative to its cell.
0- beginning,0.5- middle,1- end.lowValueXFieldType
undefined|stringInherited fromIXYSeriesSettingsData field with the low X value.
More info: Candlestick and OHLC series
lowValueXGroupedType
"open"|"close"|"low"|"high"|"average"|"sum"|"extreme"Default"low"Inherited fromIXYSeriesSettingsHow grouping combines the low X values; see
valueXGrouped.lowValueXShowType
"lowValueXWorking"|"lowValueXChange"|"lowValueXChangePercent"|"lowValueXChangeSelection"|"lowValueXChangeSelectionPercent"|"lowValueXChangePrevious"|"lowValueXChangePreviousPercent"Inherited fromIXYSeriesSettingsWhich form of the low X value the series plots; see
valueXShow.lowValueYFieldType
undefined|stringInherited fromIXYSeriesSettingsData field with the low Y value.
More info: Candlestick and OHLC series
lowValueYGroupedType
"open"|"close"|"low"|"high"|"average"|"sum"|"extreme"Default"low"Inherited fromIXYSeriesSettingsHow grouping combines the low Y values; see
valueYGrouped.lowValueYShowType
"lowValueYWorking"|"lowValueYChange"|"lowValueYChangePercent"|"lowValueYChangeSelection"|"lowValueYChangeSelectionPercent"|"lowValueYChangePrevious"|"lowValueYChangePreviousPercent"Inherited fromIXYSeriesSettingsWhich form of the low Y value the series plots; see
valueYShow.marginBottomType
undefined|numberInherited fromISpriteSettingsBottom margin in pixels.
marginLeftType
undefined|numberInherited fromISpriteSettingsLeft margin in pixels.
marginRightType
undefined|numberInherited fromISpriteSettingsRight margin in pixels.
marginTopType
undefined|numberInherited fromISpriteSettingsTop margin in pixels.
maskType
Graphics|nullInherited fromIContainerSettingsAn element whose shape clips the container's children.
More info: Containers: masks
maskBulletsType
undefined|false|trueDefaulttrueInherited fromIXYSeriesSettingsClips the series' bullets to the plot area.
maskContentType
undefined|false|trueInherited fromIContainerSettingsClips all content that goes outside the container's bounds.
maxHeightType
number|nullInherited fromISpriteSettingsMaximum allowed height in pixels.
maxWidthType
number|nullInherited fromISpriteSettingsMaximum allowed width in pixels.
minBulletDistanceType
undefined|numberInherited fromIXYSeriesSettingsHides the bullets while data items are, on average, closer than this many pixels to each other along the base axis.
More info: XY chart series: bullets
minDistanceType
undefined|numberDefault0Inherited fromILineSeriesSettingsSince 5.2.7Skips points closer than this many pixels to the last point drawn, which simplifies lines with many data points.
minHeightType
number|nullInherited fromISpriteSettingsMinimum allowed height in pixels.
minWidthType
number|nullInherited fromISpriteSettingsMinimum allowed width in pixels.
nameType
undefined|stringInherited fromISeriesSettingsName of the series.
numberFormatterType
NumberFormatter|undefinedInherited fromISpriteSettingsA
NumberFormatterto use for this element instead of the root's.More info: /v5/concepts/using-formatters/
opacityType
undefined|numberDefault1Inherited fromISpriteSettingsOpacity, from
0(transparent) to1(opaque).The theme's
"default"state hasopacity: 1, soshow(), and leaving a state that changesopacity, bring it back to1, not to a value set here. To come back to another value, set it in the"default"state too:sprite.states.create("default", { opacity: 0.5 }).openCategoryXFieldType
undefined|stringInherited fromIXYSeriesSettingsData field with the X category a column starts at, so that it can span several categories.
More info: XY chart series: data fields
openCategoryYFieldType
undefined|stringInherited fromIXYSeriesSettingsData field with the Y category a column starts at, so that it can span several categories.
More info: XY chart series: data fields
openLocationXType
undefined|numberInherited fromIXYSeriesSettingsWhere in its X axis cell the open data point sits:
0at the start,0.5in the middle,1at the end. If not set,locationXis used.openLocationYType
undefined|numberInherited fromIXYSeriesSettingsWhere in its Y axis cell the open data point sits:
0at the start,0.5in the middle,1at the end. If not set,locationYis used.openValueXFieldType
undefined|stringInherited fromIXYSeriesSettingsData field with the open X value, such as where a horizontal column starts.
More info: XY chart series: data fields
openValueXGroupedType
"open"|"close"|"low"|"high"|"average"|"sum"|"extreme"Default"open"Inherited fromIXYSeriesSettingsHow grouping combines the open X values; see
valueXGrouped.More info: Date axis: dynamic data item grouping
openValueXShowType
"openValueXWorking"|"openValueXChange"|"openValueXChangePercent"|"openValueXChangeSelection"|"openValueXChangeSelectionPercent"|"openValueXChangePrevious"|"openValueXChangePreviousPercent"Inherited fromIXYSeriesSettingsWhich form of the open X value the series plots; see
valueXShow.More info: XY chart series: data fields
openValueYFieldType
undefined|stringInherited fromIXYSeriesSettingsData field with the open Y value, such as where a column starts.
More info: XY chart series: data fields
openValueYGroupedType
"open"|"close"|"low"|"high"|"average"|"sum"|"extreme"Default"open"Inherited fromIXYSeriesSettingsHow grouping combines the open Y values; see
valueYGrouped.More info: Date axis: dynamic data item grouping
openValueYShowType
"openValueYWorking"|"openValueYChange"|"openValueYChangePercent"|"openValueYChangeSelection"|"openValueYChangeSelectionPercent"|"openValueYChangePrevious"|"openValueYChangePreviousPercent"Inherited fromIXYSeriesSettingsWhich form of the open Y value the series plots; see
valueYShow.More info: XY chart series: data fields
paddingBottomType
undefined|numberInherited fromIContainerSettingsBottom padding in pixels.
paddingLeftType
undefined|numberInherited fromIContainerSettingsLeft padding in pixels.
paddingRightType
undefined|numberInherited fromIContainerSettingsRight padding in pixels.
paddingTopType
undefined|numberInherited fromIContainerSettingsTop padding in pixels.
pointCountType
undefined|numberInherited fromIPolylineSeriesSettingsSince 5.9.0Number of points after which the shape is finished automatically, as with a triangle.
positionType
"absolute"|"relative"Default"relative"Inherited fromISpriteSettingsPositioning of the element.
"absolute"leaves the element out of its parent's layout and size: it is placed by itsxandyonly.reverseChildrenType
undefined|false|trueInherited fromIContainerSettingsSince 5.1.1Lays out the children in reverse order.
roleType
RoleInherited fromISpriteSettingsElement's role.
More info: Accessibility: roles
rotationType
undefined|numberDefault0Inherited fromISpriteSettingsRotation in degrees, clockwise, around the point set by
centerXandcenterY.saturateType
undefined|numberInherited fromISpriteSettingsSince 5.5.0Saturation.
0- grayscale1- no changes (default)>1- more saturated IMPORTANT: This setting is not supported in Safari browsers.
More info: Filters
scaleType
undefined|numberDefault1Inherited fromISpriteSettingsScale, around the point set by
centerXandcenterY: below1shrinks the element, above1enlarges it.selectorPaddingType
undefined|numberDefault10Inherited fromIDrawingSeriesSettingsSpace in pixels between a selected drawing and its selection rectangle.
sepiaType
undefined|numberInherited fromISpriteSettingsSince 5.5.0Sepia tone, from
0(no changes) to1(full sepia).IMPORTANT: This setting is not supported in Safari browsers.
More info: Filters
sequencedDelayType
undefined|numberInherited fromISeriesSettingsExtra delay in milliseconds between the animations of consecutive data items, with
sequencedInterpolation.More info: Animations: animation of series
sequencedInterpolationType
undefined|false|trueInherited fromISeriesSettingsShows and hides the data items one after another instead of all at once, including in the initial animation. Works in XY and percent series.
More info: Animations: animation of series
seriesType
XYSeriesInherited fromIDrawingSeriesSettingsThe series the drawings snap to with
snapToData, usually the main series. The drawing series also finds itsStockChartthrough it.seriesTooltipTargetType
"series"|"bullet"Default"series"Inherited fromIXYSeriesSettingsWhere the series' tooltip takes its color from: the series (on a column series, the hovered column), or the data item's first bullet.
setStateOnChildrenType
undefined|false|trueDefaultfalseInherited fromIContainerSettingsApplies every state set on the container to its children too.
More info: Containers: states
showTooltipOnType
"hover"|"always"|"click"Default"hover"Inherited fromISpriteSettingsSince 5.0.16When the element's tooltip shows:
"hover"(default) - while the pointer is over the element, or after a tap on it until a tap elsewhere."always"- all the time. To show tooltips of several elements at once, give each its ownTooltip(tooltip)."click"- after a click or tap on the element, until a click anywhere else on the page.
More info: Tooltips: sticky tooltips
snapTooltipType
undefined|false|trueInherited fromIXYSeriesSettingsLets the cursor show the nearest data item even when there is none in the date interval under the pointer. Works only with a
DateAxis.stackedType
undefined|false|trueInherited fromIXYSeriesSettingsStacks the series on the one before it in the chart's
seriesthat has the same axes and is of the same type. The first series of a stack doesn't need it set.Stacking goes by data item index, so all stacked series need the same data items (dates or categories), in the same order.
More info: XY chart series: stacked series
stackToNegativeType
undefined|false|trueInherited fromIXYSeriesSettingsWhen stacking, puts negative values on the negative values below and positive on positive, so the stack grows away from zero both ways. With
false, each value goes on the one right below it, whatever its sign.More info: XY chart series: negative value stacking
stateAnimationDurationType
undefined|numberDefault0Inherited fromIEntitySettingsHow long, in milliseconds, a switch from one state to another animates.
0switches at once.stateAnimationEasingType
$ease.EasingDefaultout(cubic)Inherited fromIEntitySettingsEasing of the animated switch from one state to another.
strokeType
ColorInherited fromISeriesSettingsSeries stroke color.
More info: XY chart series: series colors
strokeColorType
ColorInherited fromIDrawingSeriesSettingsLine color of new drawings and, when changed, of the selected ones.
strokeDasharrayType
ArrayInherited fromIDrawingSeriesSettingsDash pattern of the lines, such as
[4, 2], for new drawings and, when changed, for the selected ones.strokeGradientType
GradientInherited fromISeriesSettingsSeries stroke gradient.
More info: Gradients
strokeOpacityType
undefined|numberInherited fromIDrawingSeriesSettingsLine opacity (
0to1) of new drawings and, when changed, of the selected ones.strokeWidthType
undefined|numberInherited fromIDrawingSeriesSettingsLine width in pixels of new drawings and, when changed, of the selected ones.
tabindexOrderType
undefined|numberInherited fromISpriteSettingsAn internal order by which focusable elements will be selected within the chart.
More info: Accessibility: focusing elements
templateFieldType
undefined|stringInherited fromISpriteSettingsField in the data item's data object that holds settings for this element, applied over its template's.
More info: Template fields
themesType
ArrayInherited fromIEntitySettingsThemes applied to the element and everything inside it.
themeTagsType
ArrayInherited fromIEntitySettingsTags that theme rules can target. They also count for the element's children, so a rule can match a child by a tag of its parent.
More info: Themes
themeTagsSelfType
ArrayInherited fromIEntitySettingsTags that theme rules can target, like
themeTags, but only for this element, not its children.More info: Themes
toggleKeyType
"disabled"|"active"|"none"|undefinedInherited fromISpriteSettingsSetting that a click or tap toggles between
trueandfalse:"active"or"disabled"."none"turns toggling off.tooltipType
TooltipInherited fromISpriteSettingsThe
Tooltipto show for the element. If not set, the nearest parent's is used.tooltipDataItemType
DataItemInherited fromIXYSeriesSettingsSince 5.1.2The data item the series' tooltip currently shows, such as the one under the cursor.
tooltipHTMLType
undefined|stringInherited fromISpriteSettingsSince 5.2.11HTML content of the element's tooltip, shown in place of
tooltipText.tooltipPositionType
"fixed"|"pointer"Default"fixed"Inherited fromISpriteSettingsWhere the tooltip points:
"fixed"attooltipXandtooltipY, or"pointer"at the pointer, following it.tooltipPositionXType
"open"|"value"|"low"|"high"Default"value"Inherited fromIXYSeriesSettingsSince 5.0.16Which of the data item's X values the series' tooltip points at.
tooltipPositionYType
"open"|"value"|"low"|"high"Default"value"Inherited fromIXYSeriesSettingsSince 5.0.16Which of the data item's Y values the series' tooltip points at.
tooltipTextType
undefined|stringInherited fromISpriteSettingsText of the element's tooltip. It can hold data placeholders, such as
{value}.tooltipXType
number|PercentDefaultam5.percent(50)Inherited fromISpriteSettingsWhere on the element the tooltip points, horizontally: pixels from its left edge, or a percent of its width.
tooltipYType
number|PercentDefaultam5.percent(50)Inherited fromISpriteSettingsWhere on the element the tooltip points, vertically: pixels from its top edge, or a percent of its height.
urlFieldType
undefined|stringInherited fromISeriesSettingsSince 5.20.7A key to look up in data for a URL to open when the data item's element (a bullet, column, slice, map polygon or map line) is clicked. Links are off until this is set.
userDataType
anyInherited fromIEntitySettingsAny data of your own to keep with the element.
useSelectionExtremesType
undefined|false|trueInherited fromIXYSeriesSettingsSince 5.10.11Makes the value axis scale to the series' values within the visible range only, instead of all its values. Useful for stacked series.
valueFieldType
undefined|stringInherited fromISeriesSettingsA key to look up in data for a numeric value of the data item. Some series draw their elements by it; heat rules can use it too.
valueXFieldType
undefined|stringInherited fromIXYSeriesSettingsData field with the X value.
More info: XY chart series: data fields
valueXGroupedType
"open"|"close"|"low"|"high"|"average"|"sum"|"extreme"Default"close"Inherited fromIXYSeriesSettingsHow a
DateAxiswithgroupDatacombines the X values of the data items it groups into one:"open"takes the first,"close"the last,"extreme"the one farthest from zero, and the rest as named.More info: Date axis: dynamic data item grouping
valueXShowType
"valueXWorking"|"valueXChange"|"valueXChangePercent"|"valueXChangeSelection"|"valueXChangeSelectionPercent"|"valueXChangePrevious"|"valueXChangePreviousPercent"|"valueXTotal"|"valueXTotalPercent"|"valueXSum"Default"valueXWorking"Inherited fromIXYSeriesSettingsWhich form of the X value the series plots on a
ValueAxis: the value itself ("valueXWorking"), or one worked out from it, such as its change since the first visible data item ("valueXChangeSelection") or its percent of the total ("valueXTotalPercent").More info: XY chart series: data fields
valueYFieldType
undefined|stringInherited fromIXYSeriesSettingsData field with the Y value.
More info: XY chart series: data fields
valueYGroupedType
"open"|"close"|"low"|"high"|"average"|"sum"|"extreme"Default"close"Inherited fromIXYSeriesSettingsHow a
DateAxiswithgroupDatacombines the Y values of the data items it groups into one:"open"takes the first,"close"the last,"extreme"the one farthest from zero, and the rest as named.More info: Date axis: dynamic data item grouping
valueYShowType
"valueYWorking"|"valueYChange"|"valueYChangePercent"|"valueYChangeSelection"|"valueYChangeSelectionPercent"|"valueYChangePrevious"|"valueYChangePreviousPercent"|"valueYTotal"|"valueYTotalPercent"|"valueYSum"Default"valueYWorking"Inherited fromIXYSeriesSettingsWhich form of the Y value the series plots on a
ValueAxis: the value itself ("valueYWorking"), or one worked out from it, such as its change since the first visible data item ("valueYChangeSelection") or its percent of the total ("valueYTotalPercent").More info: XY chart series: data fields
verticalScrollbarType
ScrollbarInherited fromIContainerSettingsA
Scrollbarthat scrolls the content vertically when it does not fit in the container.More info: Containers: scrollbar
visibleType
undefined|false|trueDefaulttrueInherited fromISpriteSettingsWhether the element is shown. Unlike
show()andhide(), it does not animate.wheelableType
undefined|false|trueInherited fromISpriteSettingsMakes the element receive mouse wheel events. While the pointer is over it, the wheel no longer scrolls the page.
widthType
number|Percent|nullInherited fromISpriteSettingsWidth in pixels, or a
Percentof the parent's inner width. In a horizontal layout, a percent width is a share of the width the other children leave.xType
number|Percent|nullInherited fromISpriteSettingsX position in the parent: pixels from its left edge, or a
Percentof its inner width, measured from inside its left padding.xAxisType
DateAxisInherited fromIDrawingSeriesSettingsThe date axis the drawings' points are placed on.
yType
number|Percent|nullInherited fromISpriteSettingsY position in the parent: pixels from its top edge, or a
Percentof its inner height, measured from inside its top padding.yAxisType
ValueAxisInherited fromIDrawingSeriesSettingsThe value axis the drawings' points are placed on.
Private settings
These are read-only settings accessible from a CalloutSeries object using its getPrivate() method. Read about private settings.
169 inherited items
adjustedStartIndexRead onlyType
undefined|numberInherited fromISeriesPrivateallowChangeSnapRead onlyType
undefined|false|trueInherited fromIDrawingSeriesPrivatebaseValueSeriesRead onlyType
SeriesInherited fromISeriesPrivatecustomValueAbsoluteSumRead onlyType
undefined|numberInherited fromISeriesPrivatecustomValueAverageRead onlyType
undefined|numberInherited fromISeriesPrivatecustomValueCloseRead onlyType
undefined|numberInherited fromISeriesPrivatecustomValueCountRead onlyType
undefined|numberInherited fromISeriesPrivatecustomValueHighRead onlyType
undefined|numberInherited fromISeriesPrivatecustomValueLowRead onlyType
undefined|numberInherited fromISeriesPrivatecustomValueOpenRead onlyType
undefined|numberInherited fromISeriesPrivatecustomValueSumRead onlyType
undefined|numberInherited fromISeriesPrivatedoNotUpdateLegendRead onlyType
undefined|false|trueInherited fromIXYSeriesPrivateendIndexRead onlyType
undefined|numberInherited fromISeriesPrivatefocusableRead onlyType
undefined|false|trueInherited fromISpritePrivateSince 5.3.16If set to
false, its tabindex will be set to -1, so it does not get focused with TAB, regardless whether its public settingfocusableis set totrue.highValueXAbsoluteSumRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueXAbsoluteSumSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueXAverageRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueXAverageSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueXCloseRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueXCloseSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueXCountRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueXCountSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueXhighRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueXHighRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueXhighSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueXHighSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueXLowRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueXLowSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueXSumRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueXSumSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueYAbsoluteSumRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueYAbsoluteSumSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueYAverageRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueYAverageSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueYCloseRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueYCloseSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueYCountRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueYCountSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueYhighRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueYHighRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueYhighSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueYHighSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueYLowRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueYLowSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueYSumRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehighValueYSumSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatehtmlElementRead onlyType
HTMLDivElementInherited fromIContainerPrivateThe
<div>element that holds the container'shtmlcontent.htmlElementWrapperRead onlyType
HTMLDivElementInherited fromIContainerPrivateSince 5.11.2A wrapper
<div>forhtmlElement.inputRead onlyType
HTMLTextAreaElementInherited fromILabelSeriesPrivateinputContainerRead onlyType
HTMLDivElementInherited fromILabelSeriesPrivatelabelRead onlyType
EditableLabelInherited fromILabelSeriesPrivatelastTooltipCoordsRead onlyType
IPointInherited fromISpritePrivateSince 5.11.3The last point the tooltip was shown at, so it is not shown again at the same place.
lowValueXAbsoluteSumRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueXAbsoluteSumSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueXAverageRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueXAverageSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueXCloseRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueXCloseSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueXCountRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueXCountSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueXHighRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueXHighSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueXlowRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueXLowRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueXlowSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueXLowSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueXSumRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueXSumSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueYAbsoluteSumRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueYAbsoluteSumSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueYAverageRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueYAverageSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueYCloseRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueYCloseSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueYCountRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueYCountSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueYHighRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueYHighSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueYlowRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueYLowRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueYlowSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueYLowSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueYSumRead onlyType
undefined|numberInherited fromIXYSeriesPrivatelowValueYSumSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatemaxXRead onlyType
undefined|numberInherited fromIXYSeriesPrivatemaxYRead onlyType
undefined|numberInherited fromIXYSeriesPrivateminXRead onlyType
undefined|numberInherited fromIXYSeriesPrivateminYRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueXAbsoluteSumRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueXAbsoluteSumSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueXAverageRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueXAverageSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueXCloseRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueXCloseSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueXCountRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueXCountSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueXHighRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueXHighSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueXLowRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueXLowSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueXOpenRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueXOpenSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueXSumRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueXSumSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueYAbsoluteSumRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueYAbsoluteSumSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueYAverageRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueYAverageSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueYCloseRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueYCloseSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueYCountRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueYCountSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueYHighRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueYHighSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueYLowRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueYLowSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueYOpenRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueYOpenSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueYSumRead onlyType
undefined|numberInherited fromIXYSeriesPrivateopenValueYSumSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivateoutOfSelectionRead onlyType
undefined|false|trueInherited fromIXYSeriesPrivateselectionMaxXRead onlyType
undefined|numberInherited fromIXYSeriesPrivateselectionMaxYRead onlyType
undefined|numberInherited fromIXYSeriesPrivateselectionMinXRead onlyType
undefined|numberInherited fromIXYSeriesPrivateselectionMinYRead onlyType
undefined|numberInherited fromIXYSeriesPrivateshowingTooltipRead onlyType
undefined|false|trueInherited fromISpritePrivatetruewhile the element shows its tooltip.startIndexRead onlyType
undefined|numberInherited fromISeriesPrivatetooltipTargetRead onlyType
GraphicsInherited fromISpritePrivateAn element whose tooltip point and colors the tooltip uses, in place of this element's.
trustBoundsRead onlyType
undefined|false|trueInherited fromISpritePrivateSince 5.5.0Checks that the pointer is within the element's bounds before dispatching
"pointerover". This prevents ghost tooltips that sometimes appear while the pointer moves over interactive elements.It is
trueby default onRectangleandCircle.valueAbsoluteSumRead onlyType
undefined|numberInherited fromISeriesPrivateSum of the absolute values of all data items (with
calculateAggregates).valueAverageRead onlyType
undefined|numberInherited fromISeriesPrivateAverage of all data items' values (with
calculateAggregates).valueCloseRead onlyType
undefined|numberInherited fromISeriesPrivateValue of the last data item that has one (with
calculateAggregates).valueCountRead onlyType
undefined|numberInherited fromISeriesPrivateNumber of data items with a value (with
calculateAggregates).valueHighRead onlyType
undefined|numberInherited fromISeriesPrivateHighest value of all data items (with
calculateAggregates).valueLowRead onlyType
undefined|numberInherited fromISeriesPrivateLowest value of all data items (with
calculateAggregates).valueOpenRead onlyType
undefined|numberInherited fromISeriesPrivateValue of the first data item that has one (with
calculateAggregates).valueSumRead onlyType
undefined|numberInherited fromISeriesPrivateSum of all data items' values (with
calculateAggregates).valueXAbsoluteSumRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueXAbsoluteSumSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueXAverageRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueXAverageSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueXCloseRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueXCloseSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueXCountRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueXCountSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueXHighRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueXHighSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueXLowRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueXLowSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueXOpenRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueXOpenSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueXSumRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueXSumSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueYAbsoluteSumRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueYAbsoluteSumSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueYAverageRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueYAverageSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueYCloseRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueYCloseSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueYCountRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueYCountSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueYHighRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueYHighSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueYLowRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueYLowSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueYOpenRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueYOpenSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueYSumRead onlyType
undefined|numberInherited fromIXYSeriesPrivatevalueYSumSelectionRead onlyType
undefined|numberInherited fromIXYSeriesPrivate
Properties
classNameStaticType
stringDefault"CalloutSeries"classNamesStaticType
ArrayDefaultLabelSeries.classNames.concat([CalloutSeries.className])
27 inherited items
adaptersType
AdaptersDefaultnew Adapters(this)Inherited fromEntityaxisRangesType
ListDefaultnew List()Inherited fromXYSeriesAxis ranges of the series, added with
createAxisRange().More info: Axis ranges
bulletsType
ListDefaultnew List()Inherited fromSeriesFunctions that make the series' bullets: each is called for every data item and returns a
Bullet, or nothing for no bullet.More info: Bullets
bulletsContainerType
ContainerDefaultContainer.new(this._root, {width:p100, height:p100, position:"absolute"})._markC("width", "height", "position")Inherited fromSeriesThe
Containerthat holds the series' bullets.chartchildrenType
ChildrenDefaultnew Children(this)Inherited fromContainerThe container's child elements.
circlesType
ListTemplateDefaultthis.addDisposer(new ListTemplate( Template.new({}), () => Circle._new(this._root, { }, [this.circles.template]), ))Inherited fromDrawingSeriesInner circles of the grips.
dataType
ListDataInherited fromComponentThe component's data: a list of data objects, each made into a data item.
More info: Data
dataItemType
DataItem|undefinedInherited fromSpriteThe element's
DataItem, or, if it has none, its nearest parent's.NOTE: data items are assigned automatically in most cases where it matters. Set one only if you know what you are doing.
dataItemsType
ArrayInherited fromComponentThe component's data items.
enableDisposeType
booleanDefaulttrueInherited fromSettingsSet to
falseto makedispose()do nothing.eventsType
SpriteEventDispatcherInherited fromSpritefillsType
ListTemplateDefaultnew ListTemplate<Graphics>Inherited fromLineSeriesFills below the line segments. They are hidden by default: set
visibleandfillOpacityonfills.templateto show them.gripsType
ListTemplateDefaultthis.addDisposer(new ListTemplate( Template.new({}), () => Container._new(this._root, { themeTags: ["grip"], setStateOnChildren: true, draggable: true }, [this.grips.template]), ))Inherited fromDrawingSeriesGrips on the drawings' points, which can be dragged to reshape them.
initedType
booleanDefaultfalseInherited fromComponentBecomes
trueafter the component's first update.mainContainerType
ContainerDefaultContainer.new()Inherited fromXYSeriesContainer that holds the series' elements, such as its lines or columns.
mainDataItemsType
ArrayInherited fromXYSeriesThe series' original data items, before any grouping by a
DateAxis.outerCirclesType
ListTemplateDefaultthis.addDisposer(new ListTemplate( Template.new({}), () => Circle._new(this._root, { themeTags: ["outline"] }, [this.outerCircles.template]), ))Inherited fromDrawingSeriesOuter circles of the grips.
parentType
Container|undefinedInherited fromSpriteParent
Containerof this element.rootType
RootInherited fromEntitySince 5.0.6The
Rootthe object belongs to.selectorsType
ListTemplateDefaultthis.addDisposer(new ListTemplate( Template.new({}), () => Rectangle._new(this._root, { themeTags: ["selector"] }, [this.selectors.template]), ))Inherited fromDrawingSeriesRectangles drawn around the selected drawings.
spriteResizerType
SpriteResizerInherited fromLabelSeriesThe chart's
SpriteResizer, which resizes and rotates labels.statesstrokesType
ListTemplateDefaultnew ListTemplate<Graphics>Inherited fromLineSeriesLine segments of the series. Configure them all, existing ones included, through
strokes.template.templateType
Template|undefinedInherited fromEntityA
Templateapplied to the object. Its settings apply where the object has none set of its own.uidType
numberDefault++counterInherited fromSettingsA unique number, given to each object as it is created.
virtualParent
Methods
98 inherited items
addBullet(dataItem:DataItem,
bullet:Bullet)Returns
voidInherited fromSeriesSince 5.6.0Adds a bullet to one data item. Unlike
series.bullets, it takes aBulletinstance, not a function.More info: Bullets: adding directly to data item
allChildren()Returns
ArrayInherited fromContainerReturns all children, including the background, vertical scrollbar and mask.
animate(options:AnimationOptions)Returns
AnimationInherited fromSettingsAnimates a setting from its current value (or
from) toto. The setting jumps tofromat once. Withduration0, or no value to start from, it is set totoat once and the returned animation is already stopped.More info: Animations: animating settings
appear(duration?:undefined|number,
delay?:undefined|number)Returns
PromiseInherited fromSpritePlays the reveal animation: hides the element at once, then shows it, whether it was hidden or not.
cancelDrawing()Returns
voidInherited fromPolylineSeriesSince 5.9.0Cancels the drawing in progress, deleting it.
clearDrawings()Returns
voidInherited fromPolylineSeriescompositeOpacity()Returns
numberInherited fromSpriteSince 5.2.11Returns the element's opacity multiplied by those of all its parents.
compositeRotation()Returns
numberInherited fromSpriteSince 5.9.2Returns the element's rotation plus those of all its parents, in degrees.
compositeScale()Returns
numberInherited fromSpriteSince 5.9.2Returns the element's scale multiplied by those of all its parents.
contentHeight()Returns
numberInherited fromContainercontentWidth()Returns
numberInherited fromContainercreateAxisRange(axisDataItem:DataItem)Returns
IXYSeriesAxisRangeInherited fromXYSeriesAdds an axis range to the series and returns it. Make its data item with the axis's
makeDataItem().More info: Axis ranges
deleteDrawing(id:string)Returns
voidInherited fromDrawingSeriesSince 5.9.0Deletes a drawing of this series by its ID.
deleteSelected()Returns
voidInherited fromDrawingSeriesSince 5.9.0Deletes the selected drawings of this series.
depth()Returns
numberInherited fromSpriteReturns how deep the element is in the tree: the number of parents it has.
disableDrawing()Returns
voidInherited fromPolylineSeriesdisableErasing()Returns
voidInherited fromDrawingSeriesTurns erasing off.
dispose()Returns
voidInherited fromSettingsDisposes the object, freeing everything it holds. A disposed object can't be used again.
disposeDataItem(dataItem:DataItem)Returns
voidInherited fromLabelSeriesdisposeIndex(index:number)Returns
voidInherited fromDrawingSeriesSince 5.7.7Deletes the drawing at an index.
eachChildren(f: (child:Sprite) =>void)Returns
voidInherited fromContainerCalls
ffor each child, including the background, vertical scrollbar and mask.enableDrawing()Returns
voidInherited fromDrawingSeriesTurns drawing on: the pointer on the plot area draws new drawings.
enableDrawingSelection(value:boolean)Returns
voidInherited fromDrawingSeriesenableErasing()Returns
voidInherited fromDrawingSeriesTurns erasing on: a click on a drawing deletes it.
endIndex()Returns
numberInherited fromDrawingSeriesget(key:Key,
fallback:F)Returns
NonNullable|FInherited fromEntityReturns the value of setting
key, run through any adapters, orfallbackif it is not set.More info: Settings
getContext(id:string)Returns
anyInherited fromDrawingSeriesReturns the data context of a drawing, found by its ID.
getDataItemById(id:string)Returns
DataItem|undefinedInherited fromComponentReturns the data item whose
idmatches, if any.getDateFormatter()Returns
DateFormatterInherited fromSpriteReturns the
DateFormatterof the element: its owndateFormatter, or else the one of theRoot.More info: /v5/concepts/using-formatters/
getDurationFormatter()Returns
DurationFormatterInherited fromSpriteReturns the
DurationFormatterof the element: its owndurationFormatter, or else the one of theRoot.More info: /v5/concepts/using-formatters/
getIndex(id:string)Returns
number|nullInherited fromDrawingSeriesSince 5.8.4Returns the index of the drawing with an ID, or
nullif there is none.getNumberFormatter()Returns
NumberFormatterInherited fromSpriteReturns the
NumberFormatterof the element: its ownnumberFormatter, or else the one of theRoot.More info: /v5/concepts/using-formatters/
getTooltip()Returns
Tooltip|undefinedInherited fromSpriteReturns the element's
Tooltip: its owntooltip, or else the nearest parent's.has(key:Key)Returns
booleanInherited fromSettingsReturns
trueif settingkeyis set.More info: Settings
height()Returns
numberInherited fromSpriteReturns the element's height in pixels.
hide(duration?:undefined|number)Returns
PromiseInherited fromXYSeriesHides the series.
hideDataItem(dataItem:DataItem,
duration?:undefined|number)Returns
PromiseInherited fromXYSeriesHides a data item, animating its values to the value axis's base value.
hideTooltip()Returns
Promise|undefinedInherited fromXYSerieshover()Returns
voidInherited fromSpriteHovers the element as if the pointer were over it: applies its hover state and shows its tooltip.
indexToDrawingId(index:number)Returns
string|undefinedInherited fromDrawingSeriesReturns the ID of the drawing at an index.
innerHeight()Returns
numberInherited fromContainerReturns the container's height without padding, in pixels.
innerWidth()Returns
numberInherited fromContainerReturns the container's width without padding, in pixels.
isDisposed()Returns
booleanInherited fromSettingsReturns
trueif the object has been disposed.isDragging()Returns
booleanInherited fromSpriteReturns
truewhile the element is being dragged.isFocus()Returns
booleanInherited fromSpriteReturns
trueif this element does currently have focus.isHidden()Returns
booleanInherited fromSpriteReturns
trueif the element was hidden withhide(), even while its hiding animation still plays. For thevisiblesetting, useisVisible().isHiding()Returns
booleanInherited fromSpriteReturns
truewhile the element's hiding animation plays.isHover()Returns
booleanInherited fromSpriteReturns
trueif the pointer is over the element.isShowing()Returns
booleanInherited fromSpriteReturns
truewhile the element's showing animation plays.isType(type:string)Returns
thisInherited fromEntityReturns
trueif the object is of classtypeor extends it.isVisible()Returns
booleanInherited fromSpriteReturns
falseif either the public or the private settingvisibleisfalse, orforceHiddenistrue.isVisibleDeep()Returns
booleanInherited fromSpriteSince 5.2.7Same as
isVisible(), except it checks all ascendants, too.makeDataItem(data:IComponentDataItem,
dataContext?:any)Returns
DataItemInherited fromComponentCreates and processes a data item, without adding it to
dataItems.markDirtyDrawings()Returns
voidInherited fromDrawingSeriesMakes the
StockChartdispatchdrawingsupdated.markDirtyKey(key:Key)Returns
voidInherited fromSpriteMarks a setting as changed, so the element reads it again, running its adapters, on the next frame.
markDirtyValues(_dataItem?:DataItem)Returns
voidInherited fromComponentSince 5.0.21Makes the component redraw from its data on the next frame.
maxHeight()Returns
numberInherited fromSpriteReturns the most height the element may take, in pixels: its
maxHeight, a fixedheight, or else its parent's inner height.maxWidth()Returns
numberInherited fromSpriteReturns the most width the element may take, in pixels: its
maxWidth, a fixedwidth, or else its parent's inner width.new(root:Root,
settings:ITSettings,
template?:Template)StaticReturns
TInherited fromEntityCreates an instance of the class. Use it instead of
new Class().More info: Getting started: new element syntax
off(key:Key,
callback?:undefined| (value:[""], target:this, key:Key) =>void)Returns
voidInherited fromSettingsSince 5.9.2Removes a callback added with
on(). Withoutcallback, removes all of them forkey.More info: Events: settings value change
offDebounced(key:Key,
callback?:undefined| (value:[""], target:this, key:Key) =>void)Returns
voidInherited fromSettingsRemoves a callback added with
onDebounced(). Withoutcallback, removes all of them forkey.More info: Events: settings value change
offDebouncedPrivate(key:Key,
callback?:undefined| (value:[""], target:this, key:Key) =>void)Returns
voidInherited fromSettingsRemoves a callback added with
onPrivateDebounced(). Withoutcallback, removes all of them forkey.More info: Events: settings value change
offPrivate(key:Key,
callback?:undefined| (value:[""], target:this, key:Key) =>void)Returns
voidInherited fromSettingsSince 5.9.2Removes a callback added with
onPrivate(). Withoutcallback, removes all of them forkey.More info: Events: settings value change
on(key:Key,
callback: (value:[""], target:this, key:Key) =>void)Returns
IDisposerInherited fromSettingsCalls
callbackeach time the value of settingkeychanges or is removed. Setting the same value again does not call it.More info: Events: settings value change
once(key:Key,
callback: (value:[""], target:this, key:Key) =>void)Returns
IDisposerInherited fromSettingsSince 5.20.4Like
on(), but the callback is removed after it is called once.More info: Events: settings value change
onceDebounced(key:Key,
callback: (value:[""], target:this, key:Key) =>void,
debounceDelay:number)Returns
IDisposerInherited fromSettingsSince 5.20.4Like
onDebounced(), but the callback is removed after it is called once.More info: Events: settings value change
onDebounced(key:Key,
callback: (value:[""], target:this, key:Key) =>void,
debounceDelay:number)Returns
IDisposerInherited fromSettingsLike
on(), but waits until settingkeyhas not changed fordebounceDelaymilliseconds, then callscallbackonce with the latest value.More info: Events: settings value change
onPrivate(key:Key,
callback: (value:[""], target:this, key:Key) =>void)Returns
IDisposerInherited fromSettingsCalls
callbackeach time the value of private settingkeychanges.More info: Events: settings value change
onPrivateDebounced(key:Key,
callback: (value:[""], target:this, key:Key) =>void,
debounceDelay:number)Returns
IDisposerInherited fromSettingsLike
onPrivate(), but waits until private settingkeyhas not changed fordebounceDelaymilliseconds, then callscallbackonce with the latest value.More info: Events: settings value change
openUrl(dataItem:DataItem)Returns
voidInherited fromSeriesSince 5.20.7Opens a data item's URL in the window set by
linkTarget.Override to intercept links, e.g. in an editor.
pushDataItem(data:IComponentDataItem,
dataContext?:any)Returns
DataItemInherited fromComponentCreates a data item straight from settings, not from data, and adds it to the component's data items.
remove(key:Key)Returns
voidInherited fromEntityRemoves the value set for setting
key. The setting goes back to the value from a theme or template, if one has it.More info: Settings
removeAll()Returns
voidInherited fromSettingsRemoves all settings, as
remove()does for each one.More info: Settings
resetExtremes()Returns
voidInherited fromXYSeriesClears the series' cached minimum and maximum values, which the axes use for their scale.
scrollToChild(child:Sprite)Returns
voidInherited fromContainerSince 5.10.5Scrolls the container so that the child comes into view, if it is out of view. Works only on a container with a
verticalScrollbar.selectDrawing(id:string,
keepSelection?:undefined|false|true)Returns
voidInherited fromDrawingSeriesSince 5.9.0Selects a drawing of this series by its ID. Works only while drawing selection is on (
drawingSelectionEnabledof theStockChart).set(key:Key,
value:Value)Returns
ValueInherited fromEntitySets setting
keytovalueand returnsvalue. A value set this way overrides themes and templates, and stops any animation of the setting.More info: Settings
setAll(settings:Partial)Returns
voidInherited fromSettingsSets several settings at once, from an object of key-value pairs.
More info: Settings
setInteractive(value:boolean)Returns
voidInherited fromDrawingSeriesMakes the drawings react to the pointer, or not.
setTimeout(fn: () =>void,
delay:number)Returns
IDisposerInherited fromEntityCalls
fnafterdelaymilliseconds, unless the object is disposed first. Disposing the returned disposer cancels it.show(duration?:undefined|number)Returns
PromiseInherited fromXYSeriesShows the series.
showDataItem(dataItem:DataItem,
duration?:undefined|number)Returns
PromiseInherited fromXYSeriesShows a data item, animating its values back from the base value.
showDataItemTooltip(dataItem:DataItem|undefined)Returns
voidInherited fromXYSeriesShows the series' tooltip for a data item, and shows that data item in the legend.
showTooltip(point?:IPoint)Returns
Promise|undefinedInherited fromSpriteShows the element's
Tooltip. Does nothing if the element has notooltipTextortooltipHTML.startIndex()Returns
numberInherited fromDrawingSeriestoBack()Returns
voidInherited fromSpriteMoves the element to the start of its parent's children, so it is drawn under its siblings, or, in a layout, placed first.
toFront()Returns
voidInherited fromSpriteMoves the element to the end of its parent's children, so it is drawn over its siblings, or, in a layout, placed last.
toggleDrawing(enabled?:undefined|false|true)Returns
voidInherited fromLabelSeriestoGlobal(point:IPoint)Returns
IPointInherited fromSpriteConverts a point within the element to a point relative to the root.
toLocal(point:IPoint)Returns
IPointInherited fromSpriteConverts a point relative to the root to a point within the element.
unhover()Returns
voidInherited fromSpriteEnds a hover, as if the pointer left the element: hides its tooltip and takes it out of its hover state.
unselectAllDrawings()Returns
numberInherited fromDrawingSeriesSince 5.9.0Unselects all selected drawings of the whole
StockChart, not only of this series.unselectDrawing(id:string)Returns
voidInherited fromDrawingSeriesSince 5.9.0Unselects a drawing of this series by its ID.
unselectDrawings()Returns
numberInherited fromDrawingSeriesSince 5.9.0Unselects the selected drawings of this series.
updateData(data:Array)Returns
voidInherited fromComponentUpdates the data in place, keeping the existing data items: each object's values go into the data item at the same index. Extra objects are added as new data items, and data items beyond the new data are removed.
width()Returns
numberInherited fromSpriteReturns the element's width in pixels.
x()Returns
numberInherited fromSpriteReturns the element's X position in pixels, relative to its parent, without
dx.y()Returns
numberInherited fromSpriteReturns the element's Y position in pixels, relative to its parent, without
dy.
Events
Add event handlers to CalloutSeries object using its events.on() method. Read about adding event handlers.
23 inherited items
blurParam { type:
"blur", target:CalloutSeries, originalEvent:FocusEvent, target:Sprite}Inherited fromISpriteEventsInvoked when element loses focus.
boundschangedParam { type:
"boundschanged", target:CalloutSeries}Inherited fromISpriteEventsThe element's bounds changed.
clickParam { type:
"click", target:CalloutSeries} &ISpritePointerEventInherited fromISpriteEventsThe element was clicked or tapped. A press and release more than 5 pixels apart is not a click.
dataitemchangedParam { type:
"dataitemchanged", target:CalloutSeries, newDataItem:DataItem|undefined, oldDataItem:DataItem|undefined}Inherited fromISpriteEventsThe element's data item changed.
datasetchangedParam { type:
"datasetchanged", target:CalloutSeries, id:string}Inherited fromXYSeriesSince 5.1.1The series switched to another data set, such as data grouped by another interval on a
DateAxis.idnames the new set.datavalidatedParam { type:
"datavalidated", target:CalloutSeries}Inherited fromIComponentEventsThe component's data changed and was processed.
dblclickParam { type:
"dblclick", target:CalloutSeries} &ISpritePointerEventInherited fromISpriteEventsThe element was double-clicked or double-tapped. Also dispatched on its parents.
draggedParam { type:
"dragged", target:CalloutSeries} &ISpritePointerEventInherited fromISpriteEventsThe element moved while being dragged.
dragstartParam { type:
"dragstart", target:CalloutSeries} &ISpritePointerEventInherited fromISpriteEventsDragging of the element started: the pointer moved more than 5 pixels after pressing on it.
dragstopParam { type:
"dragstop", target:CalloutSeries} &ISpritePointerEventInherited fromISpriteEventsDragging of the element stopped.
focusParam { type:
"focus", target:CalloutSeries, originalEvent:FocusEvent, target:Sprite}Inherited fromISpriteEventsInvoked when element gains focus.
globalpointerdownParam { type:
"globalpointerdown", target:CalloutSeries} &ISpritePointerEventInherited fromISpriteEventsA pointer button was pressed, or a touch started, anywhere in the window, even outside the chart.
globalpointermoveParam { type:
"globalpointermove", target:CalloutSeries} &ISpritePointerEventInherited fromISpriteEventsThe pointer moved anywhere in the window, even outside the chart.
globalpointerupParam { type:
"globalpointerup", target:CalloutSeries} &ISpritePointerEventInherited fromISpriteEventsA pointer button was released, or a touch ended, anywhere in the window, even outside the chart.
middleclickParam { type:
"middleclick", target:CalloutSeries} &ISpritePointerEventInherited fromISpriteEventsThe element was clicked with the middle mouse button.
pointerdownParam { type:
"pointerdown", target:CalloutSeries} &ISpritePointerEventInherited fromISpriteEventsA pointer button was pressed, or a touch started, over the element. Also dispatched on its parents.
pointeroutParam { type:
"pointerout", target:CalloutSeries} &ISpritePointerEventInherited fromISpriteEventsThe pointer left the element.
pointeroverParam { type:
"pointerover", target:CalloutSeries} &ISpritePointerEventInherited fromISpriteEventsThe pointer moved over the element.
pointerupParam { type:
"pointerup", target:CalloutSeries} &ISpritePointerEventInherited fromISpriteEventsA pointer button was released, or a touch ended, over the element.
positionchangedParam { type:
"positionchanged", target:CalloutSeries}Inherited fromISpriteEventsThe element's position changed.
rightclickParam { type:
"rightclick", target:CalloutSeries} &ISpritePointerEventInherited fromISpriteEventsThe element was clicked with the right mouse button.
valueschangedParam { type:
"valueschanged", target:CalloutSeries}Inherited fromIComponentEventsValues of the component's data items changed.
wheelParam { type:
"wheel", target:CalloutSeries, originalEvent:WheelEvent, point:IPoint}Inherited fromISpriteEventsThe mouse wheel turned while the pointer was over the element. Also dispatched on its parents.