Skip to content

Commit 6d639cf

Browse files
committed
add transforms for more traces
1 parent 61c95e6 commit 6d639cf

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/components/containers/TransformAccordion.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ class TransformAccordion extends Component {
9797

9898
const payload = {type};
9999
if (type === 'filter') {
100+
payload.target = [];
100101
payload.targetsrc = null;
101102
} else {
102103
payload.groupssrc = null;

src/lib/constants.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,14 @@ export const TRANSFORMS_LIST = ['filter', 'groupby', 'aggregate', 'sort'];
107107

108108
export const TRANSFORMABLE_TRACES = [
109109
'scatter',
110-
'bar',
111110
'scattergl',
112-
'histogram',
113-
'histogram2d',
114111
'box',
115112
'violin',
113+
'bar',
114+
'ohlc',
115+
'candlestick',
116+
'histogram',
117+
'histogram2d',
116118
];
117119

118120
export const COLORS = {

0 commit comments

Comments
 (0)