src/app/components/spectrum/spectrum.component.ts
Spectrum component. ~implements OnInit ~implements OnDestroy ~implements AfterViewInit
OnInit
OnDestroy
AfterViewInit
selector | app-spectrum |
styleUrls | ./spectrum.component.scss |
templateUrl | ./spectrum.component.html |
Properties |
|
Methods |
|
Inputs |
constructor(portfolioService: PortfolioService, engine: EngineService, sorterService: SorterService, truncatorService: TruncatorService, inputService: InputService, uiService: UiService, persistenceService: PersistenceService, chartService: ChartService)
|
||||||||||||||||||||||||||||||||||||
Constructs a Spectrum component. ~constructor
Parameters :
|
key |
Type : any
|
Entity key. |
Initialize |
Initialize()
|
Initialization
Returns :
void
|
ngAfterViewInit |
ngAfterViewInit()
|
Initialization
Returns :
void
|
ngOnDestroy |
ngOnDestroy()
|
Cleanup
Returns :
void
|
ngOnInit |
ngOnInit()
|
Subscription
Returns :
void
|
Public getFrequenciesCache | ||||||
getFrequenciesCache(frequenciesCacheKey: string)
|
||||||
Get frequencies cache delegate.
Parameters :
Returns :
any[]
|
Public trackByFn |
trackByFn(index: any, item: any)
|
TrackBy iterator help function.
Returns :
any
|
Public Optional canvas |
Type : ElementRef
|
Decorators :
@ViewChild('canvas')
|
The chart element. |
Public Readonly chartService |
Type : ChartService
|
The chart service injected dependency.
|
Public Optional clickable |
Type : ElementRef
|
Decorators :
@ViewChild('clickable')
|
A clickable element. |
Public Readonly engine |
Type : EngineService
|
The engine service injected dependency.
|
Public Readonly inputService |
Type : InputService
|
The input service injected dependency.
|
Public Readonly persistenceService |
Type : PersistenceService
|
The persistence service injected dependency.
|
Public Readonly portfolioService |
Type : PortfolioService
|
The portfolio service injected dependency.
|
Public Readonly sorterService |
Type : SorterService
|
Decorators :
@Inject(undefined)
|
The sorter service injected dependency.
|
Public Readonly truncatorService |
Type : TruncatorService
|
Decorators :
@Inject(undefined)
|
The truncator service injected dependency.
|
Public Readonly uiService |
Type : UiService
|
The ui service injected dependency.
|
./spectrum.component.scss
@use "../stylesheets/stylesheets.component.scss";