|
|
|
@ -42,7 +42,7 @@ import { |
|
|
|
flotSettingsSchema, |
|
|
|
TbFlotAxisOptions, |
|
|
|
TbFlotHoverInfo, |
|
|
|
TbFlotKeySettings, |
|
|
|
TbFlotKeySettings, TbFlotLabelPatternSettings, |
|
|
|
TbFlotPlotAxis, |
|
|
|
TbFlotPlotDataSeries, |
|
|
|
TbFlotPlotItem, |
|
|
|
@ -383,6 +383,9 @@ export class TbFlot { |
|
|
|
if (this.settings.customLegendEnabled) { |
|
|
|
this.labelPatternsSourcesData = []; |
|
|
|
const labelPatternsDatasources: Datasource[] = []; |
|
|
|
this.settings.dataKeysListForLabels.forEach((item) => { |
|
|
|
item.settings = {}; |
|
|
|
}); |
|
|
|
subscription.datasources.forEach((item) => { |
|
|
|
let datasource: Datasource = { |
|
|
|
type: item.type, |
|
|
|
|