Type class
Data item
DrawingSeries uses data items of type IDrawingSeriesDataItem
.
Sources
DrawingSeries can be used (imported) via one of the following packages.
// Import DrawingSeries import * as am5stock from "@amcharts/amcharts5/stock"; // Create DrawingSeries am5stock.DrawingSeries.new(root, { // ... config if applicable });
<!-- Load DrawingSeries --> <script src="stock.js"></script> <script> // Create DrawingSeries am5stock.DrawingSeries.new(root, { // ... config if applicable }); </script>
Inheritance
DrawingSeries extends LineSeries
.
DrawingSeries is extended by SimpleLineSeries
, PolylineSeries
, DoodleSeries
, EllipseSeries
.
Settings
Set these settings on a DrawingSeries object using its set()
and setAll()
methods.
Read about settings concept.
active # |
Type Inherited from Indicates if element is currently active. |
---|---|
autoGapCount # |
Type Default Inherited from If there are more than Click here for more info |
background # |
Type Inherited from Background element. Click here for more info |
baseAxis # |
Type Inherited from Base axis for the series. A base axis will dictate direction series plot. Click here for more info |
blur # |
Type Inherited from Apply blur filter. Ranges of values in pixels: IMPORTANT: This setting is not supported in Safari browsers. Click here for more info |
brightness # |
Type Inherited from Modifty visual brightness. Range of values: IMPORTANT: This setting is not supported in Safari browsers. Click here for more info |
calculateAggregates # |
Type Inherited from If set to Do not enable unless you are using such aggregate values in tooltips, display data fields, heat rules, or similar. |
categoryXField # |
Type Inherited from Input data field for X category. Click here for more info |
categoryYField # |
Type Inherited from Input data field for Y category. Click here for more info |
centerX # |
Type Inherited from X coordinate of the center of the element relative to itself. Center coordinates will affect placement as well as rotation pivot point. |
centerY # |
Type Inherited from Y coordinate of the center of the element relative to itself. Center coordinates will affect placement as well as rotation pivot point. |
connect # |
Type Default Inherited from If set to Click here for more info |
contrast # |
Type Inherited from Modify contrast. Range of values: IMPORTANT: This setting is not supported in Safari browsers. Click here for more info |
crisp # |
Type Default Inherited from If set to It will round x/y position so it is positioned fine "on pixel". It will also adjust NOTE: this is might not universally work, especially when set on several objects that are supposed to fit perfectly with each other. @since 5.3.0 |
cursorOverStyle # |
Type Inherited from A named mouse cursor style to show when hovering this element. Click here for more info |
customValueField # |
Type Inherited from A key to look up in data for a numeric customValue of the data item. Usually used for storing additional numeric information and heat rules. |
dateFormatter # |
Type Inherited from An instance of Click here for more info |
disabled # |
Type Inherited from Indicates if element is disabled. |
draggable # |
Type Inherited from If set to |
durationFormatter # |
Type Inherited from An instance of Click here for more info |
dx # |
Type Inherited from Horizontal shift in pixels. Can be negative to shift leftward. |
dy # |
Type Inherited from Vertical shift in pixels. Can be negative to shift upward. |
excludeFromTotal # |
Type Default Inherited from Exclude series values when calculating totals for category/interval. |
exportable # |
Type Inherited from If set to |
field # |
Type Default Value field to use when snapping data or calculating averages/regresions/etc. |
fill # |
Type Inherited from Series fill color. Click here for more info |
fillColor # |
Type Color of the fills. |
fillOpacity # |
Type Opacity of the fills (0-1). |
fillPattern # |
Type Inherited from Series fill pattern. Click here for more info |
forceHidden # |
Type Inherited from If set to |
forceInactive # |
Type Inherited from If set to @since 5.0.21 |
groupDataCallback # |
Type Inherited from A custom function to call when grouping data items. Click here for more info |
groupDataDisabled # |
Type Inherited from If set to @since 5.0.19 |
groupDataWithOriginals # |
Type Default Inherited from If set to Please note that if @since 5.1.11 |
heatRules # |
Type Inherited from A list of heat rules to apply on series elements. Click here for more info |
height # |
Type Inherited from Element's absolute height in pixels (numeric value) or relative height to parent ( |
highLocationX # |
Type Default Inherited from Horizontal location of the high data point relative to its cell. |
highLocationY # |
Type Default Inherited from Vertical location of the high data point relative to its cell. |
highValueXField # |
Type Inherited from Input data field for X high value. Click here for more info |
highValueXGrouped # |
Type Inherited from Indicates what aggregate value to use for collective data item, when aggregating X high values from several data items. |
highValueXShow # |
Type Inherited from Display data field for X high value. |
highValueYField # |
Type Inherited from Input data field for Y high value. Click here for more info |
highValueYGrouped # |
Type Inherited from Indicates what aggregate value to use for collective data item, when aggregating X high values from several data items. |
highValueYShow # |
Type Inherited from Display data field for Y low value. |
html # |
Type Inherited from HTML content of the container. Click here for more info |
hue # |
Type Inherited from Rotate HUE colors in degrees. Range of values: IMPORTANT: This setting is not supported in Safari browsers. Click here for more info |
id # |
Type Inherited from A custom string ID for the element. If set, element can be looked up via Will raise error if an element with the same ID already exists. |
idField # |
Type Inherited from A key to look up in data for an id of the data item. |
ignoreMinMax # |
Type Default Inherited from If set to |
interactive # |
Type Inherited from Should this element accept user interaction events? |
interactiveChildren # |
Type Inherited from If set to |
interpolationDuration # |
Type Inherited from A duration of the animation from one setting value to another, in milliseconds. Click here for more info |
interpolationEasing # |
Type Inherited from Easing function to use for cross setting value animations. Click here for more info |
invert # |
Type Inherited from Invert colors. Range of values: IMPORTANT: This setting is not supported in Safari browsers. Click here for more info |
isMeasured # |
Type Inherited from If set to |
layer # |
Type Inherited from Numeric layer to put element in. Elements with higher number will appear in front of the ones with lower numer. If not set, will inherit layer from its ascendants. |
layerMargin # |
Type Inherited from Margins for the layer. Can be used to make the layer larger/or smaller than default chart size. @since @5.2.39 |
layout # |
Type Inherited from A method to layout Click here for more info |
legendDataItem # |
Type Inherited from A data item representing series in a @readonly |
legendLabelText # |
Type Inherited from A text template to be used for label in legend. |
legendRangeLabelText # |
Type Inherited from Text to use for series legend label when no particular category/interval is selected. |
legendRangeValueText # |
Type Inherited from Text to use for series legend value label when no particular category/interval is selected. |
legendValueText # |
Type Inherited from A text template to be used for value label in legend. |
locationX # |
Type Default Inherited from Horizontal location of the data point relative to its cell. Click here for more info |
locationY # |
Type Default Inherited from Vertical location of the data point relative to its cell. Click here for more info |
lowLocationX # |
Type Default Inherited from Horizontal location of the low data point relative to its cell. |
lowLocationY # |
Type Default Inherited from Vertical location of the low data point relative to its cell. |
lowValueXField # |
Type Inherited from Input data field for X low value. Click here for more info |
lowValueXGrouped # |
Type Inherited from Indicates what aggregate value to use for collective data item, when aggregating X low values from several data items. |
lowValueXShow # |
Type Inherited from Display data field for X low value. |
lowValueYField # |
Type Inherited from Input data field for Y low value. Click here for more info |
lowValueYGrouped # |
Type Inherited from Indicates what aggregate value to use for collective data item, when aggregating Y low values from several data items. |
lowValueYShow # |
Type Inherited from Display data field for Y low value. |
marginBottom # |
Type Inherited from Bottom margin in pixels. |
marginLeft # |
Type Inherited from Left margin in pixels. |
marginRight # |
Type Inherited from Right margin in pixels. |
marginTop # |
Type Inherited from Top margin in pixels. |
mask # |
Type Inherited from An element to use as a container's mask (clipping region). Click here for more info |
maskBullets # |
Type Inherited from If set to |
maskContent # |
Type Inherited from If set to |
maxHeight # |
Type Inherited from Maximum allowed height in pixels. |
maxWidth # |
Type Inherited from Maximum allowed width in pixels. |
minBulletDistance # |
Type Inherited from Minimal distance between data items in pixels. If data items are closer than this, bullets are turned off to avoid overcrowding. Click here for more info |
minDistance # |
Type Default Inherited from Allows simplifying the line with many points. If set, the series will skip points that are closer than X pixels to each other. With many data points, this allows having smoother, less cluttered lines. @since 5.2.7 |
minHeight # |
Type Inherited from Minimum allowed height in pixels. |
minWidth # |
Type Inherited from Minimum allowed width in pixels. |
name # |
Type Inherited from Name of the series. |
numberFormatter # |
Type Inherited from An instance of Click here for more info |
opacity # |
Type Inherited from Opacity. 0 - fully transparent; 1 - fully opaque. |
openCategoryXField # |
Type Inherited from Display data field for X category. Click here for more info |
openCategoryYField # |
Type Inherited from Display data field for Y category. Click here for more info |
openLocationX # |
Type Default Inherited from Horizontal location of the open data point relative to its cell. |
openLocationY # |
Type Default Inherited from Vertical location of the open data point relative to its cell. |
openValueXField # |
Type Inherited from Input data field for X open value. Click here for more info |
openValueXGrouped # |
Type Inherited from Display data field for Y open value. Click here for more info |
openValueXShow # |
Type Inherited from Display data field for X open value. Click here for more info |
openValueYField # |
Type Inherited from Input data field for X open value. Click here for more info |
openValueYGrouped # |
Type Inherited from Display data field for Y open value. Click here for more info |
openValueYShow # |
Type Inherited from Display data field for Y open value. Click here for more info |
paddingBottom # |
Type Inherited from Bottom padding in pixels. |
paddingLeft # |
Type Inherited from Left padding in pixels. |
paddingRight # |
Type Inherited from Right padding in pixels. |
paddingTop # |
Type Inherited from Top padding in pixels. |
position # |
Type Inherited from Positioning of the element. |
reverseChildren # |
Type Inherited from If set to @since 5.1.1 |
rotation # |
Type Inherited from Rotation in degrees. |
saturate # |
Type Inherited from Modify saturation. Range of values in pixels:
Click here for more info |
scale # |
Type Inherited from Scale. Setting to a value less than 1 will shrink object. |
selectorPadding # |
Type Default Padding of a selector rectangle (how many pixels will be added to each side around the drawing when it's selected) |
sepia # |
Type Inherited from Apply sepia filter. Range of values: IMPORTANT: This setting is not supported in Safari browsers. Click here for more info |
sequencedDelay # |
Type Inherited from A delay in milliseconds to wait before starting animation of next data item. Click here for more info |
sequencedInterpolation # |
Type Inherited from If set to Click here for more info |
series # |
Type
|
seriesTooltipTarget # |
Type Default Inherited from Whether series' tooltip should inherit its color from series or its first bullet. |
setStateOnChildren # |
Type Inherited from If set to Click here for more info |
showTooltipOn # |
Type Default Inherited from Defines when tooltip is shown over the element. Available options:
Click here for more info |
snapTooltip # |
Type Inherited from If set to This setting is relevant only if |
stackToNegative # |
Type Inherited from Whether to stack negative values from zero ( Click here for more info |
stacked # |
Type Inherited from If set to NOTE: for series stack properly, all stacked series must have same number of data items with the same timestamp/category. Click here for more info |
stateAnimationDuration # |
Type Inherited from Duration of transition from one state to another. |
stateAnimationEasing # |
Type Inherited from Easing of transition from one state to another. |
stroke # |
Type Inherited from Series stroke color. Click here for more info |
strokeColor # |
Type Color of the lines/borders. |
strokeDasharray # |
Type Dash information for lines/borders. |
strokeOpacity # |
Type Opacity of the lines/borders (0-1). |
strokeWidth # |
Type Width of the lines/borders in pixels. |
templateField # |
Type Inherited from Allows binding element's settings to data. Click here for more info |
themeTags # |
Type Inherited from Tags which can be used by the theme rules. Click here for more info |
themeTagsSelf # |
Type Inherited from Tags which can be used by the theme rules. These tags only apply to this object, not any children. Click here for more info |
themes # |
Type Inherited from A list of themes applied to the element. |
toggleKey # |
Type Inherited from If set, element will toggle specified boolean setting between |
tooltip # |
Type Inherited from
|
tooltipDataItem # |
Type Inherited from A @since 5.1.2 |
tooltipHTML # |
Type Inherited from HTML content to show in a tooltip when hovered. @since 5.2.11 |
tooltipPosition # |
Type Inherited from Tooltip position. |
tooltipPositionX # |
Type Default Inherited from Indicates horizontal position at which to show series' tooltip at. @since 5.0.16 |
tooltipPositionY # |
Type Default Inherited from Indicates vertical position at which to show series' tooltip at. @since 5.0.16 |
tooltipText # |
Type Inherited from Text to show in a tooltip when hovered. |
tooltipX # |
Type Inherited from Tooltip pointer X coordinate relative to the element itself. |
tooltipY # |
Type Inherited from Tooltip pointer Y coordinate relative to the element itself. |
userData # |
Type Inherited from A storage for any custom user data that needs to be associated with the element. |
valueField # |
Type Inherited from A key to look up in data for a numeric value of the data item. Some series use it to display its elements. It can also be used in heat rules. |
valueXField # |
Type Inherited from Input data field for X value. Click here for more info |
valueXGrouped # |
Type Inherited from Indicates what aggregate value to use for collective data item, when aggregating X values from several data items. Click here for more info |
valueXShow # |
Type Inherited from Display data field for X value. Click here for more info |
valueYField # |
Type Inherited from Input data field for Y value. Click here for more info |
valueYGrouped # |
Type Inherited from Indicates what aggregate value to use for collective data item, when aggregating X values from several data items. Click here for more info |
valueYShow # |
Type Inherited from Display data field for Y value. Click here for more info |
verticalScrollbar # |
Type Inherited from Setting this to an instance of Click here for more info |
visible # |
Type Inherited from Is element visible? |
wheelable # |
Type Inherited from If set to |
width # |
Type Inherited from Element's absolute width in pixels (numeric value) or relative width to parent ( |
x # |
Type Inherited from X position relative to parent. |
xAxis # |
Type X-Axis. |
y # |
Type Inherited from Y position relative to parent. |
yAxis # |
Type Y-axis. |
There are 145 inherited items currently hidden from this list. |
Private settings
These are read-only settings accessible from a DrawingSeries object using its getPrivate()
method.
Read about private settings.
adjustedStartIndex # |
Read only
Type Inherited from |
---|---|
allowChangeSnap # |
Read only
Type |
baseValueSeries # |
Read only
Type Inherited from |
customValueAbsoluteSum # |
Read only
Type Inherited from |
customValueAverage # |
Read only
Type Inherited from |
customValueClose # |
Read only
Type Inherited from |
customValueCount # |
Read only
Type Inherited from |
customValueHigh # |
Read only
Type Inherited from |
customValueLow # |
Read only
Type Inherited from |
customValueOpen # |
Read only
Type Inherited from |
customValueSum # |
Read only
Type Inherited from |
doNotUpdateLegend # |
Read only
Type Inherited from |
endIndex # |
Read only
Type Inherited from |
focusable # |
Read only
Type Inherited from If set to @since 5.3.16 |
highValueXAbsoluteSum # |
Read only
Type Inherited from |
highValueXAbsoluteSumSelection # |
Read only
Type Inherited from |
highValueXAverage # |
Read only
Type Inherited from |
highValueXAverageSelection # |
Read only
Type Inherited from |
highValueXClose # |
Read only
Type Inherited from |
highValueXCloseSelection # |
Read only
Type Inherited from |
highValueXCount # |
Read only
Type Inherited from |
highValueXCountSelection # |
Read only
Type Inherited from |
highValueXHigh # |
Read only
Type Inherited from |
highValueXHighSelection # |
Read only
Type Inherited from |
highValueXLow # |
Read only
Type Inherited from |
highValueXLowSelection # |
Read only
Type Inherited from |
highValueXSum # |
Read only
Type Inherited from |
highValueXSumSelection # |
Read only
Type Inherited from |
highValueXhigh # |
Read only
Type Inherited from |
highValueXhighSelection # |
Read only
Type Inherited from |
highValueYAbsoluteSum # |
Read only
Type Inherited from |
highValueYAbsoluteSumSelection # |
Read only
Type Inherited from |
highValueYAverage # |
Read only
Type Inherited from |
highValueYAverageSelection # |
Read only
Type Inherited from |
highValueYClose # |
Read only
Type Inherited from |
highValueYCloseSelection # |
Read only
Type Inherited from |
highValueYCount # |
Read only
Type Inherited from |
highValueYCountSelection # |
Read only
Type Inherited from |
highValueYHigh # |
Read only
Type Inherited from |
highValueYHighSelection # |
Read only
Type Inherited from |
highValueYLow # |
Read only
Type Inherited from |
highValueYLowSelection # |
Read only
Type Inherited from |
highValueYSum # |
Read only
Type Inherited from |
highValueYSumSelection # |
Read only
Type Inherited from |
highValueYhigh # |
Read only
Type Inherited from |
highValueYhighSelection # |
Read only
Type Inherited from |
htmlElement # |
Read only
Type Inherited from A |
lowValueXAbsoluteSum # |
Read only
Type Inherited from |
lowValueXAbsoluteSumSelection # |
Read only
Type Inherited from |
lowValueXAverage # |
Read only
Type Inherited from |
lowValueXAverageSelection # |
Read only
Type Inherited from |
lowValueXClose # |
Read only
Type Inherited from |
lowValueXCloseSelection # |
Read only
Type Inherited from |
lowValueXCount # |
Read only
Type Inherited from |
lowValueXCountSelection # |
Read only
Type Inherited from |
lowValueXHigh # |
Read only
Type Inherited from |
lowValueXHighSelection # |
Read only
Type Inherited from |
lowValueXLow # |
Read only
Type Inherited from |
lowValueXLowSelection # |
Read only
Type Inherited from |
lowValueXSum # |
Read only
Type Inherited from |
lowValueXSumSelection # |
Read only
Type Inherited from |
lowValueXlow # |
Read only
Type Inherited from |
lowValueXlowSelection # |
Read only
Type Inherited from |
lowValueYAbsoluteSum # |
Read only
Type Inherited from |
lowValueYAbsoluteSumSelection # |
Read only
Type Inherited from |
lowValueYAverage # |
Read only
Type Inherited from |
lowValueYAverageSelection # |
Read only
Type Inherited from |
lowValueYClose # |
Read only
Type Inherited from |
lowValueYCloseSelection # |
Read only
Type Inherited from |
lowValueYCount # |
Read only
Type Inherited from |
lowValueYCountSelection # |
Read only
Type Inherited from |
lowValueYHigh # |
Read only
Type Inherited from |
lowValueYHighSelection # |
Read only
Type Inherited from |
lowValueYLow # |
Read only
Type Inherited from |
lowValueYLowSelection # |
Read only
Type Inherited from |
lowValueYSum # |
Read only
Type Inherited from |
lowValueYSumSelection # |
Read only
Type Inherited from |
lowValueYlow # |
Read only
Type Inherited from |
lowValueYlowSelection # |
Read only
Type Inherited from |
maxX # |
Read only
Type Inherited from |
maxY # |
Read only
Type Inherited from |
minX # |
Read only
Type Inherited from |
minY # |
Read only
Type Inherited from |
openValueXAbsoluteSum # |
Read only
Type Inherited from |
openValueXAbsoluteSumSelection # |
Read only
Type Inherited from |
openValueXAverage # |
Read only
Type Inherited from |
openValueXAverageSelection # |
Read only
Type Inherited from |
openValueXClose # |
Read only
Type Inherited from |
openValueXCloseSelection # |
Read only
Type Inherited from |
openValueXCount # |
Read only
Type Inherited from |
openValueXCountSelection # |
Read only
Type Inherited from |
openValueXHigh # |
Read only
Type Inherited from |
openValueXHighSelection # |
Read only
Type Inherited from |
openValueXLow # |
Read only
Type Inherited from |
openValueXLowSelection # |
Read only
Type Inherited from |
openValueXOpen # |
Read only
Type Inherited from |
openValueXOpenSelection # |
Read only
Type Inherited from |
openValueXSum # |
Read only
Type Inherited from |
openValueXSumSelection # |
Read only
Type Inherited from |
openValueYAbsoluteSum # |
Read only
Type Inherited from |
openValueYAbsoluteSumSelection # |
Read only
Type Inherited from |
openValueYAverage # |
Read only
Type Inherited from |
openValueYAverageSelection # |
Read only
Type Inherited from |
openValueYClose # |
Read only
Type Inherited from |
openValueYCloseSelection # |
Read only
Type Inherited from |
openValueYCount # |
Read only
Type Inherited from |
openValueYCountSelection # |
Read only
Type Inherited from |
openValueYHigh # |
Read only
Type Inherited from |
openValueYHighSelection # |
Read only
Type Inherited from |
openValueYLow # |
Read only
Type Inherited from |
openValueYLowSelection # |
Read only
Type Inherited from |
openValueYOpen # |
Read only
Type Inherited from |
openValueYOpenSelection # |
Read only
Type Inherited from |
openValueYSum # |
Read only
Type Inherited from |
openValueYSumSelection # |
Read only
Type Inherited from |
outOfSelection # |
Read only
Type Inherited from |
selectionMaxX # |
Read only
Type Inherited from |
selectionMaxY # |
Read only
Type Inherited from |
selectionMinX # |
Read only
Type Inherited from |
selectionMinY # |
Read only
Type Inherited from |
showingTooltip # |
Read only
Type Inherited from Is element currently showing a tooltip? |
startIndex # |
Read only
Type Inherited from |
tooltipTarget # |
Read only
Type Inherited from An element tooltip should inherit its colors from. |
trustBounds # |
Read only
Type Inherited from If set to This helps to solve ghost tooltips problem that sometimes appear while moving the pointer over interactive objects. This is set to @since 5.5.0 |
valueAbsoluteSum # |
Read only
Type Inherited from |
valueAverage # |
Read only
Type Inherited from |
valueClose # |
Read only
Type Inherited from |
valueCount # |
Read only
Type Inherited from |
valueHigh # |
Read only
Type Inherited from |
valueLow # |
Read only
Type Inherited from |
valueOpen # |
Read only
Type Inherited from |
valueSum # |
Read only
Type Inherited from |
valueXAbsoluteSum # |
Read only
Type Inherited from |
valueXAbsoluteSumSelection # |
Read only
Type Inherited from |
valueXAverage # |
Read only
Type Inherited from |
valueXAverageSelection # |
Read only
Type Inherited from |
valueXClose # |
Read only
Type Inherited from |
valueXCloseSelection # |
Read only
Type Inherited from |
valueXCount # |
Read only
Type Inherited from |
valueXCountSelection # |
Read only
Type Inherited from |
valueXHigh # |
Read only
Type Inherited from |
valueXHighSelection # |
Read only
Type Inherited from |
valueXLow # |
Read only
Type Inherited from |
valueXLowSelection # |
Read only
Type Inherited from |
valueXOpen # |
Read only
Type Inherited from |
valueXOpenSelection # |
Read only
Type Inherited from |
valueXSum # |
Read only
Type Inherited from |
valueXSumSelection # |
Read only
Type Inherited from |
valueYAbsoluteSum # |
Read only
Type Inherited from |
valueYAbsoluteSumSelection # |
Read only
Type Inherited from |
valueYAverage # |
Read only
Type Inherited from |
valueYAverageSelection # |
Read only
Type Inherited from |
valueYClose # |
Read only
Type Inherited from |
valueYCloseSelection # |
Read only
Type Inherited from |
valueYCount # |
Read only
Type Inherited from |
valueYCountSelection # |
Read only
Type Inherited from |
valueYHigh # |
Read only
Type Inherited from |
valueYHighSelection # |
Read only
Type Inherited from |
valueYLow # |
Read only
Type Inherited from |
valueYLowSelection # |
Read only
Type Inherited from |
valueYOpen # |
Read only
Type Inherited from |
valueYOpenSelection # |
Read only
Type Inherited from |
valueYSum # |
Read only
Type Inherited from |
valueYSumSelection # |
Read only
Type Inherited from |
There are 163 inherited items currently hidden from this list. |
Properties
adapters # |
Type Default Inherited from |
---|---|
axisRanges # |
Type Default Inherited from A list of axis ranges that affect the series. Click here for more info |
bullets # |
Type Default Inherited from List of bullets to use for the series. Click here for more info |
bulletsContainer # |
Type Default Inherited from A |
chart # |
Type Inherited from |
children # |
Type Default Inherited from List of Container's child elements. |
circles # |
Type Default () => Circle._new(this._root, }, ) |
className # |
Static
Type Default |
classNames # |
Static
Type Default |
data # |
Type Inherited from Component's data. Click here for more info |
dataItem # |
Type Inherited from A NOTE: data item is being assigned automatically in most cases where it matters. Use this accessor to set data item only if you know what you're doing. |
dataItems # |
Type Inherited from A list of component's data items. |
events # |
Inherited from |
fills # |
Type Default Inherited from A |
grips # |
Type Default () => Container._new(this._root, }, ) |
inited # |
Type Default Inherited from Indicates if the component has already been initialized. |
mainContainer # |
Type Default Inherited from A |
mainDataItems # |
Type Inherited from A list of series's main (ungrouped) data items. |
outerCircles # |
Type Default () => Circle._new(this._root, }, ) |
parent # |
Type Inherited from Parent |
root # |
Type Inherited from An instance of @readonly |
selectors # |
Type Default () => Rectangle._new(this._root, }, ) |
states # |
Type Default Inherited from |
strokes # |
Type Default Inherited from A |
template # |
Type Inherited from @todo needs description |
uid # |
Type Default Inherited from Unique ID. |
There are 20 inherited items currently hidden from this list. |
Methods
addBullet( dataItem: ) |
Returns Inherited from Adds bullet directly to a data item. Please note: method accepts You should add Bullet instance, not a method like you do it on series. Click here for more info |
---|---|
allChildren() |
Returns Inherited from |
animate( options: ) |
Returns Inherited from Animates setting values from current/start values to new ones. Click here for more info |
appear( duration?: ) |
Returns Inherited from Plays initial reveal animation regardless if element is currently hidden or visible. |
cancelDrawing() |
Returns Cancels current drawing @since 5.9.0 |
clearDrawings() |
Returns |
compositeOpacity() |
Returns Inherited from Returns an actual opacity of the element, taking into account all parents. @since 5.2.11 |
compositeRotation() |
Returns Inherited from Returns an actual roation of the element, taking into account all parents. @since 5.9.2 |
compositeScale() |
Returns Inherited from Returns an actual scale of the element, taking into account all parents. @since 5.9.2 |
createAxisRange( axisDataItem: ) |
Returns Inherited from Creates and returns an axis range object. Click here for more info |
deleteDrawing( id: ) |
Returns Deletes a series' drawing by ids ID. @since 5.9.0 |
deleteSelected() |
Returns Deletes all currently selected drawings on this series. @since 5.9.0 |
depth() |
Returns Inherited from Returns depth (how deep in the hierachy of the content tree) of this element. |
disableDrawing() |
Returns |
disableErasing() |
Returns |
dispose() |
Returns Inherited from Disposes this object. |
disposeDataItem( dataItem: ) |
Returns |
disposeIndex( index: ) |
Returns Disposes a drawing with the specified index. @since 5.7.7 |
eachChildren( f: ( child: ) |
Returns Inherited from |
enableDrawing() |
Returns |
enableDrawingSelection( value: ) |
Returns |
enableErasing() |
Returns |
endIndex() |
Returns |
get( key: ) |
Returns Inherited from Returns settings value for the specified If there is no value, Click here for more info |
getContext( id: ) |
Returns |
getDataItemById( id: ) |
Returns Inherited from Looks up and returns a data item by its ID. |
getDateFormatter() |
Returns Inherited from Returns an instance of If this element does not have it set, global one form Click here for more info |
getDurationFormatter() |
Returns Inherited from Returns an instance of If this element does not have it set, global one form Click here for more info |
getIndex( id: ) |
Returns Returns index of a drawing with the specific ID, or @since 5.8.4 |
getNumberFormatter() |
Returns Inherited from Returns an instance of If this element does not have it set, global one form Click here for more info |
getTooltip() |
Returns Inherited from Returns |
has( key: ) |
Returns Inherited from Returns Click here for more info |
height() |
Returns Inherited from Returns height of this element in pixels. |
hide( duration?: ) |
Returns Inherited from Hides series. |
hideDataItem( dataItem: ) |
Returns Inherited from Hides series's data item. |
hideTooltip() |
Returns Inherited from |
hover() |
Returns Inherited from Simulate hover over element. |
indexToDrawingId( index: ) |
Returns |
innerHeight() |
Returns Inherited from Returns container's inner height (height without padding) in pixels. |
innerWidth() |
Returns Inherited from Returns container's inner width (width without padding) in pixels. |
isDisposed() |
Returns Inherited from Returns |
isDragging() |
Returns Inherited from Returns |
isFocus() |
Returns Inherited from Returns |
isHidden() |
Returns Inherited from Returns |
isHiding() |
Returns Inherited from Returns |
isHover() |
Returns Inherited from Returns |
isShowing() |
Returns Inherited from Returns |
isType( type: ) |
Returns Inherited from Checks if element is of certain class (or inherits one). |
isVisible() |
Returns Inherited from Returns |
isVisibleDeep() |
Returns Inherited from Same as @since 5.2.7 |
makeDataItem( data: ) |
Returns Inherited from Creates a new data item and processes it. |
markDirtyDrawings() |
Returns |
markDirtyKey( key: ) |
Returns Inherited from Marks some setting as dirty. Could be used to trigger adapter. |
markDirtyValues( _dataItem?: ) |
Returns Inherited from Forces a repaint of the element which relies on data. @since 5.0.21 |
maxHeight() |
Returns Inherited from Returns maximum allowed height of this element in pixels. |
maxWidth() |
Returns Inherited from Returns maximum allowed width of this element in pixels. |
new( root: ) |
Static Returns Inherited from Use this method to create an instance of this class. Click here for more info |
off( key: ) |
Returns Inherited from Removes a callback for when value of a setting changes. Click here for more info |
offPrivate( key: ) |
Returns Inherited from Removes a callback for when value of a private setting changes. Click here for more info |
on( key: ) |
Returns Inherited from Sets a callback function to invoke when specific key of settings changes or is set. Click here for more info |
onPrivate( key: ) |
Returns Inherited from Sets a callback function to invoke when specific key of private settings changes or is set. Click here for more info |
pushDataItem( data: ) |
Returns Inherited from Adds new explicit data item to series. |
remove( key: ) |
Returns Inherited from Removes a setting value for the specified Click here for more info |
removeAll() |
Returns Inherited from Removes all keys; Click here for more info |
resetExtremes() |
Returns Inherited from Resets cached axis scale values. |
selectDrawing( id: ) |
Returns Selects series' drawing by its ID. @since 5.9.0 |
set( key: ) |
Returns Inherited from Sets a setting Click here for more info |
setAll( settings: ) |
Returns Inherited from Sets multiple settings at once. Click here for more info |
setInteractive( value: ) |
Returns |
setTimeout( fn: () => ) |
Returns Inherited from Creates and returns a "disposable" timeout. |
show( duration?: ) |
Returns Inherited from Shows hidden series. |
showDataItem( dataItem: ) |
Returns Inherited from Shows series's data item. |
showDataItemTooltip( dataItem: ) |
Returns Inherited from Shows a tooltip for specific data item. |
showTooltip( point?: ) |
Returns Inherited from Shows element's |
startIndex() |
Returns |
toBack() |
Returns Inherited from Moves sprite to the beginning of the parent's children array. Depending on |
toFront() |
Returns Inherited from Moves sprite to the end of the parent's children array. Depending on |
toGlobal( point: ) |
Returns Inherited from Converts X/Y coordinate within this element to a global coordinate. |
toLocal( point: ) |
Returns Inherited from Converts global X/Y coordinate to a coordinate within this element. |
unhover() |
Returns Inherited from Simulate unhover over element. |
unselectAllDrawings() |
Returns Unselects all currently selected drawings on this series. @since 5.9.0 |
unselectDrawing( id: ) |
Returns Unselects series' drawing by its ID. @since 5.9.0 |
unselectDrawings() |
Returns Unselects all currently selected drawings of this series. @since 5.9.0 |
width() |
Returns Inherited from Returns width of this element in pixels. |
x() |
Returns Inherited from Returns element's actual X position in pixels. |
y() |
Returns Inherited from Returns element's actual Y position in pixels. |
There are 64 inherited items currently hidden from this list. |
Events
Add event handlers to DrawingSeries object using its events.on()
method.
Read about adding event handlers.
#blur |
Param { originalEvent: Inherited from Invoked when element loses focus. |
---|---|
#boundschanged |
Param { type: Inherited from Invoked when element's bounds change due to any manipulation to it. |
#click |
Param { type: Inherited from Invoked when element is clicked or tapped. |
#dataitemchanged |
Param { newDataItem: Inherited from Invoked when element's data item changes. |
#datasetchanged |
Param { id: Inherited from Kicks in when axis starts using different data set, e.g. data of different granularit on @since 5.1.1 |
#datavalidated |
Param { type: Inherited from |
#dblclick |
Param { type: Inherited from Invoked when element is doubleclicked or tapped twice quickly. |
#dragged |
Param { type: Inherited from Invoked when element ois being dragged. |
#dragstart |
Param { type: Inherited from Invoked when element dragging starts. |
#dragstop |
Param { type: Inherited from Invoked when element dragging stops. |
#focus |
Param { originalEvent: Inherited from Invoked when element gains focus. |
#globalpointermove |
Param { type: Inherited from Invoked when pointer is moving anywhere in the window, even outside of the element or even chart area. |
#globalpointerup |
Param { type: Inherited from Invoked when pointer button is released or touch stops in the window, even outside of the element or even chart area. |
#middleclick |
Param { type: Inherited from Invoked when element is clicked with the middle mouse button. |
#pointerdown |
Param { type: Inherited from Invoked when pointer button is pressed or touch starts over the element. |
#pointerout |
Param { type: Inherited from Invoked when pointer moves outside the element. |
#pointerover |
Param { type: Inherited from Invoked when pointer moves over the element. |
#pointerup |
Param { type: Inherited from Invoked when pointer button is released or touch stops over the element. |
#positionchanged |
Param { type: Inherited from Invoked when element's position (X/Y) changes. |
#rightclick |
Param { type: Inherited from Invoked when element is clicked width the right mouse button. |
#wheel |
Param { originalEvent: Inherited from Invoked when mouse wheel is spinned while pointer is over the element. |
There are 21 inherited items currently hidden from this list. |