Fix grid.x.lines when timeseries
Add sample for grid.x.lines