File tree 3 files changed +0
-24
lines changed
3 files changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -295,17 +295,6 @@ exports.cleanData = function(data) {
295
295
delete trace . error_y . opacity ;
296
296
}
297
297
298
- // convert bardir to orientation, and put the data into
299
- // the axes it's eventually going to be used with
300
- if ( 'bardir' in trace ) {
301
- if ( trace . bardir === 'h' && ( traceIs ( trace , 'bar' ) ||
302
- trace . type . substr ( 0 , 9 ) === 'histogram' ) ) {
303
- trace . orientation = 'h' ;
304
- exports . swapXYData ( trace ) ;
305
- }
306
- delete trace . bardir ;
307
- }
308
-
309
298
// now we have only one 1D histogram type, and whether
310
299
// it uses x or y data depends on trace.orientation
311
300
if ( trace . type === 'histogramy' ) exports . swapXYData ( trace ) ;
Original file line number Diff line number Diff line change @@ -227,13 +227,4 @@ module.exports = {
227
227
editType : 'style'
228
228
} ,
229
229
zorder : scatterAttrs . zorder ,
230
-
231
- _deprecated : {
232
- bardir : {
233
- valType : 'enumerated' ,
234
- editType : 'calc' ,
235
- values : [ 'v' , 'h' ] ,
236
- description : 'Renamed to `orientation`.'
237
- }
238
- }
239
230
} ;
Original file line number Diff line number Diff line change @@ -246,9 +246,5 @@ module.exports = {
246
246
selected : barAttrs . selected ,
247
247
unselected : barAttrs . unselected ,
248
248
249
- _deprecated : {
250
- bardir : barAttrs . _deprecated . bardir
251
- } ,
252
-
253
249
zorder : barAttrs . zorder
254
250
} ;
You can’t perform that action at this time.
0 commit comments