echart/services/echarts-options.service.ts
Properties |
Methods |
constructor(datePipe: DatePipe, yAxisService: YAxisService, chartTypesService: ChartTypesService, severityIconPipe: AlarmSeverityToIconPipe, severityLabelPipe: AlarmSeverityToLabelPipe, router: Router)
|
|||||||||||||||||||||
Parameters :
|
calculateExtendedIntervalInMs | ||||||
calculateExtendedIntervalInMs(interval, selectedTimeRange)
|
||||||
Parameters :
Returns :
number
|
getAggregatedSeries | ||||||
getAggregatedSeries(aggregatedDatapoints: DpWithValues[])
|
||||||
Parameters :
Returns :
SeriesOption[]
|
getAlarmOrEventSeries | ||||||||||||||||||||||||||||||||||||||||||||||||||
getAlarmOrEventSeries(dp: DpWithValues, renderType: DatapointChartRenderType, isMinMaxChart, items: IAlarm[] | IEvent[], itemType: "alarm" | "event", displayOptions: object, id?: string | number, idx?: number, realtime?: boolean)
|
||||||||||||||||||||||||||||||||||||||||||||||||||
This method is used to get the series for alarms and events.
Parameters :
Returns :
CustomSeriesOptions[]
|
getChartOptions | ||||||||||||||||||||||||||||||||||||||||
getChartOptions(datapointsWithValues: DpWithValues[], timeRange: literal type, showSplitLines: literal type, events: IEvent[], alarms: IAlarm[], displayOptions: literal type, selectedTimeRange?: literal type | null, aggregatedDatapoints?: DpWithValues[], sliderZoomUsed)
|
||||||||||||||||||||||||||||||||||||||||
Parameters :
Returns :
EChartsOption
|
getTooltipFormatterForAlarmAndEvents | ||||||||||||||||||||
getTooltipFormatterForAlarmAndEvents(tooltipParams: CallbackDataParams, params: literal type, allEvents: IEvent[], allAlarms: IAlarm[])
|
||||||||||||||||||||
This method is used to get tooltip formatter for alarms and events.
Parameters :
Returns :
string
The formatted string for the tooltip. |
echartsInstance |
Type : ECharts | undefined
|