File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 103103 skippedColumns = skippedColumns + 1 ;
104104 }
105105
106- var object = {
106+ var thGraphConfig = {
107107 libelle : $ ( th ) . text ( ) ,
108108 skip : isColumnSkipped ,
109109 indexTd : indexTh - skippedColumns - 1 ,
114114 } ;
115115
116116 if ( typeof $ ( th ) . data ( 'graph-vline-x' ) == 'undefined' ) {
117- object . scale = typeof columnScale != 'undefined' ? parseFloat ( columnScale ) : 1 ;
118- object . graphType = serieGraphType ;
119- object . stack = serieStackGroup ;
120- object . unit = $ ( th ) . data ( 'graph-unit' ) ;
121- columns [ indexTh ] = object ;
117+ thGraphConfig . scale = typeof columnScale != 'undefined' ? parseFloat ( columnScale ) : 1 ;
118+ thGraphConfig . graphType = serieGraphType ;
119+ thGraphConfig . stack = serieStackGroup ;
120+ thGraphConfig . unit = $ ( th ) . data ( 'graph-unit' ) ;
121+ columns [ indexTh ] = thGraphConfig ;
122122 } else {
123- object . x = $ ( th ) . data ( 'graph-vline-x' ) ;
124- object . height = $ ( th ) . data ( 'graph-vline-height' ) ;
125- object . name = $ ( th ) . data ( 'graph-vline-name' ) ;
126- vlines [ indexTh ] = object ;
123+ thGraphConfig . x = $ ( th ) . data ( 'graph-vline-x' ) ;
124+ thGraphConfig . height = $ ( th ) . data ( 'graph-vline-height' ) ;
125+ thGraphConfig . name = $ ( th ) . data ( 'graph-vline-name' ) ;
126+ vlines [ indexTh ] = thGraphConfig ;
127127 }
128128 } ) ;
129129
You can’t perform that action at this time.
0 commit comments