Line Chart
Check out the below given walk-through on how to use the Line chart component in Designer module.
A line chart or line plot or line graph or curve chart is a type of chart that displays information as a series of data points called 'markers' connected by straight line segments. It is a basic type of chart common in many fields. The Line charts connect individual numeric data points to create a sequence of values. They are primarily used to display trends over a period.
Best Situations to Use a Line chart
To view trends in data over a period.
Example: 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 Chart Image
![](https://docs.bdb.ai/~gitbook/image?url=https%3A%2F%2F859511478-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FGDmsjfjJBNqow7Fo97cO%252Fuploads%252FxZ78AwbLQPoILnmaupos%252FDefault%2520chart%2520image.png%3Falt%3Dmedia%26token%3Dc3b2dadc-1e9a-40d2-9cd1-d7eabc61cef4&width=768&dpr=4&quality=100&sign=50d90816&sv=1)
Properties of the Line Chart
General
The user can change the height, width, top, left, chart type, column type & Line form. In this case, we have changed the Line type to curve, segment, etc.
The user can change the height, width, together with left and right placing of the chart on the canvas.
The user needs to put a checkmark for the Initial Visibility option to avail the preview at the first time.
Use the Max Button to maximize the chart separately.
The user can also enable the Show Percentage to show percentage on the chart.
The user can enable or disable Points on the lines by using the given checkbox for the Points option.
The user can select a Line form from the drop-down menu option. The supported line types are Curve, Segment, Step, Reverse Step, Horizontal and Vertical.
![](https://docs.bdb.ai/~gitbook/image?url=https%3A%2F%2F4011692272-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fq31vylHQzfu10ahsh9Qq%252Fuploads%252FWHm91paGNYDczBh8svDt%252Fimage.png%3Falt%3Dmedia%26token%3D06fab5e8-2c35-47d8-866e-216534bee9aa&width=768&dpr=4&quality=100&sign=7a754b9f&sv=1)
Tooltip
The user who wants to show the description of the series can use the tooltip by enabling it.
The user can show the description of the series and get the tooltip by clicking the Show Tool Tip option.
The Tool Tip Configuration window opens.
Select any Tool Tip option. The supported Tool Tip is None, Default, Custom.
Click the Save option.
The user can set and modify Background Color, Opacity, Border Color, Tooltip Font Size related properties using these properties fields.
It is also possible to select Box Width and Precision option from the Tooltip properties.
Use the Highlighter option to get the bar color indication in the tooltip.
Please Note: The Custom option for Tool Tip Configuration opens with the following framework to configure a Tooltip.
Background
Users can change the background color of the chart.
These properties fields help to get the border for the chart and change the border color.
Get the reflection of the chart by enabling the Shadow option. The user can change the Shadow Color, increase and decrease the transparency of the shadow as well.
![](https://docs.bdb.ai/~gitbook/image?url=https%3A%2F%2F4011692272-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fq31vylHQzfu10ahsh9Qq%252Fuploads%252FkPgOj58TZPA4aJAJV4H6%252Fimage.png%3Falt%3Dmedia%26token%3D210e93b4-59cc-412e-b68b-4ea414c6507c&width=768&dpr=4&quality=100&sign=e6fa6606&sv=1)
Title
The user can change Title Name, Font color, size, style, etc.
The user can enable or disable the Title Box and Title by using this properties field.
The user can change Title Name, Font color, Font size, Font style, etc.
By enabling the Show Dataset Description, the X Axis description will be taken from the mapped data fields.
Subtitle
The user can enable the subtitle if there is any second title the user can modify it.
The user can enable the Show Sub Title if it is required.
These properties fields will help to enable or disable the Subtitle, Provide description if it has been enabled and set the font related properties for the same.
Select various Font related properties such as Font Color, Font Size, Font Style, Font Weight, Font Family.
The users can also set the display alignment of the Subtitle and select any text decoration option from the given drop-down menu.
X-Axis
Enable or disable X- Axis line by using the given checkbox.
The user can select a color for the X- Axis line.
The user can select various label properties such as Label Font color, Label Font Size, Label Font Style, Label Font Weight, Label Font Family, Label Decoration, Label Rotation.
The user can also rotate (tilt) the title label by using the given checkbox for Tilted Label option.
The user can also adda description about the X-Axis and set various Font related properties such as Font Color, Font Size, Font Style, Font Weight, and Font Family for the inserted description.
The user can also display or remove Category Tick Marks and choose a color for the marker.
By enabling the Show Dataset Description, the X Axis description will be taken from the mapped data fields.
Y-Axis
Enable or disable Y- Axis line by using the given checkbox.
The user can select a color for the Y- Axis line.
The user can select various label properties such as Label Font color, Label Font Size, Label Font Style, Label Font Weight, Label Font Family, Label Decoration.
The user can also adda description about the X-Axis and set various Font related properties such as Font Color, Font Size, Font Style, Font Weight, and Font Family for the inserted description.
The user can change the axis name, Font color, Font size; enable the axis line, and changed the axis color of the Y Axis.
By enabling the Show Dataset Description, the Y Axis description will be taken from the mapped data fields.
Legend
The user can enable the internal legend to show and change the font size, font color, font style.
The user can enable or disable internal legend in the chart.
The Font related properties such as Font Color, Font Weight, Font Size, Font Family, Font Style can be set and modified using this properties fields.
The user can also select a Text Decoration option for the Legend.
Put a check mark in the Hide on Load checkbox to hide the Legend while loading the chart.
Formatter
The user can change Y-Axis values in units to %, T, Lacs, M, etc. Precision if we want the value in decimal format. Currency if we want the value in INR, Pound, USD. Position of the currency if it's in prefix and currency in Rupee then the sign will be seen in left-side if it's in suffix then it will be seen in right-side. Number Formatter if we want it in Indian or international.
The user can change Y-Axis values in units such as %, T, Lacs, M, etc.
The user can set the ‘Precision’ option to get the value in decimal format.
The Currency option helps to select the currency value in INR, Pound, and USD.
The Position of the currency displays the selected currency symbol in prefix or suffix.
For example, if the Currency symbol is rupees and the prefix option is selected, then it will be displayed on the left side. Likewise, the suffix displays the selected currency symbol on the right side.
The Number formatter helps to choose whether the user wants it in Indian or International format.
![](https://docs.bdb.ai/~gitbook/image?url=https%3A%2F%2F4011692272-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fq31vylHQzfu10ahsh9Qq%252Fuploads%252FOlFih1AMCCAChcvNGEhm%252Fimage.png%3Falt%3Dmedia%26token%3D3a70a538-511f-4eb9-bf0b-e45683d2d283&width=768&dpr=4&quality=100&sign=d22e68c4&sv=1)
Axis Setup
The user can enable or disable the Auto Axis Setup from this properties field.
The user can select Base Zero to begin the chart plotting from base zero.
Set and modify the Min and Max values.
Enable the Horizontal and Vertical marker Line together with Zero Marker Line.
The user can select and change color of lines (Marker line & Zero Marker line), increase and decrease the color Transparency by opacity.
Export Options
The Export Options also helps to provide heading, subheading, file name. The user can also select an option for Global Export Type.
By enabling the the user gets a context menu with various export options to download the report in the Preview mode.
![](https://docs.bdb.ai/~gitbook/image?url=https%3A%2F%2F4011692272-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fq31vylHQzfu10ahsh9Qq%252Fuploads%252FQo4p1d1hE4q8NJMBZ5S6%252Fimage.png%3Falt%3Dmedia%26token%3D3c8eae5a-2eec-4c94-949b-37387237cad0&width=768&dpr=4&quality=100&sign=a9fa3b5f&sv=1)
Repeater
These Properties will work when the users have a category field and that category value should display in a different chart. For Example: If we have a Year for each year, it will generate a different chart.
The user need to enabled the Repeater option using the Repeater section provided in the chart Properties.
Select a field that is to be used to group by the repetitive charts.
Set the number of columns to be considered for generating this chart.
The user can also set Row Height, Column Margin, and Row Margin for the repetitive charts.
The chart gets displayed grouped by the selected field. In this case, the selected field is Year. Thus, the chart displays year wise data separately.
![](https://docs.bdb.ai/~gitbook/image?url=https%3A%2F%2F4011692272-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fq31vylHQzfu10ahsh9Qq%252Fuploads%252FKnWCnYaK0reQwPANPVVF%252Fimage.png%3Falt%3Dmedia%26token%3Dad860036-70b9-427a-bedd-8947d849dac2&width=768&dpr=4&quality=100&sign=bd5951c&sv=1)
Dataset Series Properties
The user can change the color of each series by selecting any of the series. The user can enable the Data Label to show the Value of each Revenue & Expenses.
Variants of the Line chart by changing the Properties
Line Curve Chart
![](https://docs.bdb.ai/~gitbook/image?url=https%3A%2F%2F859511478-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FGDmsjfjJBNqow7Fo97cO%252Fuploads%252FVANommIWXeGD1dwVd8cK%252FLine%2520Curve%2520Type.png%3Falt%3Dmedia%26token%3D85c3e5db-d11b-4ab2-995d-6cbeff2ec898&width=768&dpr=4&quality=100&sign=86e37f68&sv=1)
Line Segment Chart
![](https://docs.bdb.ai/~gitbook/image?url=https%3A%2F%2F859511478-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FGDmsjfjJBNqow7Fo97cO%252Fuploads%252FksObsgNqgNhlfiLeLCnM%252FLine%2520Segment%2520Type.png%3Falt%3Dmedia%26token%3Dd6883a4a-3517-4e7a-ade0-a33fc2258549&width=768&dpr=4&quality=100&sign=3d431bc8&sv=1)
Line Step Chart
![](https://docs.bdb.ai/~gitbook/image?url=https%3A%2F%2F859511478-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FGDmsjfjJBNqow7Fo97cO%252Fuploads%252FYZTwA1T1dmWUjIGUMTNG%252FLine%2520Step%2520Type.png%3Falt%3Dmedia%26token%3D88c20b26-bb1a-4d8c-af03-15099ec7e676&width=768&dpr=4&quality=100&sign=cf2f7521&sv=1)
Line Reverse Step Chart
Line Horizontal Chart
![](https://docs.bdb.ai/~gitbook/image?url=https%3A%2F%2F859511478-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FGDmsjfjJBNqow7Fo97cO%252Fuploads%252FVUO1mIbugXENYLa4biOw%252FLine%2520Horizontal%2520Type.png%3Falt%3Dmedia%26token%3D5abe7d21-c4a6-497a-bd79-33e56af03a7f&width=768&dpr=4&quality=100&sign=a25a500c&sv=1)
Line Vertical Chart
Sample Data
Download the given sample data and map it as mentioned below to plot your Line chart.
Use the Year column as Category field, and other columns as Series to plot data.
Last updated