To Set custom Label Position on XAxis RRS feed

  • Question

  • Hello ,

        I have used custom label  for the chart.

     Chart1.ChartAreas[0].AxisX.CustomLabels.Add(new CustomLabel(frmPosition, ToPosition, Convert.ToString(dt.Tables[0].Rows[k]["XAxis"].ToString()), 0, LabelMarkStyle.None,GridTickTypes.TickMark));

    custom labels  are seen but   label is shown  in middle of the range , instead I want  to be displayed at end range.

    example : from 1-Oct-2015 to 31-Oct-2015  --- on XAxis one label as  31-Oct-2015

                         But it is displayed between 2 dates in middle.

    I need help to display label marker  at exact 31-Oct-2015 (end Range).


    Monday, October 19, 2015 1:28 PM