How to show Carry Forward balance as UI graphs?
We are designing a HR system with some complex Leave and absence mechanism. When each person is enrolled into a leave scheme. Each Scheme can have 3 Steps (1 step yield the max money to the person). For example please consider the below one
Sick Scheme
Step 1 - 10 days with PAYCODE1
// If u take sick scheme leave then the first 10 days they will be paid with PAYCODE1
Step 2 - 5 days with PAYCODE2
// the next 5 days they will be paid with PAYCODE2
Step 3 - 2 days with PAYCODE3
// the next 2 days will be paid with PAYCODE3
// the later days will not be paid or Paid with UNPDSICK paycode.
For sick the balance will not be carry forwarded but for Annual leaves (same steps as above) they will be carry forwarded for the next year with a cap of 10 max.
For a HR to see this information we are thinking of a small graph that looks like the below samples & they represent simple sick scheme stuff by cannot show for Accruing leaves like Annual.
Here how can we shown accruing (carry forwarded) concept for Accruing leaves? I was thinking of creating a Linked list like structure with the previous year balance line graph pointing to current year in the graph?