File

echart/services/chart-realtime.service.ts

Index

Methods

Constructor

constructor(measurementRealtime: MeasurementRealtimeService, alarmRealtimeService: AlarmRealtimeService, eventRealtimeService: EventRealtimeService, echartsOptionsService: EchartsOptionsService)
Parameters :
Name Type Optional
measurementRealtime MeasurementRealtimeService No
alarmRealtimeService AlarmRealtimeService No
eventRealtimeService EventRealtimeService No
echartsOptionsService EchartsOptionsService No

Methods

startRealtime
startRealtime(echartsInstance: ECharts, datapoints: DatapointsGraphKPIDetails[], timeRange: literal type, datapointOutOfSyncCallback: (dp: DatapointsGraphKPIDetails) => void, timeRangeChangedCallback: (timeRange: Pick) => void, alarmOrEventConfig: AlarmOrEventExtended[], displayOptions: literal type)
Parameters :
Name Type Optional Default value
echartsInstance ECharts No
datapoints DatapointsGraphKPIDetails[] No
timeRange literal type No
datapointOutOfSyncCallback function No
timeRangeChangedCallback function No
alarmOrEventConfig AlarmOrEventExtended[] No []
displayOptions literal type No
Returns : void
stopRealtime
stopRealtime()
Returns : void

results matching ""

    No results matching ""