powerbi-visuals-utils-dataviewutils
Version:
6 lines (5 loc) • 402 B
TypeScript
import powerbi from "powerbi-visuals-api";
import IDataViewObject = powerbi.DataViewObject;
export declare function getValue<T>(object: IDataViewObject, propertyName: string, defaultValue?: T): T;
/** Gets the solid color from a fill property using only a propertyName */
export declare function getFillColorByPropertyName(object: IDataViewObject, propertyName: string, defaultColor?: string): string;