Hi I need the following help in graphs. In the same graph we plot two different sets of related data and one set of data we view bar graph and another we view line graph. User should have the flexibility to select chart type as per requirement.

Do you want user to switch what should be in bar chart and what should be in line chart ? if this is requirement then you can use a parameter and create the calculated fields and use that in the marks for each chart