diff --git a/src/panel/graph_panel/colors.ts b/src/panel/graph_panel/colors.ts index 778fea7..451fd17 100644 --- a/src/panel/graph_panel/colors.ts +++ b/src/panel/graph_panel/colors.ts @@ -76,6 +76,7 @@ export const ANALYTIC_UNIT_COLORS = [ '#f8c171', ]; +export const DEFAULT_DELETED_SEGMENT_COLOR = '#00f0ff'; export const REGION_UNLABEL_COLOR_LIGHT = '#d1d1d1'; export const REGION_UNLABEL_COLOR_DARK = 'white'; export const LABELED_SEGMENT_BORDER_COLOR = 'black'; diff --git a/src/panel/graph_panel/models/analytic_unit.ts b/src/panel/graph_panel/models/analytic_unit.ts index 8d81310..85e70c8 100644 --- a/src/panel/graph_panel/models/analytic_unit.ts +++ b/src/panel/graph_panel/models/analytic_unit.ts @@ -2,7 +2,7 @@ import { SegmentsSet } from './segment_set'; import { SegmentArray } from './segment_array'; import { Segment, SegmentId } from './segment'; -import { ANALYTIC_UNIT_COLORS } from '../colors'; +import { ANALYTIC_UNIT_COLORS, DEFAULT_DELETED_SEGMENT_COLOR } from '../colors'; import _ from 'lodash'; @@ -44,7 +44,7 @@ export class AnalyticUnit { _.defaults(this._panelObject, { name: 'AnalyticUnitName', labeledColor: ANALYTIC_UNIT_COLORS[0], - deletedColor: '#00f0ff', + deletedColor: DEFAULT_DELETED_SEGMENT_COLOR, detectorType: 'pattern', type: 'GENERAL', alert: false