The array of series
A map association a series name with its axis assignments
The current axis state
an array of the distinct axes that cover all the series in the plot
Adjusts the range and updates the plot when the plot is dragged to the left or right
The amount that the plot is dragged
The dimensions of the plot
The axis being zoomed
The current range for the axis being zoomed
The updated range
Called when the user uses the scroll wheel (or scroll gesture) to zoom in or out. Zooms in/out at the location of the mouse when the scroll wheel or gesture was applied.
The d3 zoom transformation information
The x-position of the mouse when the scroll wheel or gesture is used
The current dimensions of the plot
The axis being zoomed
The current range for the axis being zoomed
The updated range and the new zoom factor
Higher-order function that generates a handler for pan events, given the distinct series IDs that cover all the axes in the chart, the margin, time-range update function, and the current state of the x-axes. This function returns a handler function. And this handler function adjusts the time-range when the plot is dragged to the left or right. After calling the handler function, the plot needs to be updated as well, and this is left for the caller.
Please note that the function generated by this function has side-effects -- it updates the time-ranges
The distinct axes that cover all the series
The plot margin
Function for setting the new time-range for a specific axis
The current state of the x-axes
A handler function for pan events
Higher-order function that generates a handler for pan events, given the distinct series IDs that cover all the axes in the chart, the margin, time-range update function, and the current state of the x-axes. This function returns a handler function. And this handler function adjusts the time-range when the plot is dragged to the left or right. After calling the handler function, the plot needs to be updated as well, and this is left for the caller.
Please note that the function generated by this function has side-effects -- it updates the time-ranges
A handler function for pan events
Calculates the time-intervals (start, end) for each of the x-axis
The x-axes representing the time
A map associating each x-axis with a (start, end) interval
Calculates the time-ranges for each of the axes in the map
The map containing the axes and their associated IDs
a map associating the axis IDs to their time-range
Higher-order function that generates a handler for zoom events, given the distinct series IDs that cover all the axes in the chart, the margin, time-range update function, and the current state of the x-axes. This function returns a handler function. And this handler function adjusts the time-range when the plot is zoomed. After calling the handler function, the plot needs to be updated as well, and this is left for the caller.
Please note that the function generated by this function has side-effects -- it updates the time-ranges
The distinct axes that cover all the series
The plot margin
Function for setting the new time-range for a specific axis
The current state of the x-axes
A handler function for pan events
Higher-order function that generates a handler for zoom events, given the distinct series IDs that cover all the axes in the chart, the margin, time-range update function, and the current state of the x-axes. This function returns a handler function. And this handler function adjusts the time-range when the plot is zoomed. After calling the handler function, the plot needs to be updated as well, and this is left for the caller.
Please note that the function generated by this function has side-effects -- it updates the time-ranges
A handler function for pan events
Generated using TypeDoc
Accepts the series, the assignment of the series to axes, and the current x-axes state, and returns a an array of the distinct axis IDs that cover all the series in the plot.