# VisualArtifactLegendItem

Describes one legend item associated with an artifact.

 Class  

`ChartForgeX.VisualArtifacts`

**Namespace**

`ChartForgeX.VisualArtifacts`

**Assembly**

`ChartForgeX`

**Source**

[VisualArtifactModels.cs:206](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/VisualArtifactModels.cs#L206)

**Modifiers**

sealed

Describes one legend item associated with an artifact.

## Inheritance

- object
- VisualArtifactLegendItem

## Usage

 Explore 1 API references to this type 

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [VisualArtifact.Legend](/api/chartforgex-visualartifacts-visualartifact/#property-legend)

 Filter members   

    Show inherited   

 

## Constructors

 `public VisualArtifactLegendItem()` [#](#constructor-ctor) 

[VisualArtifactModels.cs:206](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/VisualArtifactModels.cs#L206)

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

## Properties

 `public string Id { get; set; }` [#](#property-id) 

[VisualArtifactModels.cs:210](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/VisualArtifactModels.cs#L210)

Gets or sets the legend item identifier.

 `public string Label { get; set; }` [#](#property-label) 

[VisualArtifactModels.cs:213](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/VisualArtifactModels.cs#L213)

Gets or sets the legend label.

 `public ChartColor? Color { get; set; }` [#](#property-color) 

[VisualArtifactModels.cs:216](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/VisualArtifactModels.cs#L216)

Gets or sets an optional color token.

<!-- PowerForge markdown artifact sha256:DE324BA8CC7545F6786A272430A52A38732CA5BC905C6BDF7D897672F052623B -->
