Class: PlotlyTimeLinePlot

vef.plot.templates.PlotlyTimeLinePlot(graphDiv, dataopt, layoutopt, configopt)

Represents a plot configuration using Plotly with additional features for filtering.

Constructor

new PlotlyTimeLinePlot(graphDiv, dataopt, layoutopt, configopt)

Constructs a new time line plot object.
Parameters:
Name Type Attributes Default Description
graphDiv HTMLElement The HTML element representing the graph container.
data Array <optional>
[] The data to be plotted.
layout Object <optional>
{} The layout configuration for the plot.
config Object <optional>
{} The configuration options for the plot.
Source:

Extends

  • PlotlyVefPlot

Methods

filterData(callback)

Filter the data based on the selected points inside the plot.
Parameters:
Name Type Description
callback function Callback that is applied on data selection and deselection.
Source: