Series alignment issue

Thread is closed for posting
2 posts, 0 answers
  1. John
    John avatar
    18 posts
    Member since:
    Oct 2010

    Posted 05 May 2011 Link to this post

    I can not figure out how to make my series text be aligned in the center and not the bottom - see image.  My code to create the line chart is below - I am using the Forest skin.

      RadChart1.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Font = New Font("Arial", 10)
      RadChart1.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Color = Color.Black
      RadChart1.PlotArea.XAxis.AutoScale = False
      RadChart1.PlotArea.XAxis.LayoutMode = ChartAxisLayoutMode.Between
      Dim currentSeries As ChartSeries = New ChartSeries("Current", ChartSeriesType.Line)
      currentSeries.Appearance.Border.Color = Color.Black
      currentSeries.Appearance.ShowLabels = False
      Dim priorSeries As ChartSeries = New ChartSeries("Previous", ChartSeriesType.Line)
      priorSeries.Appearance.FillStyle.FillType = FillType.Solid
      priorSeries.Appearance.TextAppearance.TextProperties.Font = New Font("Verdana", 6)
      priorSeries.Appearance.TextAppearance.TextProperties.Color = Color.Black
      priorSeries.Appearance.LabelAppearance.Border.Color = Color.Black
      priorSeries.Appearance.LabelAppearance.FillStyle.MainColor = Color.IndianRed
      priorSeries.Appearance.LabelAppearance.FillStyle.FillType = FillType.Solid
  2. Evgenia
    Evgenia avatar
    1437 posts

    Posted 11 May 2011 Link to this post

    Hi John,

    Have you set any Position or Distance for the Labels in the mark-up as they should appear above their corresponding pointmarks by default?
    If not please open a formal support thread and send us a sample runnable project with this issue so that we can investigate it and provide you with more appropriate help.

    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top