Class: PlotlyRoot

vef.plot.core.PlotlyRoot(graphDiv, dataopt, layoutopt, configopt)

Root class for plotly inheritance.

Constructor

new PlotlyRoot(graphDiv, dataopt, layoutopt, configopt)

Create a new root plot object.
Parameters:
Name Type Attributes Default Description
graphDiv HTMLElement Plotly graphDiv configuration.
data Array <optional>
[] Plotly data configuration.
layout Object <optional>
{} Plotly layout configuration.
config Object <optional>
{} Plotly config configuration.
Source:

Extends

  • UiElement

Methods

dispose()

Dispose of the plot by purging Plotly and calling the base class's dispose method.
Source: