Posted: 6/29/2010 6:48:10 PM
Hi
I have a chart displaying a bar-graph displaying X-Axis as dates. I want to know how can i make these dates a link so that person can click on the date and get redirected to other page. As of now I am using below mentioned code.
protected void SetChartArea(DCW.Chart chart)
{
chart.ChartAreas[0].AxisY.MinorTickMark.Interval = 0;
chart.ChartAreas[0].AxisX.MinorTickMark.Interval = 0;
chart.ChartAreas[0].AxisY.MinorGrid.Interval = 0;
chart.ChartAreas[0].AxisX.MinorGrid.Interval = 0;
chart.ChartAreas[0].AxisX.LabelsAutoFit = true;
chart.ChartAreas[0].AxisY.LabelsAutoFit = true;
chart.ChartAreas[0].AxisX.LabelsAutoFitStyle = LabelsAutoFitStyle.LabelsAngleStep45;
chart.ChartAreas[0].AxisY.LabelsAutoFitStyle = LabelsAutoFitStyle.LabelsAngleStep45;
chart.ChartAreas[0].AxisX.MarksNextToAxis = true;
chart.ChartAreas[0].AxisX.MajorGrid.Interval = 1;
chart.ChartAreas[0].AxisX.TitleFont = new Font("Arial", 12);
chart.ChartAreas[0].AxisY.TitleFont = new Font("Arial", 12);
chart.ChartAreas[0].ShadowOffset = 5;
chart.ChartAreas[0].AxisY.MajorGrid.LineColor = Color.Silver;
chart.ChartAreas[0].AxisX.MajorGrid.LineColor = Color.Silver;
chart.ChartAreas[0].BackColor = Color.White;
chart.ChartAreas[0].AxisX.Interval = 1;
chart.ChartAreas[0].AxisX.LabelStyle.ShowEndLabels = false;
}
Posted: 6/29/2010 8:31:15 PM
I think the best way to ask Dundas Charts specific question is by using Dundas company Forums here: http://support2.dundas.com/forum/