UNPKG

echarts

Version:

Apache ECharts is a powerful, interactive charting and data visualization library for browser

11 lines (10 loc) 711 B
import Model from '../Model.js'; import { ItemStyleOption } from '../../util/types.js'; import { PathStyleProps } from 'zrender/lib/graphic/Path.js'; export declare const ITEM_STYLE_KEY_MAP: string[][]; declare type ItemStyleKeys = 'fill' | 'stroke' | 'decal' | 'lineWidth' | 'opacity' | 'shadowBlur' | 'shadowOffsetX' | 'shadowOffsetY' | 'shadowColor' | 'lineDash' | 'lineDashOffset' | 'lineCap' | 'lineJoin' | 'miterLimit'; export declare type ItemStyleProps = Pick<PathStyleProps, ItemStyleKeys>; declare class ItemStyleMixin { getItemStyle(this: Model, excludes?: readonly (keyof ItemStyleOption)[], includes?: readonly (keyof ItemStyleOption)[]): ItemStyleProps; } export { ItemStyleMixin };