From 55bec567b132fd36a5ae117780520d9037a0db06 Mon Sep 17 00:00:00 2001 From: des2k7 Date: Tue, 5 May 2015 11:24:27 +0200 Subject: [PATCH] xaxis label autorotation fix use undefined rather than 0 or center. --- jquery.highchartTable.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jquery.highchartTable.js b/jquery.highchartTable.js index 3c03126..6eb8502 100644 --- a/jquery.highchartTable.js +++ b/jquery.highchartTable.js @@ -381,8 +381,8 @@ }, labels: { - rotation: $table.data('graph-xaxis-rotation') || 0, - align: $table.data('graph-xaxis-align') || 'center', + rotation: $table.data('graph-xaxis-rotation') || undefined, + align: $table.data('graph-xaxis-align') || undefined, enabled: typeof xAxisLabelsEnabled != 'undefined' ? xAxisLabelsEnabled : true, style: xAxisLabelStyle },