You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
931 B

4 months ago
import { ConstantOptions, Domain, Range } from '../types';
import { Base } from './base';
export declare class Constant extends Base<ConstantOptions> {
/**
*
* @returns
*/
protected getDefaultOptions(): ConstantOptions;
/**
* y = b b options.range
* @param _
* @returns
*/
map(_: Domain<ConstantOptions>): any;
/**
* x x === b []
* @param x (
* @returns
*/
invert(x: Range<ConstantOptions>): any[];
getTicks(): number[];
/**
* Constant Scale
* @returns Constant Scale
*/
clone(): Constant;
}