How to create a drag selection on only one series in a timeline?
I'm looking for something similar to this, but on a timeline: https://jsfiddle.net/gh/get/library/pur ... on-points/
The 'zooming' can be used to select points, but it selects all series in a timeline:
Code: Select all
chart: {
renderTo: 'timeline',
type: 'xrange',
zooming: { type: 'x', resetButton: { position: { align: 'left', verticalAlign: 'top' } } },
events: {
redraw() {
if (this.resetZoomButton) this.resetZoomButton.hide()
$('#btn_reset_view').prop('disabled', false)
$page.redrawEvent()
},
click: function () {
$page.resetView()
},
selection: selectPointsByDrag
}
},
But e.g. I want to select only the upper set of point, not both...
Like this: How is this possible? Perhaps something other than 'zooming' bar?