File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -83,21 +83,21 @@ module.exports = function style(s, gd) {
83
83
}
84
84
85
85
function stylePoints ( d ) {
86
- var d0 = d [ 0 ] ,
87
- trace = d0 . trace ,
88
- showMarkers = subTypes . hasMarkers ( trace ) ,
89
- showText = subTypes . hasText ( trace ) ,
90
- showLines = subTypes . hasLines ( trace ) ;
91
-
86
+ var d0 = d [ 0 ] ;
87
+ var trace = d0 . trace ;
88
+ var showMarkers = subTypes . hasMarkers ( trace ) ;
89
+ var showText = subTypes . hasText ( trace ) ;
90
+ var showLines = subTypes . hasLines ( trace ) ;
92
91
var dMod , tMod ;
93
92
94
93
// 'scatter3d' and 'scattergeo' don't use gd.calcdata yet;
95
94
// use d0.trace to infer arrayOk attributes
96
95
97
96
function boundVal ( attrIn , arrayToValFn , bounds ) {
98
- var valIn = Lib . nestedProperty ( trace , attrIn ) . get ( ) ,
99
- valToBound = ( Array . isArray ( valIn ) && arrayToValFn ) ?
100
- arrayToValFn ( valIn ) : valIn ;
97
+ var valIn = Lib . nestedProperty ( trace , attrIn ) . get ( ) ;
98
+ var valToBound = ( Array . isArray ( valIn ) && arrayToValFn ) ?
99
+ arrayToValFn ( valIn ) :
100
+ valIn ;
101
101
102
102
if ( bounds ) {
103
103
if ( valToBound < bounds [ 0 ] ) return bounds [ 0 ] ;
You can’t perform that action at this time.
0 commit comments