This is a migrated thread and some comments may be shown as answers.

Series alignment issue

1 Answer 13 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
John asked on 06 May 2011, 01:00 AM

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

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 11 May 2011, 09:55 AM
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.

Chart (Obsolete)
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question