Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

How do I Only display Row Labels and not Column labels on X axis of Bar Chart?

Last post 05-07-2008 9:56 by stwokie. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-06-2008 16:44

    • stwokie
    • Not Ranked
    • Joined on 12-27-2007
    • Points 25

    How do I Only display Row Labels and not Column labels on X axis of Bar Chart?

     

    I want to have the column labels in the legend only, and the row labels (Be Increasing, Empty Pens, Variable Consumption, etc as labels on the graph.  I also would like to rotate the column labels

     

     

    The attached zip file contains a word document with examples of the graph as it is and a graph created in MS Excel that shows what I am trying to accomplish

     

    • Post Points: 20
  • 05-07-2008 7:06 In reply to

    Re: How do I Only display Row Labels and not Column labels on X axis of Bar Chart?

    Answer

    You can use the following code:

    this.ultraChart1.Axis.Y.Labels.Visible = false;

    this.ultraChart1.Axis.Y.Labels.SeriesLabels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Horizontal;

    this.ultraChart1.Axis.Y.Labels.SeriesLabels.WrapText = true;

    this.ultraChart1.Axis.Y.Labels.SeriesLabels.Font = new Font("arial", 18);

    Best regards,
    Teodor Taushanov
    • Post Points: 5
  • 05-07-2008 9:56 In reply to

    • stwokie
    • Not Ranked
    • Joined on 12-27-2007
    • Points 25

    Re: How do I Only display Row Labels and not Column labels on X axis of Bar Chart?

    Thank You!  That worked perfectly.

    • Post Points: 5
Page 1 of 1 (3 items)
Powered by Community Server (Commercial Edition), by Telligent Systems