added filter for line chart. Fixed errors issue when adding charts
merge