# SiMicrochartLineComponent documentation

**Kind:** component

**Selector:** `si-microchart-line`

```
import { SiMicrochartLineComponent } from '@siemens/native-charts-ng/microchart-line';
```

```
component SiMicrochartLineComponent
```

#### Input Properties

<table>     <thead>       <tr>         <th>Name</th>         <th>Type</th> <th>Default</th>        <th>Description</th>       </tr>     </thead>     <tbody>         <tr id="SiMicrochartLineComponent.height">           <td class="api-column-name">                   <span data-api-type-target-for="SiMicrochartLineComponent.height" id="t:SiMicrochartLineComponent.height"></span>               <a href="https://github.com/siemens/element/blob/main/projects/native-charts-ng/microchart-line/si-microchart-line.component.ts#L44-L44">height</a>           </td>           <td class="api-column-type">             <code><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a></code>           </td>             <td class="api-column-default">    <code>24</code> </td>           <td class="api-column-description"><p>Chart height in pixels.</p></td>         </tr>         <tr id="SiMicrochartLineComponent.lineWidth">           <td class="api-column-name">                   <span data-api-type-target-for="SiMicrochartLineComponent.lineWidth" id="t:SiMicrochartLineComponent.lineWidth"></span>               <a href="https://github.com/siemens/element/blob/main/projects/native-charts-ng/microchart-line/si-microchart-line.component.ts#L63-L63">lineWidth</a>           </td>           <td class="api-column-type">             <code><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a></code>           </td>             <td class="api-column-default">    <code>2</code> </td>           <td class="api-column-description"><p>Line width in pixels.</p></td>         </tr>         <tr id="SiMicrochartLineComponent.markerColor">           <td class="api-column-name">                   <span data-api-type-target-for="SiMicrochartLineComponent.markerColor" id="t:SiMicrochartLineComponent.markerColor"></span>               <a href="https://github.com/siemens/element/blob/main/projects/native-charts-ng/microchart-line/si-microchart-line.component.ts#L70-L70">markerColor</a>           </td>           <td class="api-column-type">             <code><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a> | <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined">undefined</a></code>           </td>             <td class="api-column-default"></td>           <td class="api-column-description"><p>Marker color token. If not provided, uses the series color token. Use a data-color. See: <a href="https://element.siemens.io/fundamentals/colors/data-visualization-colors/#tokens">https://element.siemens.io/fundamentals/colors/data-visualization-colors/#tokens</a></p><p>Example:</p><pre><code>&quot;si-sys-color-data-categorical-2&quot;</code></pre></td>         </tr>         <tr id="SiMicrochartLineComponent.series">           <td class="api-column-name">                   <span data-api-type-target-for="SiMicrochartLineComponent.series" id="t:SiMicrochartLineComponent.series"></span>               <a href="https://github.com/siemens/element/blob/main/projects/native-charts-ng/microchart-line/si-microchart-line.component.ts#L32-L32">series</a> (required)          </td>           <td class="api-column-type">             <code><a href="index.html#t:MicrochartLineSeries">MicrochartLineSeries</a></code>           </td>             <td class="api-column-default"></td>           <td class="api-column-description"><p>Microchart line series. Example series can be:</p><p>Example:</p><pre><code class="language-ts">Series: MicrochartLineSeries = { values: [2, 3, 6, 5, 4, 7, 8], colorToken: 'si-sys-color-data-categorical-10' };</code></pre></td>         </tr>         <tr id="SiMicrochartLineComponent.showArea">           <td class="api-column-name">                   <span data-api-type-target-for="SiMicrochartLineComponent.showArea" id="t:SiMicrochartLineComponent.showArea"></span>               <a href="https://github.com/siemens/element/blob/main/projects/native-charts-ng/microchart-line/si-microchart-line.component.ts#L57-L57">showArea</a>           </td>           <td class="api-column-type">             <code><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean">boolean</a></code>           </td>             <td class="api-column-default">    <code>false</code> </td>           <td class="api-column-description"><p>Sets whether the area under the chart line should be filled.</p></td>         </tr>         <tr id="SiMicrochartLineComponent.showMarkers">           <td class="api-column-name">                   <span data-api-type-target-for="SiMicrochartLineComponent.showMarkers" id="t:SiMicrochartLineComponent.showMarkers"></span>               <a href="https://github.com/siemens/element/blob/main/projects/native-charts-ng/microchart-line/si-microchart-line.component.ts#L51-L51">showMarkers</a>           </td>           <td class="api-column-type">             <code><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean">boolean</a></code>           </td>             <td class="api-column-default">    <code>false</code> </td>           <td class="api-column-description"><p>Display circular markers at each data point on the line. When enabled, markers help highlight individual values and improve readability.</p></td>         </tr>         <tr id="SiMicrochartLineComponent.width">           <td class="api-column-name">                   <span data-api-type-target-for="SiMicrochartLineComponent.width" id="t:SiMicrochartLineComponent.width"></span>               <a href="https://github.com/siemens/element/blob/main/projects/native-charts-ng/microchart-line/si-microchart-line.component.ts#L38-L38">width</a>           </td>           <td class="api-column-type">             <code><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a></code>           </td>             <td class="api-column-default">    <code>64</code> </td>           <td class="api-column-description"><p>Chart width in pixels.</p></td>         </tr>     </tbody>   </table>

### Types Documentation

### [MicrochartLineSeries](<https://github.com/siemens/element/blob/main/projects/native-charts-ng/microchart-line/si-microchart-line.component.ts#L8-L17>)

**Kind:** interface

```
import type { MicrochartLineSeries } from '@siemens/native-charts-ng/microchart-line';
```

```
interface MicrochartLineSeries
```

#### Properties

<table>     <thead>       <tr>         <th>Name</th>         <th>Type</th>         <th>Description</th>       </tr>     </thead>     <tbody>         <tr id="t:MicrochartLineSeries.colorToken">           <td class="api-column-name">                           <a href="https://github.com/siemens/element/blob/main/projects/native-charts-ng/microchart-line/si-microchart-line.component.ts#L16-L16">colorToken</a>           </td>           <td class="api-column-type">             <code><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></code>           </td>           <td class="api-column-description"><p>Use a data-color. See: <a href="https://element.siemens.io/fundamentals/colors/data-visualization-colors/#tokens">https://element.siemens.io/fundamentals/colors/data-visualization-colors/#tokens</a></p><p>Example:</p><pre><code>&quot;si-sys-color-data-categorical-10&quot;</code></pre></td>         </tr>         <tr id="t:MicrochartLineSeries.values">           <td class="api-column-name">                           <a href="https://github.com/siemens/element/blob/main/projects/native-charts-ng/microchart-line/si-microchart-line.component.ts#L10-L10">values</a>           </td>           <td class="api-column-type">             <code><a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number">number</a>[]</code>           </td>           <td class="api-column-description"><p>Series values</p></td>         </tr>     </tbody>   </table>
