declare module '*.scss'; interface StyleProps{ fill:string stroke:string lineWidth:number lineDash:number opacity:number fillOpacity:number strokeOpacity:number } declare interface AreaProps{ visible:boolean style:StyleProps } declare interface PoitnProps{ visible:boolean shape:'circle'|'hollow-circle'|'square'|'triangle' size:number style:StyleProps } declare interface lineProps{ visible:boolean size:number style:{ opacity?:number lineJoin?: 'bevel' | 'round' | 'miter'; lineCap?: 'butt' | 'round' | 'square'; } } declare interface TitleProps{ visible:boolean text:string alignTo:'left'|'center'|'right' style:StyleProps } declare interface DescriptionProps extends TitleProps{} declare interface LegendProps{ visible:boolean position:LegendPosition offsetX:number offsetY:number title:{ visible:boolean } } declare interface LabelProps{ visible:boolean autoRotate:boolean //是否自动旋转 offsetX:number //x方向偏移量 offsetY:number //y方向偏移量 } declare interface TooltipProps{ visible:boolean offset:number //距离鼠标位置偏移值 shared:boolean //是否同时显示多条数据 showCrosshairs:boolean //是否tooltip辅助线 } declare interface AxisConfig { visible: boolean; showTitle: boolean; line: boolean; tickLine: boolean; title: string; grid: boolean; label: boolean; labelType: 'defalut' | 'custom'; labelColor: string; labelSize: number; labelLength: 'percent' | 'fixed'; labelPercentWidth: number; labelFixedWidth: number; autoRotate: boolean; autoHide: boolean; labelRotateAngle: number; max?: number; min?: number; tickCount?: number; } declare type LegendPosition = | 'top' | 'top-left' | 'top-right' | 'right' | 'right-top' | 'right-bottom' | 'left' | 'left-top' | 'left-bottom' | 'bottom' | 'bottom-left' | 'bottom-right'; declare type IntervalGeometryLabelPosition = 'top' | 'bottom' | 'middle' | 'left' | 'right'; interface Option { value: string; label: string; children?: Option[]; } declare type TreeOptions = Array