Skip to content

Commit 42c808b

Browse files
committed
Merge pull request #24 from agallou/stacklabels
added graph-yaxis-%ynumber%-stacklabels-enabled attribute
2 parents b219443 + bbecb56 commit 42c808b

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
@@ -270,7 +270,10 @@
270270
rotation: $table.data('graph-yaxis-'+yAxisNum+'-rotation') || 0
271271
},
272272
startOnTick: $table.data('graph-yaxis-'+yAxisNum+'-start-on-tick') !== "0",
273-
endOnTick: $table.data('graph-yaxis-'+yAxisNum+'-end-on-tick') !== "0"
273+
endOnTick: $table.data('graph-yaxis-'+yAxisNum+'-end-on-tick') !== "0",
274+
stackLabels : {
275+
enabled: $table.data('graph-yaxis-'+yAxisNum+'-stacklabels-enabled') == '1'
276+
}
274277
};
275278

276279
var callableYAxisFormatter = getCallable(table, 'graph-yaxis-'+yAxisNum+'-formatter-callback');

0 commit comments

Comments
 (0)