From a91b4bcb9ca0cc5c6b8e393f4c6017ea63eeccad Mon Sep 17 00:00:00 2001 From: Adrien Gallou Date: Sat, 12 Oct 2013 20:06:27 +0200 Subject: [PATCH] added changes done in issue #8 in documentation --- index.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/index.html b/index.html index 9b2505f..dc967b2 100644 --- a/index.html +++ b/index.html @@ -409,6 +409,7 @@

Documentation

  • Vertical lines
  • Pie charts specific options
  • Dynamic options in javascript
  • +
  • Changes
  • @@ -1165,6 +1166,30 @@

    10. Dynamic options in javascript

    +
    + + + +

    + In issue 8 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 : +

    + +
    +  $('table.highchart')
    +  .bind('highchartTable.beforeRender', function(event, highChartConfig) {
    +    $.each(highChartConfig.yAxis, function (index, value)   {
    +      value.title.text = value.title.text || 'Valeur';
    +    });
    +  });
    +          
    + + +
    + + +