danfojs
Version:
JavaScript library providing high performance, intuitive, and easy to use data structures for manipulating and processing structured data.
59 lines (58 loc) • 2.79 kB
TypeScript
import Series from "../core/series";
import DataFrame from "../core/frame";
import { PlotConfigObject, IPlotlyLib } from "../shared/types";
declare class PlotlyLib implements IPlotlyLib {
divId: string;
ndframe: DataFrame | Series;
constructor(ndframe: DataFrame | Series, divId: string);
private getPlotConfig;
/**
* Plot Series or DataFrame as lines.
* Uses Plotly library as backend, so supports Plotly's configuration parameters
* @param plotConfig configuration options for making Plots, supports Plotly.js Config and Layout parameters.
*/
line(plotConfig?: PlotConfigObject): void;
/**
* Plot Series or DataFrame as bars.
* Uses Plotly library as backend, so supports Plotly's configuration parameters
* @param plotConfig configuration options for making Plots, supports Plotly.js Config and Layout parameters.
*/
bar(plotConfig?: PlotConfigObject): void;
/**
* Plot Series or DataFrame as scatter.
* Uses Plotly library as backend, so supports Plotly's configuration parameters
* @param plotConfig configuration options for making Plots, supports Plotly.js Config and Layout parameters.
*/
scatter(plotConfig?: PlotConfigObject): void;
/**
* Plot Series or DataFrame as histogram.
* Uses Plotly library as backend, so supports Plotly's configuration parameters
* @param plotConfig configuration options for making Plots, supports Plotly.js Config and Layout parameters.
*/
hist(plotConfig?: PlotConfigObject): void;
/**
* Plot Series or DataFrame as pie.
* Uses Plotly library as backend, so supports Plotly's configuration parameters
* @param plotConfig configuration options for making Plots, supports Plotly.js Config and Layout parameters.
*/
pie(plotConfig?: PlotConfigObject): void;
/**
* Plot Series or DataFrame as boxplot.
* Uses Plotly library as backend, so supports Plotly's configuration parameters
* @param plotConfig configuration options for making Plots, supports Plotly.js Config and Layout parameters.
*/
box(plotConfig?: PlotConfigObject): void;
/**
* Plot Series or DataFrame as violinplot.
* Uses Plotly library as backend, so supports Plotly's configuration parameters
* @param plotConfig configuration options for making Plots, supports Plotly.js Config and Layout parameters.
*/
violin(plotConfig?: PlotConfigObject): void;
/**
* Plot Series or DataFrame as table.
* Uses Plotly library as backend, so supports Plotly's configuration parameters
* @param plotConfig configuration options for making Plots, supports Plotly.js Config and Layout parameters.
*/
table(plotConfig?: PlotConfigObject): void;
}
export { PlotlyLib };