import { Scale } from '.' ; import { ScaleType } from './constants' ; import { ScaleBand } from './scale_band' ; import { ScaleContinuous } from './scale_continuous' ; internal export function isLogarithmicScale ( scale ) { return scale . type === ScaleType . Log ; } internal export function isBandScale < T extends number | string > ( scale ) { return scale . type === ScaleType . Ordinal ; } internal export function isContinuousScale ( scale ) { return scale . type !== ScaleType . Ordinal ; } public export interface LogScaleOptions { /**
     * Min value to render on log scale
     *
     * Defaults to min value of domain, or LOG_MIN_ABS_DOMAIN if mixed polarity
     */ logMinLimit ? : number ; defaultValue logBase ? : number ; }