> For the complete documentation index, see [llms.txt](https://docs.wem.io/platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wem.io/platform/wemtipsandtricks/widgets/advanced-charts/stepline-chart.md).

# Stepline Chart

In a step-line chart, points are connected by horizontal and vertical line segments, looking like steps of a staircase. Step line charts are used when it is necessary to highlight the irregularity of changes: for example, when changes in tax rates or interest rates are visualized.

{% hint style="info" %}
You can find a more in depth explanation about the stepline on [this](<https://apexcharts.com/docs/chart-types/line-chart/ >) page: [https://apexcharts.com/docs/chart-types/line-chart/ ](<https://apexcharts.com/docs/chart-types/line-chart/ >)
{% endhint %}

![Step Line Chart](/files/FSMT3VOEff6iSdCXsmva)

**Properties of Stepline Chart**

<table data-header-hidden><thead><tr><th></th><th width="150"></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Property Name</strong></td><td><strong>Data type</strong></td><td><strong>Type</strong></td><td><strong>Description</strong></td></tr><tr><td>Data source</td><td>List</td><td>Data Model</td><td>Data list source for the widget.</td></tr><tr><td>X axis category</td><td>Text</td><td>Expression</td><td>Text categories displayed on x-axis.</td></tr><tr><td>Y axis value</td><td>Number</td><td>Expression</td><td>Numeric values displayed on y-axis.</td></tr><tr><td>Series</td><td>Text</td><td>Expression</td><td><p>This field is used to create different groups from the same data source.</p><p>It's not required.</p></td></tr><tr><td>Custom scale</td><td>Boolean</td><td> </td><td>Change scale to a custom scale with custom properties.</td></tr><tr><td>Opposite scale</td><td>Boolean</td><td>Expression</td><td>Changes position of y axis values to the opposite position. (Use true or false)</td></tr><tr><td>Min scale value</td><td>Number</td><td>Expression</td><td>Minimum value for the scale.</td></tr><tr><td>Max scale value</td><td>Number</td><td>Expression</td><td>Maximum value for the scale.</td></tr><tr><td>Tick scale amount</td><td>Number</td><td>Expression</td><td>Number of visual ticks for the scale on the vertical axis.</td></tr><tr><td>Show markers</td><td>Boolean</td><td> </td><td>Boolean expression to show dots at multiple points in the chart.</td></tr><tr><td>Marker size</td><td>Number</td><td>Expression</td><td>The size of each marker on the chart.</td></tr><tr><td>Marker shape</td><td>Text</td><td>Dropdown</td><td>The shape of the markers. (circle, rect, square).</td></tr><tr><td>Marker colors</td><td>Text</td><td>Expression</td><td>The main color of the markers.</td></tr><tr><td>Marker stroke colors</td><td>Text</td><td>Expression</td><td>Color for the perimeter of the marker.</td></tr><tr><td>Marker stroke width</td><td>Number</td><td>Expression</td><td>Numeric amount for the width of the perimeter line that wraps up the marker.</td></tr><tr><td>Height</td><td>Text</td><td>Expression</td><td>Can be set to auto, percentage of container or pixels.</td></tr><tr><td>Width</td><td>Text</td><td>Expression</td><td>Can be set to a percentage of container or pixels.</td></tr><tr><td>Tooltip</td><td>Boolean</td><td>Expression</td><td>Enables tooltip, shows details of the info when you hover over it.</td></tr><tr><td>Label Decimals</td><td>Number</td><td>Expression</td><td>Set number of decimals displayed for y-axis values.</td></tr><tr><td>Theme</td><td>Text</td><td>Dropdown</td><td>Change the text and background colors of the chart. (light, dark).</td></tr><tr><td>Template</td><td>Text</td><td>Dropdown</td><td><a href="https://apexcharts.com/docs/options/theme/">A set of predefined color values for the chart groups. </a>(palette1, palette2, palette3, palette4, palette5, palette6, palette7, palette8).</td></tr><tr><td>Lines Width</td><td>Number</td><td>Expression</td><td>Width/thickness of the lines of the chart.</td></tr><tr><td>Back ground color</td><td>Number</td><td>Expression</td><td><p>hange the background color of the chart.</p><p>Example:</p><p>"#92a8d1" or "red" or "rgb(201, 76, 76)" or "rgba(201, 76, 76, 0.3)"</p></td></tr><tr><td>Show Grid</td><td>Boolean</td><td> </td><td>Boolean to activate grid lines options.</td></tr><tr><td>Grid lines horizontal</td><td>Boolean</td><td>Expression</td><td>Display horizontal lines on the grid. (use true or false).</td></tr><tr><td>Grid lines vertical</td><td>Boolean</td><td>Expression</td><td>Display vertical lines on the grid. (use true or false).</td></tr><tr><td>Grid lines color</td><td>Text</td><td>Expression</td><td>Display vertical lines on the grid.</td></tr><tr><td>Legend Size</td><td>Number</td><td>Expression</td><td><p>Change color of the lines on the grid.</p><p>Example:</p><p>"#92a8d1" or "red" or "rgb(201, 76, 76)" or "rgba(201, 76, 76, 0.3)"</p></td></tr><tr><td>Legend font Size</td><td>Number</td><td>Expression</td><td>Change font size of the legend.</td></tr><tr><td>Legend Position</td><td>Text</td><td>Dropdown</td><td>Change position of the legend. (bottom, top, left, right).</td></tr><tr><td>Prefix</td><td>Text</td><td>Expression</td><td>Display a prefix for values on tooltip.</td></tr><tr><td>Postfix</td><td>Text</td><td>Expression</td><td>Display a postfix for values on tooltip.</td></tr><tr><td>Show Animation</td><td> </td><td> </td><td>Display animation on render. (True or false)</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.wem.io/platform/wemtipsandtricks/widgets/advanced-charts/stepline-chart.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
