Skip to content

Commit cae7592

Browse files
committed
Merge pull request #20 from pmartin/xaxis-labels-font-size
Added option "data-graph-xaxis-labels-font-size".
2 parents 79988a0 + 497fbbe commit cae7592

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

jquery.highchartTable.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,10 @@
347347
{
348348
rotation: $table.data('graph-xaxis-rotation') || 0,
349349
align: $table.data('graph-xaxis-align') || 'center',
350-
enabled: typeof xAxisLabelsEnabled != 'undefined' ? xAxisLabelsEnabled : true
350+
enabled: typeof xAxisLabelsEnabled != 'undefined' ? xAxisLabelsEnabled : true,
351+
style: {
352+
fontSize: $table.data('graph-xaxis-labels-font-size') || '100%'
353+
}
351354
},
352355
startOnTick: $table.data('graph-xaxis-start-on-tick'),
353356
endOnTick: $table.data('graph-xaxis-end-on-tick'),

0 commit comments

Comments
 (0)