UNPKG

@antv/t8

Version:

T8 is a text visualization solution for unstructured data within the AntV technology stack, and it is a declarative T8 markdown syntax that can be used to describe the content of data interpretation reports.

25 lines 748 B
import { Scale, Selection } from '../utils'; import { ChartRenderFunction } from '../types'; /** * Highlight message interface */ export interface HighlightMessage { hoverOrNot: boolean; message: string | number; interactionType?: string; } /** * Rank chart configuration */ export interface RankChartConfig { data: number[]; drawSvgCallback?: (svg: Selection, xScale: Scale, yScale: Scale) => void; } /** * Renders a rank chart with bars * @param container - The container element * @param config - The rank chart configuration * @param drawSvgCallback - A callback function to draw the SVG on the chart */ export declare const renderRankChart: ChartRenderFunction<RankChartConfig>; //# sourceMappingURL=index.d.ts.map