Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nshmp-utils-ts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ghsc
National Seismic Hazard Model Project
nshmp-utils-ts
Commits
e294485f
Commit
e294485f
authored
5 months ago
by
Clayton, Brandon Scott
Browse files
Options
Downloads
Plain Diff
Merge branch 'plotly' into 'main'
remove Nshmp plot data See merge request
!237
parents
679aa04d
35ccc01c
No related branches found
Branches containing commit
Tags
3.10.0
Tags containing commit
1 merge request
!237
remove Nshmp plot data
Pipeline
#505107
passed with warnings
5 months ago
Stage: init
Stage: build
Stage: publish
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libs/plotly/plotly-plot.model.ts
+2
-21
2 additions, 21 deletions
libs/plotly/plotly-plot.model.ts
with
2 additions
and
21 deletions
libs/plotly/plotly-plot.model.ts
+
2
−
21
View file @
e294485f
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
<
Nshmp
PlotData
>
[];
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
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment