Class: ojChartSeriesProperties

Oracle® JavaScript Extension Toolkit (JET)
7.1.0

F18183-01

QuickNav

Fields


ojChartSeriesProperties

Version:
  • 7.1.0
Module:
  • jsdoc

Module usage

See JET Module Loading for an overview of module usage within JET.

Constructor

new ojChartSeriesProperties()

Fields

areaColor :string

The area color of the series. Only applies if series type is area or lineWithArea.

areaSvgClassName :string

The CSS style class to apply if series type is area or lineWithArea. 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 color attribute.

areaSvgStyle :CSSStyleDeclaration=

The inline style to apply if series type is area or lineWithArea. 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 color attribute.

assignedToY2 :"on"|"off"

Defines whether the series is associated with the y2 axis. Only applies to Cartesian bar, line, area, and combo charts.
Supported Values:
Value
"off"
"on"
Default Value:
  • "off"

borderColor :string

The border color of the series.

borderWidth :number

The border width of the series.

boxPlot :ojChart.BoxPlotStyle=

An object containing the style properties of the box plot series.

categories :Array.<string>

An optional array of category strings corresponding to this series. This allows highlighting and filtering of a series through interactions with legend sections. If not defined, the series id is used.

color :string

The color of the series.

displayInLegend :"on"|"off"|"auto"

Defines whether the series should be shown in the legend. When set to 'auto', the series will not be displayed in the legend if it has null data or if it is a stock, funnel, or pyramid series.
Supported Values:
Value
"auto"
"off"
"on"
Default Value:
  • "auto"

drilling :"on"|"off"|"inherit"

Whether drilling is enabled on the series 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 series items at once, use the drilling attribute in the top level.
Supported Values:
Value
"inherit"
"off"
"on"
Default Value:
  • "inherit"

lineStyle :"dotted"|"dashed"|"solid"

The line style of the data line. Only applies to line, lineWithArea, scatter, and bubble series.
Supported Values:
Value
"dashed"
"dotted"
"solid"
Default Value:
  • "solid"

lineType :"straight"|"curved"|"stepped"|"centeredStepped"|"segmented"|"centeredSegmented"|"none"|"auto"

The line type of the data line or area. Only applies to line, area, scatter, and bubble series. centeredStepped and centeredSegmented are not supported for polar, scatter, and bubble charts.
Supported Values:
Value
"auto"
"centeredSegmented"
"centeredStepped"
"curved"
"none"
"segmented"
"stepped"
"straight"
Default Value:
  • "auto"

lineWidth :number

The width of the data line. Only applies to line, lineWithArea, scatter, and bubble series.

markerColor :string

The color of the data markers, if different from the series color.

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:
Value
"auto"
"off"
"on"
Default Value:
  • "auto"

markerShape :"auto"|"square"|"circle"|"diamond"|"plus"|"triangleDown"|"triangleUp"|"human"|"star"|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.
Default Value:
  • "auto"

markerSize :number

The size of the data markers.

markerSvgClassName :string

The CSS style class to apply to the data markers. 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 marker color attribute.

markerSvgStyle :CSSStyleDeclaration=

The inline style to apply to the data markers. 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 marker color attribute.

name :string

The name of the series, displayed in the legend and tooltips.

pattern :"smallChecker"|"smallCrosshatch"|"smallDiagonalLeft"|"smallDiagonalRight"|"smallDiamond"|"smallTriangle"|"largeChecker"|"largeCrosshatch"|"largeDiagonalLeft"|"largeDiagonalRight"|"largeDiamond"|"largeTriangle"|"auto"

The pattern used to fill the series. 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:
  • "auto"

pieSliceExplode :number

A number from 0 to 1 indicating the amount to explode the pie slice. Only applies to pie charts.
Default Value:
  • 0

shortDesc :string

The description of this series. This is used for accessibility and for customizing the tooltip text on the corresponding legend item for the series.

source :string

The URI of the custom image. If specified, it takes precedence over 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.

stackCategory :string

In stacked charts, groups series together for stacking. All series without a stackCategory will be assigned to the same stack.

svgClassName :string

The CSS style class to apply to the series. For series of type lineWithArea, this style will only be applied to the line if areaSvgClassName is also specified. 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 color attribute.

svgStyle :CSSStyleDeclaration=

The inline style to apply to the series. For series of type lineWithArea, this style will only be applied to the line if areaSvgStyle is also specified. 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 color attribute.

type :"bar"|"line"|"area"|"lineWithArea"|"candlestick"|"boxPlot"|"auto"

The type of data objects to display for this series. Only applies to bar, line, area, stock, box plot, and combo charts.
Supported Values:
Value
"area"
"auto"
"bar"
"boxPlot"
"candlestick"
"line"
"lineWithArea"
Default Value:
  • "auto"