You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/charts/BarChart/BarChart.ts
+26-13Lines changed: 26 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -116,8 +116,9 @@ const defaultOptions = {
116
116
seriesBarDistance: 15,
117
117
// If set to true this property will cause the series bars to be stacked. Check the `stackMode` option for further stacking options.
118
118
stackBars: false,
119
-
// If set to 'overlap' this property will force the stacked bars to draw from the zero line.
119
+
// If set to true this property will force the stacked bars to draw from the zero line.
120
120
// If set to 'accumulate' this property will form a total for each series point. This will also influence the y-axis and the overall bounds of the chart. In stacked mode the seriesBarDistance property will have no effect.
121
+
// If set to 'accumulate-relative' positive and negative values will be handled separately.
121
122
stackMode: 'accumulate'asconst,
122
123
// Inverts the axes of the bar chart in order to draw a horizontal bar chart. Be aware that you also need to invert your axis settings as the Y Axis will now display the labels and the X Axis the values.
123
124
horizontalBars: false,
@@ -344,8 +345,13 @@ export class BarChart extends BaseChart<BarChartEventsTypes> {
* If set to 'overlap' this property will force the stacked bars to draw from the zero line.
46
+
* If set to true this property will force the stacked bars to draw from the zero line.
47
47
* If set to 'accumulate' this property will form a total for each series point. This will also influence the y-axis and the overall bounds of the chart. In stacked mode the seriesBarDistance property will have no effect.
48
+
* If set to 'accumulate-relative' positive and negative values will be handled separately.
* Inverts the axes of the bar chart in order to draw a horizontal bar chart. Be aware that you also need to invert your axis settings as the Y Axis will now display the labels and the X Axis the values.
0 commit comments