I’m sure that there are several options for interactivity for both ASP.NET and Windows Forms.
here: Interactivity (chart controls)
:
using System.Web.UI.DataVisualization.Charting;
...
Chart1.Legends[0].CustomItems[0].Cells[0].Image = "./cleared.png";
Chart1.Legends[0].CustomItems[0].Cells[0].PostBackValue = "item 1";
this.Chart1.Click += new ImageMapEventHandler(this.Chart1_Click);
...
private void Chart1_Click(object sender, System.Web.UI.WebControls.ImageMapEventArgs e)
{
if (e.PostBackValue == "item 1")
{
LegendCell cell = Chart1.Legends[0].CustomItems[0].Cells[0];
cell.Image = (cell.Image == "./cleared.png") ? "./selected.png" : "./cleared.png";
}
}
:
onmouseover=\"DisplayTooltip(' <img src=DetailedChart.aspx />');\"