lib/models/default-plot-options.model.ts
The default plot options.
Properties |
|
id |
id:
|
Type : string
|
Plot id |
mobileOptions |
mobileOptions:
|
Type : PlotOptions
|
Optional |
Plot config and layout options for mobile devices |
options |
options:
|
Type : PlotOptions
|
Optional |
Plot config and layout options |
panelBreakpoint |
panelBreakpoint:
|
Type : number
|
Optional |
Breapoint to use mobile settings |
title |
title:
|
Type : string
|
Plot title |
xLabel |
xLabel:
|
Type : string
|
X label |
yLabel |
yLabel:
|
Type : string
|
Y label |
import {PlotlyConfig, PlotlyLayout} from '@ghsc/nshmp-utils-ts/libs/plotly';
/**
* The default plot options.
*/
export interface DefaultPlotOptions {
/** Plot id */
id: string;
/** Plot title */
title: string;
/** X label */
xLabel: string;
/** Y label */
yLabel: string;
/** Plot config and layout options for mobile devices */
mobileOptions?: PlotOptions;
/** Plot config and layout options */
options?: PlotOptions;
/** Breapoint to use mobile settings */
panelBreakpoint?: number;
}
/**
* Plotly config and layout options.
*/
export interface PlotOptions {
/** Plotly config */
config?: PlotlyConfig;
/** Plotly layout */
layout?: PlotlyLayout;
}