File

src/app/components/spectrum/spectrum.component.ts

Description

Spectrum component. ~implements OnInit ~implements OnDestroy ~implements AfterViewInit

Extends

SpectrumProviderComponent

Implements

OnInit OnDestroy AfterViewInit

Metadata

Index

Properties
Methods
Inputs

Constructor

constructor(portfolioService: PortfolioService, engine: EngineService, sorterService: SorterService, truncatorService: TruncatorService, inputService: InputService, uiService: UiService, persistenceService: PersistenceService, chartService: ChartService)

Constructs a Spectrum component. ~constructor

Parameters :
Name Type Optional Description
portfolioService PortfolioService No

The portfolio service injected dependency.

engine EngineService No

The engine service injected dependency.

sorterService SorterService No

The sorter service injected dependency.

truncatorService TruncatorService No

The truncator service injected dependency.

inputService InputService No

The input service injected dependency.

uiService UiService No

The ui service injected dependency.

persistenceService PersistenceService No

The persistence service injected dependency.

chartService ChartService No

The chart service injected dependency.

Inputs

key
Type : any

Entity key.

Methods

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 :
Name Type Optional
frequenciesCacheKey string No
Returns : any[]
Public trackByFn
trackByFn(index: any, item: any)

TrackBy iterator help function.

Parameters :
Name Type Optional
index any No
item any No
Returns : any

Properties

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";
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""