I need to place a link on each xaxis label that redirects to another page and to do that I put this code in: protected void Chart1_DataBound(object sender, EventArgs e) { Chart1.AxisX.Sections.Clear(); for (int i = 1; i < 14; i++) { AxisSection asec = new AxisSection(i, i, Color.Transparent); asec.Text = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(Chart1.AxisX.Labels); asec.Link.Url = "charttraffic.aspx?lbl=" + Chart1.AxisX.Labels + "&type=" + ddl_renttype.SelectedValue; Chart1.AxisX.Sections.Add(asec); } }
but when I set the text for the AxisSection it appears on the LegendBox and I have not found any way to remove it, other than remove the asec.Text section but in doing that the tooltip just says "From 1 to 1". Is there anyway to remove the sections from the LegendBox or another way of changing the Tooltip Text?