rms-sparklines
Version:
A sparkline collection, written as web components
15 lines (14 loc) • 448 B
TypeScript
/// <reference types="mathjs" />
import { Matrix } from 'mathjs';
export declare class Bar3d {
lowerLeft: Matrix;
upperRight: Matrix;
fillColor: string;
originalHeight: number;
constructor(lowerLeft: Matrix, upperRight: Matrix, fillColor: string, originalHeight: number);
getWidth(): number;
getLowerLeftX(): number;
getLowerLeftY(): number;
getHeight(): number;
draw(ctx: CanvasRenderingContext2D): void;
}