UNPKG

fybdp-d3-kg

Version:

Knowledge Graph using React and D3.js

33 lines (32 loc) 1.06 kB
import { Component } from 'react'; import { ChartShallowDataShape } from '../common/data'; import { HeatmapProps } from './Heatmap'; import { CalendarView } from './calendarUtils'; export interface CalendarHeatmapProps extends Omit<HeatmapProps, 'data'> { /** * Chart data shape. */ data: ChartShallowDataShape[]; /** * Height of the component. */ height: number; /** * Width of the component. */ width: number; /** * View of the calendar renderer. */ view: CalendarView; } export declare class CalendarHeatmap extends Component<CalendarHeatmapProps> { static defaultProps: Partial<CalendarHeatmapProps>; getDataDomains: (rawData: ChartShallowDataShape<string | number | Date | import("big-integer").BigInteger | [import("../common/data").ChartDataTypes, import("../common/data").ChartDataTypes]>[], view: CalendarView) => { data: any[]; yDomain: any; xDomain: any; start: Date; }; render(): JSX.Element; }