@metacell/geppetto-meta-ui
Version:
React components from geppetto-meta to create neuroscience applications and visualize data.
96 lines (95 loc) • 2 kB
TypeScript
export function defaultConfig(): {
scrollZoom: boolean;
displaylogo: boolean;
displayModeBar: boolean;
};
export function defaultLine(): {
dash: string;
width: string;
color: string;
};
export function defaultTrace(): {
mode: string;
line: {
dash: string;
width: string;
color: string;
};
hoverinfo: string;
type: string;
};
export function defaultLayout(): {
autosize: boolean;
showgrid: boolean;
showlegend: boolean;
xaxis: {
autorange: boolean;
showgrid: boolean;
showline: boolean;
zeroline: boolean;
mirror: boolean;
ticklen: number;
tickcolor: string;
linecolor: string;
tickfont: {
family: string;
size: number;
color: string;
};
titlefont: {
family: string;
size: number;
color: string;
};
ticks: string;
};
yaxis: {
autorange: boolean;
showgrid: boolean;
showline: boolean;
zeroline: boolean;
mirror: boolean;
ticklen: number;
tickcolor: string;
linecolor: string;
tickfont: {
family: string;
size: number;
color: string;
};
titlefont: {
family: string;
size: number;
color: string;
};
ticks: string;
};
margin: {
l: number;
r: number;
b: number;
t: number;
};
legend: {
xanchor: string;
yanchor: string;
font: {
family: string;
size: number;
color: string;
};
x: number;
};
transition: {
duration: number;
};
frame: {
duration: number;
redraw: boolean;
};
paper_bgcolor: string;
plot_bgcolor: string;
playAll: boolean;
hovermode: string;
datarevision: number;
};