| @@ -16,9 +16,9 @@ | ||
| 16 | 16 | delete settings['width']; |
| 17 | 17 | delete settings['height']; |
| 18 | 18 | |
| 19 | 19 | v.charts.canvas.settings = settings; |
| 20 | - v.render(); | |
| 20 | + v.update(); | |
| 21 | 21 | }, 1000); |
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | function validateJSON() { |
| @@ -30,9 +30,9 @@ | ||
| 30 | 30 | } |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | $('.control-text').change(updateChart).keyup(updateChart); |
| 34 | - $('.control-select, .control-checkbox').change(updateChart); | |
| 34 | + $('.control-select, .control-checkbox, .control-check').change(updateChart); | |
| 35 | 35 | $('.color-picker-hex').wpColorPicker({ |
| 36 | 36 | change: updateChart, |
| 37 | 37 | clear: updateChart |
| 38 | 38 | }); |