Constructor
new PlotlyDemoFilterPlot(graphDiv, dataopt, layoutopt, configopt)
Constructs a new plotly demo 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. |
Extends
- PlotlyVefPlot
Methods
filterData()
Filter the data based on the selected points inside the plot.