{
        (&lt;c3.Polar.Layer.Pie&lt;<span class="hljs-built_in">any</span>&gt;&gt;pie_chart.layers[<span class="hljs-number">0</span>]).limit_elements = +$(<span class="hljs-built_in">this</span>).val();
        pie_chart.redraw();
        (&lt;c3.Polar.Layer.Pie&lt;<span class="hljs-built_in">any</span>&gt;&gt;half_moon_chart.layers[<span class="hljs-number">0</span>]).limit_elements = +$(<span class="hljs-built_in">this</span>).val();
        half_moon_chart.redraw();
        (&lt;c3.Polar.Layer.Arc&lt;<