Who is online?  86 guests and 0 members

Dundas Chart

Topic RSS Feed

Posts under the topic: Dundas Chart

Posted: 6/29/2010 6:48:10 PM

Lurker 10  points  Lurker
  • Joined on: 6/29/2010 6:27:59 PM
  • Posts: 2

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

Contributor 2499  points  Contributor
  • Joined on: 5/3/2010 8:45:04 PM
  • Posts: 145
answered  Answered

I think the best way to ask Dundas Charts specific question is by using Dundas company Forums here: http://support2.dundas.com/forum/


Page 1 of 1 (2 items)