How to display chart in new tab in asp.net
my code as follows<<asp:Chart ID="chart2" runat="server" Width="747px">
<series>
<asp:Series Name="Approved" Label="" Legend="Legend1">
<asp:Series Name="Rejected" Label="" Legend="Legend1">
<asp:Series Name="Pending" Label="" Legend="Legend1">
<chartareas>
<asp:ChartArea Name="ChartArea1">
<legends>
<asp:Legend Name="Legend1">
i have one button, when i click the button chart will display.
My code for button click as follows
chart2.Visible = true;
chart2.Series[0].Points.Add(new DataPoint(0, 5));
chart2.Series[0].Points.Add(new DataPoint(1, 12));
chart2.Series[0].Points.Add(new DataPoint(2, 18));
chart2.Series[0].Points.Add(new DataPoint(3, 22));
chart2.Series[1].Points.Add(new DataPoint(0, 10));
chart2.Series[1].Points.Add(new DataPoint(1, 14));
chart2.Series[1].Points.Add(new DataPoint(2, 19));
chart2.Series[1].Points.Add(new DataPoint(3, 23));
i want to display chart in new tab for that how to do