Skip to content

Commit

Permalink
fix: sparkline types
Browse files Browse the repository at this point in the history
  • Loading branch information
paleface001 committed Mar 30, 2020
1 parent 2180bd2 commit d715a56
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/sparkline/progress/layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@ import { getGeom } from '../../geoms/factory';
import TinyLayer, { TinyViewConfig } from '../tiny-layer';
import Marker, { MarkerConfig } from './component/marker';
import * as EventParser from './event';
import { IStyle } from '../../interface/config';
import { GraphicStyle } from '../../interface/config';

export interface ProgressViewConfig extends TinyViewConfig {
stackField?: number;
progressStyle?: any; // FIXME:
progressStyle?: GraphicStyle;
percent?: number;
size?: number;
marker?: MarkerConfig[];
/** @ignore */
barSize?: number;
barStyle?: IStyle;
/** @ignore */
barStyle?: GraphicStyle;
/** @ignore */
stackField?: string;
}

interface UpdateConfig {
Expand Down

0 comments on commit d715a56

Please # to comment.