Skip to content

Commit 2e73dc1

Browse files
Adding stacked area charts
1 parent aaff40f commit 2e73dc1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-pivottable",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"description": "A React-based pivot table",
55
"main": "PivotTableUI.js",
66
"files": [

src/PlotlyRenderers.jsx

+1
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ export default function createPlotlyRenderers(PlotlyComponent) {
199199
),
200200
'Line Chart': makeRenderer(PlotlyComponent),
201201
'Dot Chart': makeRenderer(PlotlyComponent, {mode: 'markers'}, {}, true),
202+
'Area Chart': makeRenderer(PlotlyComponent, {stackgroup: 1}),
202203
'Scatter Chart': makeScatterRenderer(PlotlyComponent),
203204
};
204205
}

0 commit comments

Comments
 (0)