pandasx / PlotOptions
Interface: PlotOptions
Defined in: src/plot.ts:22
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
bins? | number | Histogram bins (default 10). | src/plot.ts:40 |
c? | string | Scatter: column whose values colour the dots (sequential blue). | src/plot.ts:51 |
grid? | boolean | Horizontal gridlines (default true). | src/plot.ts:36 |
gridsize? | number | Hexbin grid size (default 20). | src/plot.ts:55 |
height? | number | - | src/plot.ts:32 |
kind? | PlotKind | - | src/plot.ts:23 |
layoutColumns? | number | Columns of the subplot grid. | src/plot.ts:47 |
legend? | boolean | Show the legend (default: when there are two or more series). | src/plot.ts:34 |
logy? | boolean | - | src/plot.ts:41 |
path? | string | Write the result to this path (.svg, or .html with a data table). | src/plot.ts:57 |
s? | number | Scatter: dot radius (default 4). | src/plot.ts:53 |
stacked? | boolean | Stack bars / areas. | src/plot.ts:38 |
subplots? | boolean | One 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? | string | Column 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 |