--- title: "Line Chart" slug: "line-chart-options" description: "Customize Line Charts in Pigment to visualize trends, compare metrics, and adjust colors, markers, and axes for clearer, data-driven storytelling." tags: ["Line Charts", "Chart Customization", "Reporting Data Visualization "] updated: 2026-08-31T12:45:40Z published: 2026-08-31T12:45:40Z canonical: "kb.pigment.com/line-chart-options" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.pigment.com/llms.txt > Use this file to discover all available pages before exploring further. # Line Chart Line charts visualize trends and progression in data across multiple groups over time. This article covers how to prepare your View and configure Line chart display settings. ![Line chart displaying product sales data for various cleaning items over time.](https://cdn.document360.io/e47cfe35-dc28-40c7-a083-6cf003073d8e/Images/Documentation/Line chart.png?sv=2026-02-06&spr=https&st=2026-11-24T16%3A38%3A56Z&se=2026-11-24T17%3A38%3A56Z&sr=b&sp=r&sig=W7C5%2BlE%2BzqNR6BQ0rxjmsfKPaoTOzm%2B8sNoqt1%2FkjZI%3D) ## Before you begin How you set up your View affects how data appears in the chart. The following articles can help you prepare your data before customizing your chart: - Use the [Pivot feature](/v1/docs/change-views-pivot-pigment) to change the axis and add/remove Dimensions. - Use the [Filter feature](/v1/docs/filter-data-pigment) to remove Items from a List. - Use the [Sort feature](/v1/docs/sort-data-in-pigment/#sort-your-metric-or-table-data) to change the order of Items in the chart. ## Configure Line charts Use the following settings to customize the appearance and layout of Line charts. ### Series | Setting | Description | Option | | --- | --- | --- | | **Color** | Changes the color of the selected series. | Select a color from the palette. | | **Line width** | Controls the width of a single selected series. | Move the slider to increase or reduce line thickness. | | **Dashed lines** | Displays the selected series as a dashed line. | Toggle on/off *(Turned off by default)* | | **Show labels** | Shows or hides labels for the selected series. | Toggle on/off *(Turned off by default)* | ### Line chart settings | Setting | Description | Options | | --- | --- | --- | | **Line style** | Configures how lines and data points are displayed. | - **Line**. Displays a line connecting data points. - **Dotted line**. Displays a line connecting data points with visible dots. - **Dots**. Displays dots for each data point without connecting lines. | | **Line shape** | Configures the shape of the curve connecting series data points. | - **Linear.** Displays straight line segments connecting points. - **Basis**. Displays smooth interpolated curves between points. - **Smooth.** Displays smooth curves between points. - **Step**. Displays stepped line segments between points. - **Natural.** Displays natural curved interpolation between points. | | **Line width** | Controls the width of each individual line. | Move the slider to increase or reduce line thickness. | | **Dashed lines** | Controls whether lines are displayed as solid or dashed. Not available when **Line style** is set to **Dotted line**. | Toggle on/off *(Turned off by default)* | | **Stacked values** | Series values are added on the Y-axis, so each consecutive series appears above the last with their value added to the previous number. | Toggle on/off *(Turned off by default)* | | **Show area** | Fills the area under each line. | Toggle on/off *(Turned off by default)* | | **Area opacity** | Controls the opacity of the chart area. | Move the slider to increase or reduce area opacity. | ### Style > [!NOTE] > ℹ️ **Note** > > Use the following settings to configure chart colours and themes. For detailed instructions and available colour options, see [Customize Chart Colors](/v1/docs/customize-chart-colors). | Setting | Description | Options | | --- | --- | --- | | **Color by** | Determines how colours are assigned to chart series. | **Theme** Use a predefined colour palette. **Dimension Items** Assign a consistent colour to each Dimension Item across charts. | | **Color theme** | Applies a predefined colour palette to chart series. Only available when **Color by** is set to **Theme**. | Pigment preset themes and Workspace palettes. | | **Series colors** | Allows you to customize colours for individual series. Pigment preserves series colour order when switching between themes. | Edit | ### Text size | Setting | Description | Options | | --- | --- | --- | | **Global size** | Sets the default text size for all chart labels. Individual label types can be configured independently. | XS, S (default), M, L, XL | | **Line labels** | Configures the text size of labels displayed on chart series. By default, this inherits the **Global size** setting. Use the dropdown to select a different text size. | Global size (default), XS, S, M, L, XL | | **X-axis labels** | Configures the text size of labels displayed on the X-axis. By default, this inherits the **Global size** setting. Use the dropdown to configure the text size independently. | Global size (default), XS, S, M, L, XL | | **Y-axis labels** | Configures the text size of labels displayed on the Y-axis. By default, this inherits the **Global size** setting. Use the dropdown to configure the text size independently. | Global size (default), XS, S, M, L, XL | | **Legend** | Configures the text size of labels displayed on chart series. By default, this inherits the **Global size** setting. Use the dropdown to select a different text size. | Global size (default), XS, S, M, L, XL | ### Line labels | Setting | Description | Options | | --- | --- | --- | | **Show labels** | Shows or hides labels that display the value of each data point. | Toggle on/off *(Turned off by default)* | | **Allow label overlap** | Allows labels to overlap so labels remain visible even when data points are too close together. | Toggle on/off *(Turned off by default)* | | **High-contrast labels** | Increase label contrast to improve readability and visibility against chart backgrounds. | Toggle on/off *(Turned off by default)* | ### X-axis | Setting | Description | Options | | --- | --- | --- | | **Show gridlines** | Shows or hides X-axis gridlines in the chart. | Toggle on/off *(Turned off by default)* | | **Label orientation** | Configures the orientation of X-axis labels. Longer labels automatically wrap. Use the diagonal or vertical option to improve readability and display more labels. | Horizontal, Vertical, and Diagonal | | **Max lines** | Configures the number of lines of text in X-axis labels. Up to five lines of text are allowed. | Move the slider to increase or reduce the lines of text. | | **Allow label overlap** | Allows labels to overlap so labels remain visible on X-axis even when data points are too close together. | Toggle on/off *(Turned off by default)* | ### Y-axis | Setting | Description | Options | | --- | --- | --- | | **Show axis** | Shows or hides the Y-axis in the chart. | Toggle on/off *(Turned on by default)* | | **Show gridlines** | Shows or hides the Y-axis gridlines in the chart. | Toggle on/off *(Turned on by default)* | | **Axis scale** | Configures how the Y-axis scale is calculated. | Auto or Fixed *(Auto by default)* | | **Start axis at zero** | Starts the Y-axis at zero. Only available when Axis scale is set to Auto. | Toggle on/off *(Turned off by default)* | ### Legend | Setting | Description | Options | | --- | --- | --- | | **Show legend** | Shows or hides the chart legend. | Toggle on/off *(Turned on by default)* | | **Legend position** | Sets the position of the legend. The legend becomes scrollable when additional series are displayed. | Bottom right, Top right, Bottom centered, or Top centered |