Filter history modal on graphs based on clicked series

This commit is contained in:
JonnyWong16
2016-03-04 22:21:34 -08:00
parent e8a65df7f0
commit efdc050a28
5 changed files with 38 additions and 15 deletions

View File

@@ -28,8 +28,8 @@ var hc_plays_by_day_options = {
cursor: 'pointer',
point: {
events: {
click: function() {
selectHandler(this.category);
click: function () {
selectHandler(this.category, this.series.name);
}
}
}
@@ -60,7 +60,8 @@ var hc_plays_by_day_options = {
}
},
tooltip: {
shared: true
shared: true,
crosshairs: true
},
series: [{}]
};