|
|
@@ -180,8 +180,9 @@ frappe.activity.render_heatmap = function(page) { |
|
|
|
method: "frappe.desk.page.activity.activity.get_heatmap_data", |
|
|
|
callback: function(r) { |
|
|
|
if(r.message) { |
|
|
|
var heatmap = new frappe.ui.HeatMap({ |
|
|
|
parent: $(".heatmap"), |
|
|
|
var heatmap = new Chart({ |
|
|
|
parent: ".heatmap", |
|
|
|
type: 'heatmap', |
|
|
|
height: 100, |
|
|
|
start: new Date(moment().subtract(1, 'year').toDate()), |
|
|
|
count_label: "actions", |
|
|
|