File tree 3 files changed +20
-10
lines changed
3 files changed +20
-10
lines changed Original file line number Diff line number Diff line change @@ -12,19 +12,24 @@ var scatterAttrs = require('../../../traces/scatter/attributes');
12
12
var scatterMarkerAttrs = scatterAttrs . marker ;
13
13
var extendFlat = require ( '../../../lib/extend' ) . extendFlat ;
14
14
15
- var deprecationWarning = 'Area traces are deprecated!' ;
15
+ var deprecationWarning = [
16
+ 'Area traces are deprecated!' ,
17
+ 'Please switch to the *barpolar* trace type.'
18
+ ] . join ( ' ' ) ;
16
19
17
20
module . exports = {
18
21
r : extendFlat ( { } , scatterAttrs . r , {
19
22
description : [
20
23
deprecationWarning ,
21
- scatterAttrs . r . description
24
+ 'Sets the radial coordinates' ,
25
+ 'for legacy polar chart only.'
22
26
] . join ( ' ' )
23
27
} ) ,
24
28
t : extendFlat ( { } , scatterAttrs . t , {
25
29
description : [
26
30
deprecationWarning ,
27
- scatterAttrs . t . description
31
+ 'Sets the angular coordinates' ,
32
+ 'for legacy polar chart only.'
28
33
] . join ( ' ' )
29
34
} ) ,
30
35
marker : {
Original file line number Diff line number Diff line change @@ -13,7 +13,10 @@ var axesAttrs = require('../../cartesian/layout_attributes');
13
13
var extendFlat = require ( '../../../lib/extend' ) . extendFlat ;
14
14
var overrideAll = require ( '../../../plot_api/edit_types' ) . overrideAll ;
15
15
16
- var deprecationWarning = 'Legacy polar charts are deprecated!' ;
16
+ var deprecationWarning = [
17
+ 'Legacy polar charts are deprecated!' ,
18
+ 'Please switch to *polar* subplots.'
19
+ ] . join ( ' ' ) ;
17
20
18
21
var domainAttr = extendFlat ( { } , axesAttrs . domain , {
19
22
description : [
Original file line number Diff line number Diff line change @@ -544,18 +544,20 @@ module.exports = {
544
544
valType : 'data_array' ,
545
545
editType : 'calc' ,
546
546
description : [
547
- 'For legacy polar chart only.' ,
548
- 'Please switch to *scatterpolar* trace type.' ,
549
- 'Sets the radial coordinates.'
547
+ 'r coordinates in scatter traces are deprecated!' ,
548
+ 'Please switch to the *scatterpolar* trace type.' ,
549
+ 'Sets the radial coordinates' ,
550
+ 'for legacy polar chart only.'
550
551
] . join ( '' )
551
552
} ,
552
553
t : {
553
554
valType : 'data_array' ,
554
555
editType : 'calc' ,
555
556
description : [
556
- 'For legacy polar chart only.' ,
557
- 'Please switch to *scatterpolar* trace type.' ,
558
- 'Sets the angular coordinates.'
557
+ 't coordinates in scatter traces are deprecated!' ,
558
+ 'Please switch to the *scatterpolar* trace type.' ,
559
+ 'Sets the angular coordinates' ,
560
+ 'for legacy polar chart only.'
559
561
] . join ( '' )
560
562
}
561
563
} ;
You can’t perform that action at this time.
0 commit comments