Skip to content

Commit 55bec56

Browse files
committed
xaxis label autorotation fix
use undefined rather than 0 or center.
1 parent b0df9fa commit 55bec56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jquery.highchartTable.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@
381381
},
382382
labels:
383383
{
384-
rotation: $table.data('graph-xaxis-rotation') || 0,
385-
align: $table.data('graph-xaxis-align') || 'center',
384+
rotation: $table.data('graph-xaxis-rotation') || undefined,
385+
align: $table.data('graph-xaxis-align') || undefined,
386386
enabled: typeof xAxisLabelsEnabled != 'undefined' ? xAxisLabelsEnabled : true,
387387
style: xAxisLabelStyle
388388
},

0 commit comments

Comments
 (0)