我正在使用 MS Chat SP Line。当我将鼠标悬停在图表的任何点上时,希望能显示该特定点的读数。我的图表如下:
DataView dv = dtGroupedBy.DefaultView;
dv.Sort = "DATE";
chart1.DataSource = dv;
chart1.DataBind();
<asp:chart runat="server" ID="chart1" Height="432px" Width="923px"
style="margin-top: 0px">
<Series>
<asp:Series Name="Series1" ChartType="Spline" XValueMember="DATE" YValueMembers="POWER"
Color="LightGreen">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1">
<AxisX Title="Days">
</AxisX>
<AxisY Title="Electricity in KW">
</AxisY>
</asp:ChartArea>
</ChartAreas>
</asp:chart>
希望收到您的回复。