Skip to content

Commit

Permalink
fix: liquid types
Browse files Browse the repository at this point in the history
  • Loading branch information
paleface001 committed Mar 27, 2020
1 parent 8781ba9 commit d666629
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/plots/liquid/layer.ts
Expand Up @@ -5,7 +5,7 @@ import { LayerConfig } from '../../base/layer';
import ViewLayer, { ViewConfig } from '../../base/view-layer';
import { getGeom } from '../../geoms/factory';
import { extractScale } from '../../util/scale';
import { DataItem } from '../../interface/config';
import { DataItem, TextStyle } from '../../interface/config';
import { rgb2arr } from '../../util/color';
import * as EventParser from './event';
import './geometry/shape/liquid';
Expand All @@ -25,15 +25,12 @@ export interface LiquidViewConfig extends Partial<ViewConfig> {
statistic?: {
visible?: boolean;
adjustColor?: boolean;
style?: {};
formatter?: (value) => string;
};
min: number;
max: number;
value: number;
liquidStyle?: LiquidStyle | ((...args: any[]) => LiquidStyle);
type?: string;
showValue?: boolean;
}

export interface LiquidLayerConfig extends LiquidViewConfig, LayerConfig {
Expand Down

0 comments on commit d666629

Please sign in to comment.