UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

11 lines (10 loc) 303 B
import { Attribute } from '../dependents'; /** * @ignore * get the mapping value by attribute, if mapping value is nil, return def * @param attr * @param value * @param def * @returns get mapping value */ export declare function getMappingValue(attr: Attribute, value: any, def: string): string;