Index

lib/utils/plot.utils.ts

COLORWAY
Type : []
Default value : [...d3Color.schemeTableau10]
DEFAULT_PLOTLY_AXIS
Type : Partial<LayoutAxis>
Default value : { autorange: true, dtick: 1, exponentformat: 'power', linecolor: '#dfe1e2', mirror: true, showexponent: 'all', tickfont: { size: 10, }, tickmode: 'auto', title: { font: { size: 14, }, }, type: 'log', }
DEFAULT_PLOTLY_CONFIG
Type : PlotlyConfig
Default value : { displaylogo: false, displayModeBar: true, editable: false, style: { height: '100%', position: 'relative', width: '100%', }, toImageButtonOptions: { format: 'png', height: Math.floor((1000 * 9) / 16), scale: 10, width: 1000, }, updateOnDataChange: true, updateOnLayoutChange: true, useResizeHandler: true, }
DEFAULT_PLOTLY_LAYOUT
Type : PlotlyLayout
Default value : { aspectRatio: '16:9', autosize: true, colorway: COLORWAY, hovermode: 'closest', legend: { bordercolor: 'rgb(223, 225, 226)', borderwidth: 1, font: { size: 12, }, itemclick: false, itemdoubleclick: false, x: 1.01, xanchor: 'left', y: 1, yanchor: 'top', }, margin: { b: 50, l: 65, r: 10, t: 80, }, showlegend: true, title: { font: { size: 18, }, pad: { b: 30, }, text: '', y: 1, yanchor: 'bottom', yref: 'paper', }, }
DEFAULT_PLOTLY_MOBILE_AXIS
Type : Partial<LayoutAxis>
Default value : { ...DEFAULT_PLOTLY_AXIS, tickfont: { size: 6, }, title: { font: { size: 8, }, }, }
DEFAULT_PLOTLY_MOBILE_LAYOUT
Type : PlotlyLayout
Default value : { aspectRatio: '1:1', autosize: true, hovermode: 'closest', legend: { bordercolor: 'rgb(223, 225, 226)', borderwidth: 1, font: { size: 8, }, itemclick: false, itemdoubleclick: false, x: 0, xanchor: 'left', y: -0.2, yanchor: 'top', }, margin: { b: 20, l: 40, r: 10, t: 50, }, showlegend: true, title: { font: { size: 10, }, pad: { b: 10, }, text: '', y: 1, yanchor: 'bottom', yref: 'paper', }, }
DEFAULT_XAXIS_RANGE
Type : []
Default value : [Math.log10(10e-3), Math.log10(10)]
DEFAULT_YAXIS_RANGE
Type : []
Default value : [Math.log10(10e-6), Math.log10(10)]
plotTableDataParams
Type : PlotTableDataParams
Default value : { addLabel: false, hideX: false, hideY: false, labelTransform: label => label, xLabelTransform: label => label, xValueFormat: x => x, yLabelTransform: label => label, yValueFormat: y => y, }

results matching ""

    No results matching ""