Commits

Chris Leonello committed 058e50b

Updated examples.

Comments (0)

Files changed (2)

examples/kcp_engel.php

             placement: "outsideGrid",
             labels: labels,
             location: "ne",
-            rowSpacing: "0px"
+            rowSpacing: "0px",
+            rendererOptions: {
+                // set to true to replot when toggling series on/off
+                // set to an options object to pass in replot options.
+                seriesToggleReplot: {resetAxes: true}
+            }
         },
         axes: {
             xaxis: {
+                label: 'Population Percentile',
                 pad: 1.01,
                 tickOptions: {
                     showGridline: false
                 }
             },
             yaxis: {
+                label: 'Share in Total Expenditure',
+                tickOptions: {
+                    suffix: '%'
+                },
                 padMin: 0,
                 padMax: 1.05
             }

examples/kcp_pyramid_by_age.php

                     showMinorTicks: true,
                     ticks: ticks,
                     rendererOptions: {
-                        tickSpacingFactor: 12,
+                        tickSpacingFactor: 13,
                         category: true
                     }
                 },
                     showMinorTicks: true,
                     ticks: ticks,
                     rendererOptions: {
-                        tickSpacingFactor: 12,
+                        tickSpacingFactor: 13,
                         category: true
                     }
                 },