ComponentOne Chart for WPF and Silverlight
Chart for WPF and Silverlight / Chart Features / Axis / Annotation / Displaying Axis and Tick Marks on Opposite Sides of Chart
In This Topic
    Displaying Axis and Tick Marks on Opposite Sides of Chart
    In This Topic

    To display the horizontal axis and annotations on the opposite side of the chart you can use the auxiliary axis and position the axis at the top with the title only like the following code:

    C#
    Copy Code
    c1Chart1.View.Axes.Add(new Axis()
          {
            AxisType = AxisType.X,
            Position = AxisPosition.Far,
            ItemsSource = new string[] { ""},
            Title = "Axis title",
          });
    

     

    See Also