     </div>
            
            <div class="content"><div class='highlight'><pre>$(<span class="hljs-string">&#x27;#enable_animations&#x27;</span>).on(<span class="hljs-string">&#x27;change&#x27;</span>, <span class="hljs-function"><span class="hljs-keyword">function</span> (<span class="hljs-params"></span>) </span>{
    (&lt;c3.Polar.Layer.Pie&lt;<span class="hljs-built_in">any</span>&gt;&gt;pie_chart.layers[<span class="hljs-number">0</span>]).arc_options.animate = <span class="hljs-built_in">this</