The calculating of number of months could be done with this formula:
This is for date of first visit in A1 and date of last visit in B2. It is possible that the result you get is formated as a date. Select Format - Cells - Number to display it is as number of months.
To round of to the nearest whole number of months use the ROUND(formula) on the result.
About your problem with displaying your data in a chart, I think it would be possible to do with som convertion and manipulation of your data, but would need some more info to give an answer. I'm not sure I understand what you want your chart to look like.
Bookmarks