Skip to content

Commit c882da4

Browse files
relative barmodes
1 parent 4728325 commit c882da4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PlotlyRenderers.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export default function createPlotlyRenderers(PlotlyComponent) {
161161
'Stacked Column Chart': makeRenderer(
162162
PlotlyComponent,
163163
{type: 'bar'},
164-
{barmode: 'stack'}
164+
{barmode: 'relative'}
165165
),
166166
'Grouped Bar Chart': makeRenderer(
167167
PlotlyComponent,
@@ -172,7 +172,7 @@ export default function createPlotlyRenderers(PlotlyComponent) {
172172
'Stacked Bar Chart': makeRenderer(
173173
PlotlyComponent,
174174
{type: 'bar', orientation: 'h'},
175-
{barmode: 'stack'},
175+
{barmode: 'relative'},
176176
true
177177
),
178178
'Line Chart': makeRenderer(PlotlyComponent),

0 commit comments

Comments
 (0)