API REFERENCE

WordCloudTooltipFormatContext

The WordCloudTooltipFormatContext type declaration and related types. Optional fields are marked with ?.

Type declaration

typescript
export interface WordCloudTooltipFormatContext {
  index: number;
  id: string;
  name: string;
  weight: number;
  percentage: number;
  fontSize: number;
  rotation: number;
  cssX: number;
  cssY: number;
}