UNPKG

392 BTypeScriptView Raw
1import { ScaleType } from './types';
2/**
3 * Based on the data, return an array with unique values.
4 *
5 * @export
6 * @returns array
7 */
8export declare function getUniqueXDomainValues(results: any[]): any[];
9/**
10 * Get the scaleType of enumerable of values.
11 * @returns 'time', 'linear' or 'ordinal'
12 */
13export declare function getScaleType(values: any[], checkDateType?: boolean): ScaleType;