Element: <oj-timeline-series>

Oracle® JavaScript Extension Toolkit (JET)
7.1.0

F18183-01

Signature:

class ojTimelineSeries

QuickNav

Attributes


PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

Version:
  • 7.1.0
Since:
  • 7.0.0
Module:
  • ojtimeline

Module usage

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

Typescript Import Format
//To typecheck the element APIs, import as below.
import {ojTimelineSeries} from "ojs/ojtimeline";

//For the transpiled javascript to load the element's module, import as below
import "ojs/ojtimeline";

JET In Typescript

A detailed description of working with JET elements and classes in your typescript project can be found at: JET Typescript Usage.

JET Timeline Series

The oj-timeline-series element is used to declare properties for timeline series and is only valid as the child of a template element for the seriesTemplate slot of oj-timeline.


<oj-timeline data="[[dataProvider]]">
  <template slot="seriesTemplate">
    <oj-timeline-series
      label="[[$current.items[0].data.series]]">
    </oj-timeline-series>
  </template>
</oj-timeline>

Attributes

empty-text :string

The text of an empty timeline series.

item-layout :"auto"|"bottomToTop"|"topToBottom"

The direction in which items are laid out when in a horizontal orientation. This attribute is ignored when in a vertical orientation.
Supported Values:
Value
"auto"
"bottomToTop"
"topToBottom"
Default Value:
  • "auto"

label :string

The label displayed on the timeline series. In not specified, no label will be shown.
Default Value:
  • ""

svg-style :CSSStyleDeclaration

The CSS style object defining any additional styling of the series. If not specified, no additional styling will be applied.
Default Value:
  • {}