Hi Tahreen,
In straight table and Line chart, there is a tab called "Layout"
And there is a setting called "Show" in it.
Choose Conditional, and use below condition:
For straight table: if([Your List Box Field Name] = 'Summariy view',1,0)
For line chart: if([Your List Box Field Name] = 'Line view',1,0)
Thanks
Aiolos