/** * Representation of a point on a graph. */ export interface GraphPoint { /** * The value of the point. */ value: number; /** * A label to name the point. */ label: string; /** * The increased percentage on tangent graph. */ increasePercent?: number; } /** * A non-visual graph to analyze variation in datas. */ export declare class LazyDataGraph { private _points; private isTan; /** * Create a new graph with some points. * @param {GraphPoint[]} datas An array of points on the graph. */ constructor(...datas: GraphPoint[]); /** * Get the points on the graph. */ get points(): GraphPoint[]; /** * Set the points on the graph. */ set points(pts: GraphPoint[]); /** * Check if the graph is a tangent graph or a root graph. * @returns {boolean} True if the graph is a tangent graph. */ isTangentGraph(): boolean; /** * Get the tangent graph, showing the difference happening between each points and the increased / decreased percentage. * @returns {LazyDataGraph} The tangent graph. */ getTangentGraph(): LazyDataGraph; /** * Generate a bunch of tangent points from this graph. * @returns {GraphPoint[]} The tangent points array. */ generateSlope(): GraphPoint[]; } //# sourceMappingURL=lazyDataGraph.d.ts.map