generate figure with scroll
index_group is added in order to process several focused  point