Yes, both. XIRR gives the return your own money earned, with the timing of every deposit and withdrawal in it, and time-weighted return gives the return of the holdings themselves, which is the one you can fairly put next to an index.
Either can be read over any window. Choosing two dates recalculates the whole dashboard from the trades inside them rather than slicing a chart.
Dividends, fees and foreign currency are all in the figure.
AllInvestView