src/app/components/general-timeline/general-timeline.component.ts
General timeline component. ~implements OnInit ~implements AfterViewInit ~implements OnDestroy
OnInit
AfterViewInit
OnDestroy
selector | app-general-timeline |
styleUrls | ./general-timeline.component.scss |
templateUrl | ./general-timeline.component.html |
Properties |
|
Methods |
Accessors |
constructor(portfolioService: PortfolioService, engine: EngineService, chartService: ChartService, persistenceService: PersistenceService, generalTimelineService: GeneralTimelineService)
|
||||||||||||||||||||||||
Constructs a General timeline component. ~constructor
Parameters :
|
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
|
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.
|
entities |
getentities()
|
Entities delegate. |
ToggleKind |
getToggleKind()
|
Toggle kind enum template accessor getter. |
./general-timeline.component.scss
@use "../stylesheets/stylesheets.component.scss";