UNPKG

@future-grid/fgp-graph

Version:

fgp-graph is a chart lib based on Dygraphs

27 lines (26 loc) 856 B
import { GraphCollection } from "../../../metadata/configurations"; export default class Badges { parentElement: Element; collection: Array<GraphCollection>; collectionSelectionListener?: ((collections: GraphCollection[]) => void) | undefined; protected badgesArray: Array<HTMLSpanElement>; private dateWindow; private lockedCollection?; constructor(parentElement: Element, collection: Array<GraphCollection>, collectionSelectionListener?: ((collections: GraphCollection[]) => void) | undefined); /** * * @param label */ private lockOrUnlockInterval; private initDom; /** * current collection * @param collection */ autoSelect: (collection: GraphCollection) => void; /** * 2 numbers * @param dateWindow */ setDateWindow: (dateWindow: number[]) => void; }