Element: <oj-timeline-series>

Oracle® JavaScript Extension Toolkit (JET)
17.1.0

G12196-01

Since:
  • 7.0.0
Module:
  • ojtimeline

QuickNav

Attributes


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>


Usage

Signature:

interface TimelineSeriesElement

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

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

For additional information visit:


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:
  • ""

(nullable) svg-style :Partial<CSSStyleDeclaration>

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