Filter history modal on graphs based on clicked series

This commit is contained in:
JonnyWong16 2016-03-04 22:21:34 -08:00
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: [{}]
};

View file

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