Interface: AreaChartOptions
Defined in: src/mobjects/graphing/AreaChart.ts:10
Options for creating an AreaChart.
Properties
axes?
optionalaxes:Axes
Defined in: src/mobjects/graphing/AreaChart.ts:28
An existing Axes to plot onto. When omitted, one is built from the data.
axisColor?
optionalaxisColor:string
Defined in: src/mobjects/graphing/AreaChart.ts:38
Color for the axes when auto-building. Default: white
baseline?
optionalbaseline:number
Defined in: src/mobjects/graphing/AreaChart.ts:18
Baseline each (unstacked) area fills down to. Default: 0
fillOpacity?
optionalfillOpacity:number
Defined in: src/mobjects/graphing/AreaChart.ts:24
Fill opacity for the areas. Default: 0.4
lineWidth?
optionallineWidth:number
Defined in: src/mobjects/graphing/AreaChart.ts:26
Stroke width for the top line. Default: 3
seriesColors?
optionalseriesColors:string|string[]
Defined in: src/mobjects/graphing/AreaChart.ts:20
Series colors for fills and lines. Single color or array. Default: Manim palette
seriesNames?
optionalseriesNames:string[]
Defined in: src/mobjects/graphing/AreaChart.ts:22
Series names for the legend. Default: []
stacked?
optionalstacked:boolean
Defined in: src/mobjects/graphing/AreaChart.ts:16
Stack the series so each area rests on the sum below it. Default: false
values
values:
number[] |number[][]
Defined in: src/mobjects/graphing/AreaChart.ts:12
Y-values as [series][point]. A flat array is treated as a single series.
xLength?
optionalxLength:number
Defined in: src/mobjects/graphing/AreaChart.ts:34
Visual length of the x-axis when auto-building axes. Default: 8
xRange?
optionalxRange: [number,number] | [number,number,number]
Defined in: src/mobjects/graphing/AreaChart.ts:30
X-axis range override as [min, max] or [min, max, step].
xValues?
optionalxValues:number[]
Defined in: src/mobjects/graphing/AreaChart.ts:14
Shared x-values, one per point. Default: indices 0, 1, 2, ...
yLength?
optionalyLength:number
Defined in: src/mobjects/graphing/AreaChart.ts:36
Visual length of the y-axis when auto-building axes. Default: 6
yRange?
optionalyRange: [number,number] | [number,number,number]
Defined in: src/mobjects/graphing/AreaChart.ts:32
Y-axis range override as [min, max] or [min, max, step].