import { QuantileScale } from './QuantileScale' ; import { QuantizeScale } from './QuantizeScale' ; import { BandScale , OrdinalScale , PointScale } from './discrete' ; import { LinearScale , LogScale , PowScale , SequantialScale , SqrtScale , TimeScale , UtcScale , } from './quantitative' ; export * from './quantitative' ; export * from './discrete' ; export * from './QuantizeScale' ; export * from './QuantileScale' ; export { CategoricalColorScheme } from './colorSchemeMap' ; export const linear = ( name ) => new LinearScale ( ) . name ( name ) ; export const log = ( name ) => new LogScale ( ) . name ( name ) ; export const pow = ( name ) => new PowScale ( ) . name ( name ) ; export const sequential = ( name ) => new SequantialScale ( ) . name ( name ) ; export const sqrt = ( name ) => new SqrtScale ( ) . name ( name ) ; export const time = ( name ) => new TimeScale ( ) . name ( name ) ; export const utc = ( name ) => new UtcScale ( ) . name ( name ) ; export const band = ( name , bandwidth ? ) => new BandScale ( ) . name ( name ) . bandwidthName ( bandwidth ) ; export const ordinal = ( name ) => new OrdinalScale ( ) . name ( name ) ; export const point = ( name , step ? ) => new PointScale ( ) . name ( name ) . stepName ( step ) ; export const quantize = ( name ) => new QuantizeScale ( ) . name ( name ) ; export const quantile = ( name ) => new QuantileScale ( ) . name ( name ) ;