You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A line graph is a type of chart used to display data points in a continuous manner, often showing how a variable changes over time. It consists of a series of data points, each represented by a dot or a marker, connected by straight lines. Line graphs are particularly useful for visualising trends, patterns, and fluctuations in data across different periods or categories.
Key features of a line graph:
X-axis (horizontal) typically represents the time or independent variable.
Y-axis (vertical) represents the dependent variable or the quantity being measured.
Data points are plotted based on their corresponding X and Y values.
Lines connect the data points to illustrate the trend.
The title, chart width, chart height are custom made and can be changed as per need.
Also we have options of modifying the width type to % or px as needed.
The horizontal and vertical grid lines, opacity can be handled dynamically as well.
The X-axis label, gridlines, tick marks, auto append and auto prepend are custom configured and can be modified as need be. Same applies for Y-axis
Series is a dropdown where we can select how many lines we want to generate in the line graph,
The primary and secondary column keys have been configured, along with the column spacing.
The data source is created which has the data key (x-axis value)
The data which needs to be mapped has been configured here,
We can either import or directly add the values here.
Also the data model which has the key values, and their types are configured here.
Usage :
Line graphs are commonly used in areas like economics, science, and business to track changes over time, such as stock prices, weather data, or sales performance
Real-Time Scenarios:
Sales Performance
A retail company might analyze its monthly sales data to determine if sales are increasing during holiday seasons or decreasing due to external factors, helping with inventory planning.
Sports Performance
Coaches or analysts use line charts to evaluate athletes' performances, identify areas for improvement, and monitor progress throughout the season
Attached the component code and detailed description with images below.
same as pie chart component - Why build a Constellation DX component when this UX pattern can be achieved using a dashboard with promoted filters and an insight?
While using a dashboard with promoted filters and insights can indeed provide a solution for achieving a similar UX pattern, yet it can prove to be a bit complex at times.
Unlike insights which is created on report definition, the line graph created by us has a simple approach, it take in a parameterised data page and based on the parameter it simplifies the data page and shows the graph.
Along with this, there are customisable fields like axis lines, ticks, labels, grid lines which can be modified and changed as per the user's need.
Hence we tried to build a custom line graph component.
Title: Line Graph
Description :
A line graph is a type of chart used to display data points in a continuous manner, often showing how a variable changes over time. It consists of a series of data points, each represented by a dot or a marker, connected by straight lines. Line graphs are particularly useful for visualising trends, patterns, and fluctuations in data across different periods or categories.
Key features of a line graph:
Dependency:
Used Recharts (https://recharts.org/en-US) library for FAB development.
Configuration :
The title, chart width, chart height are custom made and can be changed as per need.
Also we have options of modifying the width type to % or px as needed.
The horizontal and vertical grid lines, opacity can be handled dynamically as well.
The X-axis label, gridlines, tick marks, auto append and auto prepend are custom configured and can be modified as need be. Same applies for Y-axis
Series is a dropdown where we can select how many lines we want to generate in the line graph,
The primary and secondary column keys have been configured, along with the column spacing.
The data source is created which has the data key (x-axis value)
The data which needs to be mapped has been configured here,
We can either import or directly add the values here.
Also the data model which has the key values, and their types are configured here.
Usage :
Line graphs are commonly used in areas like economics, science, and business to track changes over time, such as stock prices, weather data, or sales performance
Real-Time Scenarios:
Sales Performance
A retail company might analyze its monthly sales data to determine if sales are increasing during holiday seasons or decreasing due to external factors, helping with inventory planning.
Sports Performance
Coaches or analysts use line charts to evaluate athletes' performances, identify areas for improvement, and monitor progress throughout the season
Attached the component code and detailed description with images below.
LineChart.docx
lineCharts.zip
The text was updated successfully, but these errors were encountered: