File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 128128 var vlinex = $th . data ( 'graph-vline-x' ) ;
129129 if ( typeof vlinex == 'undefined' ) {
130130 thGraphConfig . scale = typeof columnScale != 'undefined' ? parseFloat ( columnScale ) : 1 ;
131- thGraphConfig . graphType = serieGraphType ;
131+ thGraphConfig . graphType = serieGraphType == 'column' && isGraphInverted ? 'bar' : serieGraphType ; ;
132132 thGraphConfig . stack = serieStackGroup ;
133133 thGraphConfig . unit = $th . data ( 'graph-unit' ) ;
134134 columns [ indexTh ] = thGraphConfig ;
157157 enabled : false
158158 } ,
159159 dataLabels : {
160- x : isGraphInverted ? 15 : 0 ,
161160 enabled : column . dataLabelsEnabled ,
162161 color : column . dataLabelsColor ,
163- align : $table . data ( 'graph-datalabels-align' ) || ' center'
162+ align : $table . data ( 'graph-datalabels-align' ) || ( globalGraphType == 'column' && isGraphInverted == 1 ? undefined : ' center')
164163 }
165164 } ;
166165
You can’t perform that action at this time.
0 commit comments