10
Views
2
Comments
Solved
I want  to have a line chart which show how many resources hired per year
Question

I have one emp_info entity in which I have following details 

I want to show number of resources I hired per year for two technologies using line chart. How  I can achieve this. Great if someone give me direction.


Thanks in advance


Solution

Hi Vikram,

Hope you are doing well.

1. You can refer this link for how to use Line chart in Outsystem. Link: Line Chart

2. Considering above aggregate, Group by "DateOfJoining", Count ("Id")

Let me know if you need more clarification.

Regards,

Shubham 

Champion

Hi,

For creating any kind of chart you need data source list. Now you need graph between years and number of joining in that year. From above screenshot you can create an aggregate using above entity and create one new column in the aggregate for getting the year. You can get year value from Date of Joining or Date create as well. One More column using Count() to count the records. So in aggregate Output will have only 2 columns. Group by Year. and Count of employee. Can use this in graph as input.

regards

Solution

Hi Vikram,

Hope you are doing well.

1. You can refer this link for how to use Line chart in Outsystem. Link: Line Chart

2. Considering above aggregate, Group by "DateOfJoining", Count ("Id")

Let me know if you need more clarification.

Regards,

Shubham 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.