-
borderColor :string
-
The border color of the data item. For funnel and pyramid charts, it is used for the slice border.
-
borderWidth :number
-
The border width of the data item. For funnel and pyramid charts, it is used for the slice border.
-
-
An object containing the style properties of the box plot item.
-
categories :Array.<string>
-
An optional array of category strings corresponding to this data item. This enables highlighting and filtering of individual data items through interactions with the legend or other visualization elements. If not defined, series categories are used.
-
close :number
-
The close value for stock candlestick. When bar, line, or area series type are used on a stock chart, this value is displayed.
-
color :string
-
The color of the data item.
-
drilling :on|off|inherit
-
Whether drilling is enabled for the data item. Drillable objects will show a pointer cursor on hover and fire an ojDrill
event on click (double click if selection is enabled). To enable drilling for all data items at once, use the drilling attribute in the top level.
Supported Values:
- Default Value:
-
high :number
-
The high value for range bar/area, stock candlestick, or box plot item. Define 'low' and 'high' instead of 'value' or 'y' to create a range bar/area chart.
-
label :string|Array.<string>
-
The label for the data item. For range series, if an array of two values is provided, the first and second value will apply to the low and high point respectively. Not supported for box plot or candlestick.
-
labelPosition :center|outsideSlice|aboveMarker|belowMarker|beforeMarker|afterMarker|insideBarEdge|outsideBarEdge|none|auto
-
The position of the data label. For range series, if an array of two values is provided, the first and second value will apply to the low and high point respectively. The 'outsideSlice' value only applies to pie charts. The 'aboveMarker', 'belowMarker', 'beforeMarker', and 'afterMarker' values only apply to line, area, scatter, and bubble series. The 'insideBarEdge' and 'outsideBarEdge' values only apply to non-polar bar series. Stacked bars do not support 'outsideBarEdge'. The chart does not currently adjust layout to fit labels within the plot area or deal with any overlaps between labels.
Supported Values:
Value |
aboveMarker |
afterMarker |
auto |
beforeMarker |
belowMarker |
center |
insideBarEdge |
none |
outsideBarEdge |
outsideSlice |
-
labelStyle :CSSStyleDeclaration|Array<CSSStyleDeclaration>
-
The CSS style object defining the style of the data label. For range series, if an array of two values is provided, the first and second value will apply to the low and high point respectively.
The following style properties are supported: color, cursor, fontFamily, fontSize, fontStyle, fontWeight, textDecoration.
-
low :number
-
The low value for range bar/area, stock candlestick, or box plot item. Define 'low' and 'high' instead of 'value' or 'y' to create a range bar/area chart.
-
markerDisplayed :on|off|auto
-
Defines whether the data marker is displayed. Only applies to line, area, scatter, and bubble series. If auto, the markers will be displayed whenever the data points are not connected by a line.
Supported Values:
-
markerShape :"circle"|"diamond"|"human"|"plus"|"square"|"star"|"triangleDown"|"triangleUp"|"auto"|string
-
The shape of the data markers. In addition to the built-in shapes, it may also take SVG path commands to specify a custom shape. The chart will style the custom shapes the same way as built-in shapes, supporting properties like color and borderColor and applying hover and selection effects. Only 'auto' is supported for range series.
-
markerSize :number
-
The size of the data markers. Does not apply to bubble charts, which calculate marker size based on the z values.
-
open :number
-
The open value for stock candlestick.
-
pattern :smallChecker|smallCrosshatch|smallDiagonalLeft|smallDiagonalRight|smallDiamond|smallTriangle|largeChecker|largeCrosshatch|largeDiagonalLeft|largeDiagonalRight|largeDiamond|largeTriangle|auto
-
The pattern used to fill the data item. A solid fill is used by default, unless the seriesEffect is 'pattern'.
Supported Values:
Value |
auto |
largeChecker |
largeCrosshatch |
largeDiagonalLeft |
largeDiagonalRight |
largeDiamond |
largeTriangle |
smallChecker |
smallCrosshatch |
smallDiagonalLeft |
smallDiagonalRight |
smallDiamond |
smallTriangle |
- Default Value:
-
q1 :number
-
The first quartile value for box plot.
-
q2 :number
-
The second quartile (median) value for box plot.
-
q3 :number
-
The third quartile value for box plot.
-
shortDesc :string
-
The description of this object. This is used for accessibility and also for customizing the tooltip text.
-
source :string
-
The URI of the custom image. If specified, it takes precedence over marker-shape.
-
sourceHover :string
-
The optional URI for the hover state. If not specified, the source image will be used.
-
sourceHoverSelected :string
-
The optional URI for the hover selected state. If not specified, the source image will be used.
-
sourceSelected :string
-
The optional URI for the selected state. If not specified, the source image will be used.
-
svgClassName :string
-
The CSS style class to apply to the data item. The style class and inline style will override any other styling specified through the properties. For tooltips and hover interactivity, it's recommended to also pass a representative color to the item color attribute.
-
svgStyle :CSSStyleDeclaration
-
The CSS inline style to apply to the data item. The style class and inline style will override any other styling specified through the properties. For tooltips and hover interactivity, it's recommended to also pass a representative color to the item color attribute.
Only SVG CSS style properties are supported.
-
targetValue :number
-
The target value for a funnel chart. When this is set, the value attribute defines the filled area within the slice and this represents the value of the whole slice.
-
value :number
-
The value for this data item. Corresponding to the y value for bar, line, area, and combo charts and the slice values for pie, funnel and pyramid charts. Null can be specified to skip a data point.
-
volume :number
-
The value for stock volume bar. When this value is provided, the volume bar is displayed on the y2 axis.
-
x :number|string
-
The x value. Mainly used for scatter and bubble chart and to specify the date for mixed-frequency time axis.
For categorical axis, if the x value is not specified, it will default to the item index.
For regular time axis, if the x value is not specified, it will default to the group name of the item.
-
y :number
-
The y value. Also the primary value for charts without a y-Axis, such as pie charts.
-
z :number
-
The z value. Defines the bubble radius for a bubble chart, as well as the width of a bar or a box plot item.