* Exposes functions for creating charts from a DataFrame. * Charts are created using the Plotly.js library, so all Plotly's configuration parameters are available. * @param divId name of the HTML Div to render the chart in.
(divId: string)
| 2180 | * @param divId name of the HTML Div to render the chart in. |
| 2181 | */ |
| 2182 | plot(divId: string): IPlotlyLib { |
| 2183 | //TODO: Add support for check plot library to use. So we can support other plot library like d3, vega, etc |
| 2184 | if (utils.isBrowserEnv()) { |
| 2185 | const plt = new PlotlyLib(this, divId); |
| 2186 | return plt; |
| 2187 | } else { |
| 2188 | throw new Error("Not supported in NodeJS"); |
| 2189 | } |
| 2190 | } |
| 2191 | } |
nothing calls this directly
no test coverage detected