Skip to content

Commit a91b4bc

Browse files
committed
added changes done in issue highchartTable#8 in documentation
1 parent 85ae22b commit a91b4bc

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

index.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,7 @@ <h1>Documentation</h1>
409409
<li><a href="#doc-verticallines">Vertical lines</a></li>
410410
<li><a href="#doc-pie">Pie charts specific options</a></li>
411411
<li><a href="#doc-javascript">Dynamic options in javascript</a></li>
412+
<li><a href="#doc-changes">Changes</a></li>
412413
</ol>
413414

414415

@@ -1165,6 +1166,30 @@ <h2>10. Dynamic options in javascript</h2>
11651166

11661167
</section>
11671168

1169+
<section id="doc-changes">
1170+
1171+
<div class="page-header">
1172+
<h2>11. Changes</h2>
1173+
</div>
1174+
1175+
<p>
1176+
In issue <a href="https://github.com/highchartTable/jquery-highchartTable-plugin/issues/8">8</a> we removed the default value for the graph-yaxis-X-title-text attribute. If you were using it, here is an example of how you can get the default value back :
1177+
</p>
1178+
1179+
<pre class="prettyprint">
1180+
$('table.highchart')
1181+
.bind('highchartTable.beforeRender', function(event, highChartConfig) {
1182+
$.each(highChartConfig.yAxis, function (index, value) {
1183+
value.title.text = value.title.text || 'Valeur';
1184+
});
1185+
});
1186+
</pre>
1187+
1188+
1189+
</section>
1190+
1191+
1192+
11681193
</section>
11691194

11701195

0 commit comments

Comments
 (0)