API Reference@grafana/ui › convertOldAngularValueMapping

convertOldAngularValueMapping() function

convertOldAngularValueMapping() function

Convert the angular single stat mapping to new react style

Signature

export declare function convertOldAngularValueMapping(panel: any): ValueMapping[];

Import

import { convertOldAngularValueMapping } from '@grafana/ui';

Parameters

Parameter Type Description
panel any

Returns:

ValueMapping[]