mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 05:22:32 +08:00

* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
36 lines
888 B
Markdown
36 lines
888 B
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
# -----------------------------------------------------------------------
|
|
title = "convertOldAngularValueMapping"
|
|
keywords = ["grafana","documentation","sdk","@grafana/ui"]
|
|
type = "docs"
|
|
+++
|
|
|
|
## convertOldAngularValueMapping() function
|
|
|
|
### convertOldAngularValueMapping() function
|
|
|
|
Convert the angular single stat mapping to new react style
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
export declare function convertOldAngularValueMapping(panel: any): ValueMapping[];
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { convertOldAngularValueMapping } from '@grafana/ui';
|
|
```
|
|
<b>Parameters</b>
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| panel | <code>any</code> | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
`ValueMapping[]`
|
|
|