File

src/app/components/general-timeline/general-timeline.component.ts

Description

General timeline component. ~implements OnInit ~implements AfterViewInit ~implements OnDestroy

Implements

OnInit AfterViewInit OnDestroy

Metadata

Index

Properties
Methods
Accessors

Constructor

constructor(portfolioService: PortfolioService, engine: EngineService, chartService: ChartService, persistenceService: PersistenceService, generalTimelineService: GeneralTimelineService)

Constructs a General timeline component. ~constructor

Parameters :
Name Type Optional Description
portfolioService PortfolioService No

The portfolio service injected dependency.

engine EngineService No

The engine service injected dependency.

chartService ChartService No

The chart service injected dependency.

persistenceService PersistenceService No

The persistence service injected dependency.

generalTimelineService GeneralTimelineService No

The general timeline service injected dependency.

Methods

Public drawGeneralTimeline
drawGeneralTimeline()

Draws a general timeline chart

Returns : void
Public generalTimelineDefined
generalTimelineDefined()

Whether the general timeline is defined.

Returns : boolean

Whether the general timeline is defined.

ngAfterViewInit
ngAfterViewInit()

Initialization

Returns : void
ngOnDestroy
ngOnDestroy()

Cleanup

Returns : void
ngOnInit
ngOnInit()

Subscription

Returns : void

Properties

Optional canvas
Type : ElementRef
Decorators :
@ViewChild('canvas')

The chart element.

Public Readonly engine
Type : EngineService
The engine service injected dependency.
Optional headerComponents
Type : QueryList<HeaderComponent>
Decorators :
@ViewChildren(HeaderComponent)

Header component.

Public key
Type : string
Default value : 'General Timeline'

The component key

Public Readonly portfolioService
Type : PortfolioService
The portfolio service injected dependency.

Accessors

entities
getentities()

Entities delegate.

ToggleKind
getToggleKind()

Toggle kind enum template accessor getter.

./general-timeline.component.scss

@use "../stylesheets/stylesheets.component.scss";
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""