@antv/t8
Version:
T8 is a text visualization solution for unstructured data within the AntV technology stack, and it is a declarative JSON Schema syntax that can be used to describe the content of data interpretation reports.
15 lines • 521 B
TypeScript
/**
* React hook for line chart computation
* Creates and updates a Line instance when size or data changes
*
* @param size - Base size of the chart (typically derived from font size)
* @param data - Array of numeric values to visualize
* @returns Object containing dimensions and path data for rendering
*/
export declare const useLineCompute: (size: number, data: number[]) => {
width: number;
height: number;
linePath: string;
polygonPath: string;
};
//# sourceMappingURL=useLineCompute.d.ts.map