UNPKG

@antv/g2plot

Version:

G2 Plot, a market of plots built with the Grammar of Graphics'

12 lines (11 loc) 460 B
import LineLayer, { LineLayerConfig, LineViewConfig } from '../line/layer'; import { LayerConfig } from '../..'; export interface StepLineViewConfig extends LineViewConfig { readonly step?: 'hv' | 'vh' | 'vhv' | 'hvh'; } export interface StepLineLayerConfig extends StepLineViewConfig, LayerConfig { } export declare class StepLineLayer extends LineLayer<StepLineLayerConfig> { type: string; static getDefaultOptions(): Partial<LineLayerConfig>; }