mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 16:02:46 +08:00

* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
71 lines
1.3 KiB
Markdown
71 lines
1.3 KiB
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
# -----------------------------------------------------------------------
|
|
title = "LegendItem"
|
|
keywords = ["grafana","documentation","sdk","@grafana/ui"]
|
|
type = "docs"
|
|
+++
|
|
|
|
## LegendItem interface
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
export interface LegendItem
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { LegendItem } from '@grafana/ui';
|
|
```
|
|
<b>Properties</b>
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [color](#color-property) | <code>string</code> | |
|
|
| [displayValues](#displayvalues-property) | <code>DisplayValue[]</code> | |
|
|
| [isVisible](#isvisible-property) | <code>boolean</code> | |
|
|
| [label](#label-property) | <code>string</code> | |
|
|
| [yAxis](#yaxis-property) | <code>number</code> | |
|
|
|
|
### color property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
color: string;
|
|
```
|
|
|
|
### displayValues property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
displayValues?: DisplayValue[];
|
|
```
|
|
|
|
### isVisible property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
isVisible: boolean;
|
|
```
|
|
|
|
### label property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
label: string;
|
|
```
|
|
|
|
### yAxis property
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
yAxis: number;
|
|
```
|