UNPKG

@visactor/vchart

Version:

charts lib based @visactor/VGrammar

42 lines (41 loc) 1.63 kB
import type { ITitle } from './interface'; export declare function transformLegendTitleAttributes(title: ITitle): { textStyle?: import("./interface").NoVisibleMarkStyle<import("../..").ITextMarkSpec>; style?: import("./interface").NoVisibleMarkStyle<import("../..").ITextMarkSpec>; shape?: { visible?: boolean; space?: number; style?: import("./interface").NoVisibleMarkStyle<import("../..").ISymbolMarkSpec>; } & { visible?: boolean; space?: number; style?: Omit<Partial<import("@visactor/vrender-core").ISymbolGraphicAttribute>, "visible">; }; background?: { visible?: boolean; style?: Omit<import("./interface").NoVisibleMarkStyle<import("../..").IRectMarkSpec>, "visible" | "width" | "height">; }; text?: string | number | string[] | number[] | { type?: "text"; text: string | number | string[] | number[]; } | { type: "rich"; text: import("@visactor/vrender-core").IRichTextCharacter[]; } | { type: "html"; text: { dom: string | HTMLElement; } & import("@visactor/vrender-core").SimpleDomStyleOptions & import("@visactor/vrender-core").CommonDomOptions; } | { type: "react"; text: { element: any; } & import("@visactor/vrender-core").SimpleDomStyleOptions & import("@visactor/vrender-core").CommonDomOptions; }; visible?: boolean; padding?: import("@visactor/vrender-components").Padding; maxWidth?: number; minWidth?: number; space?: number; align?: "start" | "end" | "center"; };