Skip to content
Snippets Groups Projects
Commit e294485f authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

Merge branch 'plotly' into 'main'

remove Nshmp plot data

See merge request !237
parents 679aa04d 35ccc01c
No related branches found
Tags 3.10.0
1 merge request!237remove Nshmp plot data
Pipeline #505107 passed with warnings
import {PlotData, PlotMarker, ScatterLine} from 'plotly.js'; import {PlotData} from 'plotly.js';
import {PlotlyConfig} from './plotly-config.model'; import {PlotlyConfig} from './plotly-config.model';
import {PlotlyLayout} from './plotly-layout.model'; import {PlotlyLayout} from './plotly-layout.model';
...@@ -8,7 +8,7 @@ import {PlotlyLayout} from './plotly-layout.model'; ...@@ -8,7 +8,7 @@ import {PlotlyLayout} from './plotly-layout.model';
*/ */
export interface PlotlyPlot { export interface PlotlyPlot {
/** Plot data */ /** Plot data */
data: Partial<NshmpPlotData>[]; data: Partial<PlotData>[];
/** Plot id */ /** Plot id */
id: string; id: string;
/** Plotly config */ /** Plotly config */
...@@ -27,22 +27,3 @@ export interface PlotlyPlot { ...@@ -27,22 +27,3 @@ export interface PlotlyPlot {
*/ */
panelBreakpoint?: number; 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;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment