Skip to content

pandasx / PlotOptions

Interface: PlotOptions ​

Defined in: src/plot.ts:22

Properties ​

PropertyTypeDescriptionDefined in
bins?numberHistogram bins (default 10).src/plot.ts:40
c?stringScatter: column whose values colour the dots (sequential blue).src/plot.ts:51
grid?booleanHorizontal gridlines (default true).src/plot.ts:36
gridsize?numberHexbin grid size (default 20).src/plot.ts:55
height?number-src/plot.ts:32
kind?PlotKind-src/plot.ts:23
layoutColumns?numberColumns of the subplot grid.src/plot.ts:47
legend?booleanShow the legend (default: when there are two or more series).src/plot.ts:34
logy?boolean-src/plot.ts:41
path?stringWrite the result to this path (.svg, or .html with a data table).src/plot.ts:57
s?numberScatter: dot radius (default 4).src/plot.ts:53
stacked?booleanStack bars / areas.src/plot.ts:38
subplots?booleanOne small chart per series instead of one chart with many.src/plot.ts:45
theme?"auto" | "light" | "dark"'auto' follows the viewer's colour scheme (default); force 'light' or 'dark'.src/plot.ts:49
title?string-src/plot.ts:28
width?number-src/plot.ts:31
x?stringColumn for the x axis (default: the index).src/plot.ts:25
xlabel?string-src/plot.ts:29
xlim?[number, number]-src/plot.ts:42
y?string | readonly string[]Column(s) to plot (default: all numeric columns).src/plot.ts:27
ylabel?string-src/plot.ts:30
ylim?[number, number]-src/plot.ts:43

Released under the MIT License.