> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/bdb-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/bdb-documentation/data-visualization/self-service/chart-gallery/line-chart.md).

# Line chart

{% hint style="info" %}
Check out the given walk-through on how to set the Line chart properties.
{% endhint %}

![](/files/jsslV3ngcc27gLlP82vW)

The line chart connects individual numeric data points to create a sequence of values. They are primarily used to display trends over a period.

* [ ] **Best Situation to use Line Charts:** View trends in data over a period
* [ ] **Examples:** To indicate increasing revenue or varying stock price
* [ ] **Variations of this chart**
  * [ ] **Mixed Chart**- Combine a line graph with column charts to provide visual cues for further investigation
    * [ ] **Example:** A column chart representing the numeric score of students combined with the line chart corresponding proficiency score.

![Default View using the Line chart](/files/SDg9oUIEo1Rg5bKePrtu)

### **Properties**

#### **General Settings**

* **Style**: Select a style to display the data (the provided choices for this field are: Cluster, Stack, Stack Percentage, Stack Overlaid)
* **Order**: Select a sequence for displaying information
  * None (default option)
  * Ascending
  * Descending
  * Manual Sort (Users need to sort the dimensions by using the indicator signs manually)
    * (If the user selects the ***Manual Sort*** as the ordering option, they get an icon clicking which the Manual Sort window appears)
  * By selecting an order (ascending or descending, the user needs to configure the following fields:
    * Order By- Select a value option from the drop-down menu to order the sequence of the data
    * Limit- Set a number to display the requested data by this limit
* **Exclude Global Filter**: The view gets excluded from the Global Filter condition by putting a checkmark in the box
* **Show Data Label**: Data label gets displayed by using a checkmark in the given box
* **Enable Base Zero**: Base value gets presented from Zero by using a checkmark in the given box
* **Show Point**: Enable the Show Point option by using a checkmark in the given box
* **Line Form**: Select a line format from the drop-down menu (the provided choices for this field are: Curve and Segment)
* **Show Legend**: Displays legend by turning on the radio button. After enabling ‘Show Legend,’ users need to select the following information:
* **Legend Style**: Select one of the following options by using the drop-down menu
  * Fixed
  * Floating
* **Legend Orientation**: This option appears when ‘Show Legend’ is enabled, and the selected ‘Legend Style’ is ‘Fixed.’ Users need to select an option out of the given choices using the drop-down menu.
  * Vertical
  * Horizontal
* **Legend Checkbox**: Enable this option by a checkmark to add the checkbox beside the Legend
* **Enable Slider**: Slider gets displayed by putting a checkmark in the box

&#x20;   &#x20;

![The Customised Line chart after applying the General Settings using the Properties tab](/files/wW6I0j2IyeHZs7PgY1XS)

#### **View Filter**

* **Filter**: Select a filter condition using the drop-down menu

#### **Category Axis**

* **Title**: Provide a title for the axis
* **Axis Label**: Enable the category axis label by using a checkmark in the box
* **Label Angle**: Select a display angle for the axis label

#### **Primary Value Axis**

* **Title**: Provide a title for the Primary Value Axis
* **Axis Label**: Enable the Primary Value Axis label by using a checkmark in the box
* **Format Type**: Select a desired format type from the drop-down menu (the provided options for this field are: None, Auto, Percent, Thousand, Lacs, Crore, Million)
* **Currency Type**: Select a currency symbol to be displayed in the view (the provided options for this field are: None, Euro, Rupees, Pound, USD, Yen, Cent)
* **Precision**: Set the after-decimal value (It displays up to 5 precision)

#### **Secondary Value Axis**

Properties for the Secondary Value Axis gets displayed when two measures are dragged on the canvas.

* **Enable**: Put a checkmark in the box to enable the Secondary Value Axis
* **Title**: Provide a title for the Secondary Value Axis
* **Format Type**: Select a desired format type from the drop-down menu
* **Currency Type**: Select a desired currency symbol from the list
* **Precision**: Set the after-decimal value (It displays up to 5 precision)

{% hint style="info" %} <mark style="color:green;">Please Note:</mark>&#x20;

1. When the selected Format Type is ***Percentage***, you don’t get the ***Currency Type*** field. &#x20;
2. The users must configure the [*<mark style="color:blue;">**Series Properties**</mark>*](/bdb-documentation/data-visualization/self-service/design/series-properties.md) of the dragged measure after enabling the ***Secondary Value Axis*** to display the same in the chart.
   {% endhint %}

#### **Insights**

* **Text:** Provide any information regarding the chart. If any digit or character is required to be highlighted, put it inside two asterisks. (E.g., \*70%\* or \*skills\*).
* **Text align:** There are three alignments to align the text.
  * Left
  * Right
  * Centre
* **Position:** There are two options to position the text.
  * Bottom
  * Right

![The View gets further modified while applying the remaining Properties](/files/d86U82CbfC9QzQBfUEbI)

&#x20;
