assets/plugins/chart.js in dasht-0.1.0 vs assets/plugins/chart.js in dasht-0.1.1
- old
+ new
@@ -1,9 +1,12 @@
Dasht.chart_init = function(el, options) {
var chart = $(el).find(".chart");
var chart_el = chart.get()[0];
var old_data = 0;
+
+ // Set the value height to be tile height minus title height.
+ Dasht.fill_tile($(el).find(".title"), true, false);
Dasht.fill_tile(chart);
// Create some empty values.
var labels = [];
var data = [];