Class: PlotlyVefPlot

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

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

Constructor

new PlotlyVefPlot(graphDiv, dataopt, layoutopt, configopt)

Constructs a new PlotlyVefPlot 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

  • PlotlyRoot

Methods

(static) getCssVariable(name) → {String}

Returns a css variable from the theme.
Parameters:
Name Type Description
name String Name of the css variable.
Source:
Returns:
Variable content.
Type
String