From 35ccc01c89064b5df2b1cba20c13788407db99a0 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Tue, 22 Oct 2024 10:27:55 -0600 Subject: [PATCH] remove Nshmp plot data --- libs/plotly/plotly-plot.model.ts | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/libs/plotly/plotly-plot.model.ts b/libs/plotly/plotly-plot.model.ts index 89de865..1699cc8 100644 --- a/libs/plotly/plotly-plot.model.ts +++ b/libs/plotly/plotly-plot.model.ts @@ -1,4 +1,4 @@ -import {PlotData, PlotMarker, ScatterLine} from 'plotly.js'; +import {PlotData} from 'plotly.js'; import {PlotlyConfig} from './plotly-config.model'; import {PlotlyLayout} from './plotly-layout.model'; @@ -8,7 +8,7 @@ import {PlotlyLayout} from './plotly-layout.model'; */ export interface PlotlyPlot { /** Plot data */ - data: Partial<NshmpPlotData>[]; + data: Partial<PlotData>[]; /** Plot id */ id: string; /** Plotly config */ @@ -27,22 +27,3 @@ export interface PlotlyPlot { */ panelBreakpoint?: number; } - -export interface NshmpPlotData extends PlotData { - line: Partial<NshmpScatterLine>; - marker: Partial<NshmpPlotMarker>; -} - -export interface NshmpScatterLine extends ScatterLine { - /** Width when line is selected */ - widthSelected: number; - /** Line width when in mobile screen */ - widthMobile: number; -} - -export interface NshmpPlotMarker extends PlotMarker { - /** Size when line is selected */ - sizeSelected: number; - /** Size when in mobile screen */ - sizeMobile: number; -} -- GitLab