Commit bc8c2428 authored by Joshua Gould's avatar Joshua Gould

chart hover mode

parent a86107b5
This diff is collapsed.
This diff is collapsed.
......@@ -228,6 +228,7 @@ morpheus.ChartTool2 = function (chartOptions) {
morpheus.ChartTool2.getPlotlyDefaults = function () {
var layout = {
hovermode: 'closest',
autosize: false,
paper_bgcolor: 'rgb(255,255,255)',
plot_bgcolor: 'rgb(229,229,229)',
......
......@@ -621,9 +621,14 @@ morpheus.HeatMap.showTool = function (tool, controller, callback) {
}
}
}
var toolName = tool.toString();
var parenIndex = toolName.indexOf('(');
if (parenIndex !== -1) {
toolName = toolName.substring(0, parenIndex).trim();
}
morpheus.Util.trackEvent({
eventCategory: 'Tool',
eventAction: tool.toString()
eventAction: toolName
});
};
morpheus.HeatMap.getSpaces = function (groupByKeys, length, gapSize) {
......@@ -863,6 +868,10 @@ morpheus.HeatMap.prototype = {
project.setRowSortKeys(sortKeys, true);
this.scrollTop(0);
}
morpheus.Util.trackEvent({
eventCategory: 'Tool',
eventAction: isColumns ? 'sortRowsBasedOnSelection' : 'sortColumnsBasedOnSelection'
});
},
getToolbarElement: function () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment