diff --git a/jquery.highchartTable.js b/jquery.highchartTable.js index 10c5a2b..8f0e7c2 100644 --- a/jquery.highchartTable.js +++ b/jquery.highchartTable.js @@ -404,8 +404,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 },