Element: <oj-c-line-chart-series>

CORE PACK

Oracle® JavaScript Extension Toolkit (JET)
17.1.0

G12196-01

Since:
  • 16.0.0
Module:
  • line-chart-series

QuickNav

Attributes

Other Topics


JET Line Chart Series

The oj-c-line-chart-series element is used to declare series properties. See the Help documentation for more information

 
 <oj-c-line-chart data="[[dataProvider]]">
  <template slot='seriesTemplate'>
    <oj-c-line-chart-series
      drilling='on'
      marker-shape='[[ $current.id == "Series 1" ? "square" : "circle" ]]'>
    </oj-c-line-chart-series>
  </template>
 </oj-c-line-chart>
 
 

Accessibility

Read the Accessibility Section of the oj-c-line-chart component for details about making this component accessible.


Usage

Signature:

interface CLineChartSeriesElement

Typescript Import Format
//To typecheck the element APIs, import as below.
import { CLineChartSeriesElement } from "oj-c/line-chart-series";

//For the transpiled javascript to load the element's module, import as below
import "oj-c/line-chart-series";

For additional information visit:


Attributes

categories :Array.<string>

An array of category strings corresponding to the tag cloud items. This allows highlighting and filtering of items.

color :string

The color of the series. The chart legend item will inherit this color value.

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

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.
Default Value:
  • "inherit"

line-style :"dashed"|"solid"|"dotted"

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

line-type :"curved"|"straight"

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.

line-width :number

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

marker-color :string

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

marker-displayed :string

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.

marker-shape :"auto"|"square"|"circle"|"diamond"|"human"|"plus"|"star"|"triangleDown"|"triangleUp"

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.

marker-size :number

The size of the data markers.

name :string

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

short-desc :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.