* 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)
| 3414 | * @param divId name of the HTML Div to render the chart in. |
| 3415 | */ |
| 3416 | plot(divId: string): IPlotlyLib { |
| 3417 | //TODO: Add support for check plot library to use. So we can support other plot library like d3, vega, etc |
| 3418 | if (utils.isBrowserEnv()) { |
| 3419 | const plt = new PlotlyLib(this, divId); |
| 3420 | return plt; |
| 3421 | } else { |
| 3422 | throw new Error("Not supported in NodeJS"); |
| 3423 | } |
| 3424 | } |
| 3425 | } |
nothing calls this directly
no test coverage detected