I am trying to implement a logic, wherein a chart displays months on the x-axis. (integer values 1 to 20)
but as the start month is different for different items, so i want the months to be relative.. as in the starting month of an item should be 1 and so on.. till 20 months.. so if starting month for 'A' is 'may 2010' and starting month for 'B' is 'Jan 2000', both should correspond to '1'. is there a way to achieve this?
instead of going only till 20, it could continue infinitely (till wherever the data s present) as well