This is mixed in to child components that need to register data with the graph. Includes methods for extracting, sorting and scrubbing data for use in graphing components.
Gets the actual data at a rendered tracking point passed to it. This is overridden in nf-area to account for stacking of data.
the x domain value the data is rendered at
the y domain value the data is rendered at
the raw data from the point
simple x, y point structure
Gets or sets the data used by the component to plot itself.
The first element from renderedData that is actually visible within the x domain.
The last element from renderedData that is actually visible within the x domain.
The list of data points from mixins.graph-data-graphc/mappedData:property that fits within the x domain, plus up to one data point outside of that domain in each direction.
The path of the property on each object in data to use as x data to plot on the graph.
The function to get the x value from each data object
The path of the property on each object in data to use as y data to plot on the graph.
The function to get the y value from each data object