diff --git a/src/panel/graph_panel/graph_tooltip.ts b/src/panel/graph_panel/graph_tooltip.ts index f0e1a4a..6374b28 100644 --- a/src/panel/graph_panel/graph_tooltip.ts +++ b/src/panel/graph_panel/graph_tooltip.ts @@ -206,21 +206,29 @@ export class GraphTooltip { var to = this.dashboard.formatDate(s.segment.to, 'HH:mm:ss.SSS'); let icon; + let subIcon; if(s.segment.labeled) { icon = 'fa-thumb-tack'; + subIcon = 'fa-plus'; } else if (s.segment.deleted) { - icon = 'fa-trash'; + icon = 'fa-thumb-tack'; + subIcon = 'fa-minus'; } else { - icon = 'fa-search-plus'; + icon = 'fa-crosshairs'; + subIcon = ''; + } + let segmentColor = s.analyticUnit.labeledColor; + if(s.segment.deleted === true) { + segmentColor = s.analyticUnit.deletedColor; } result += `
- + + ${s.analyticUnit.name}:
- ${from} — ${to}