Skip to content

Commit 81b654b

Browse files
committed
the fontSize default value must be in "px" or in "em", not in "%", if we use "%" IE put x axis in the middle of the graph
1 parent cae7592 commit 81b654b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.highchartTable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@
349349
align: $table.data('graph-xaxis-align') || 'center',
350350
enabled: typeof xAxisLabelsEnabled != 'undefined' ? xAxisLabelsEnabled : true,
351351
style: {
352-
fontSize: $table.data('graph-xaxis-labels-font-size') || '100%'
352+
fontSize: $table.data('graph-xaxis-labels-font-size') || '1em'
353353
}
354354
},
355355
startOnTick: $table.data('graph-xaxis-start-on-tick'),

0 commit comments

Comments
 (0)