UNPKG

ontotext-reusable-ui-components

Version:

Unified reusable UI components designed for the Ontotext ecosystem.

21 lines (20 loc) 741 B
import { AfterViewInit, OnChanges, SimpleChanges } from '@angular/core'; import { SearchFacetModel } from '../../models/search-facet-model'; import { SearchRangeFacetGroupModel } from '../models/search-range-facet-group-model'; export declare class RangeHistogramComponent implements AfterViewInit, OnChanges { /** * Facet data holder. */ data: SearchRangeFacetGroupModel; private canvas; private ctx; private histogramModel; ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): void; init(): void; drawHistogram(data: any): void; fitToContainer(canvas: any): void; compare(a: SearchFacetModel, b: SearchFacetModel): number; private fillEmptyValues; private parseInt; }