# C1.Win.FlexReport.Chart.Chart2DAxis

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_FlexReport_Chart_Chart2DAxis" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis" class="text-break">Chart2DAxis Class
</h1>
  <div class="markdown level0 summary"><p>Represents an axis of a 2D chart.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Win.FlexReport.Chart.ChartObject.html">ChartObject</a></div>
    <div class="level2"><a class="xref" href="C1.Win.FlexReport.Chart.ChartAxis.html">ChartAxis</a></div>
    <div class="level3"><span class="xref">Chart2DAxis</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
    <div><span class="xref">IC1Serializable</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.FlexReport.Chart.html">C1.Win.FlexReport.Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexReport.4.8.dll</h6>
  <h5 id="C1_Win_FlexReport_Chart_Chart2DAxis_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Chart2DAxis : ChartAxis, INotifyPropertyChanged, IC1Serializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Chart2DAxis
    Inherits ChartAxis
    Implements INotifyPropertyChanged, IC1Serializable</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_Alignment" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.Alignment">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.Alignment.html#C1_Win_FlexReport_Chart_Chart2DAxis_Alignment">Alignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text alignment within the axis display.
Inherits from chart area.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_AnnoMethod" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.AnnoMethod">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.AnnoMethod.html#C1_Win_FlexReport_Chart_Chart2DAxis_AnnoMethod">AnnoMethod</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the method of annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_AnnoRotation" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.AnnoRotation">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.AnnoRotation.html#C1_Win_FlexReport_Chart_Chart2DAxis_AnnoRotation">AnnoRotation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the clockwise angle of rotation for the axis annotations, in degrees.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_AnnoVerticalText" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.AnnoVerticalText">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.AnnoVerticalText.html#C1_Win_FlexReport_Chart_Chart2DAxis_AnnoVerticalText">AnnoVerticalText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether annotation text is displayed vertically.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_AutoOrigin" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.AutoOrigin">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.AutoOrigin.html#C1_Win_FlexReport_Chart_Chart2DAxis_AutoOrigin">AutoOrigin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the axis origin is caculated automatically.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_Compass" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.Compass">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.Compass.html#C1_Win_FlexReport_Chart_Chart2DAxis_Compass">Compass</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the general positioning of the axis.
X may be set to North/South, Y and Y2 may be set to East/West.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_Font" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.Font">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.Font.html#C1_Win_FlexReport_Chart_Chart2DAxis_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the FontHolder object.
Inherits from the chart area.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_ForeColor" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.ForeColor">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.ForeColor.html#C1_Win_FlexReport_Chart_Chart2DAxis_ForeColor">ForeColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the foreground color.
Inherits from the chart area.
The ForeColor is used to set the color of the axis line and annotations.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_GridMajor" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.GridMajor">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.GridMajor.html#C1_Win_FlexReport_Chart_Chart2DAxis_GridMajor">GridMajor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the major grid lines object.
Major grids are placed coincident with major tick marks at <a class="xref" href="C1.Win.FlexReport.Chart.ChartAxis.UnitMajor.html#C1_Win_FlexReport_Chart_ChartAxis_UnitMajor">UnitMajor</a> intervals.
The GridMajor property is used to set the grid line appearance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_GridMinor" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.GridMinor">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.GridMinor.html#C1_Win_FlexReport_Chart_Chart2DAxis_GridMinor">GridMinor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the minor grid lines object.
Minor grids are placed coincident with minor tick marks at <a class="xref" href="C1.Win.FlexReport.Chart.ChartAxis.UnitMinor.html#C1_Win_FlexReport_Chart_ChartAxis_UnitMinor">UnitMinor</a> intervals.
The GridMinor property is used to set the grid line appearance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_IsLogarithmic" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.IsLogarithmic">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.IsLogarithmic.html#C1_Win_FlexReport_Chart_Chart2DAxis_IsLogarithmic">IsLogarithmic</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the axis is scaled logarithmically.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_LogarithmicBase" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.LogarithmicBase">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.LogarithmicBase.html#C1_Win_FlexReport_Chart_Chart2DAxis_LogarithmicBase">LogarithmicBase</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the base of the logarithmic scale used.
Less than or equal to 1 specifies natural logs.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_NoAnnoOverlap" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.NoAnnoOverlap">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.NoAnnoOverlap.html#C1_Win_FlexReport_Chart_Chart2DAxis_NoAnnoOverlap">NoAnnoOverlap</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether axis annotations are permitted to overlap.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_OnTop" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.OnTop">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.OnTop.html#C1_Win_FlexReport_Chart_Chart2DAxis_OnTop">OnTop</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether axis and gridlines appear on top of the chart image.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_Origin" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.Origin">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.Origin.html#C1_Win_FlexReport_Chart_Chart2DAxis_Origin">Origin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the axis origin, the value on axis where the perpendicular axis is rendered.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_Reversed" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.Reversed">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.Reversed.html#C1_Win_FlexReport_Chart_Chart2DAxis_Reversed">Reversed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the axis is normal or reversed (ascending or descending).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_Rotation" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.Rotation">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.Rotation.html#C1_Win_FlexReport_Chart_Chart2DAxis_Rotation">Rotation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the rotational orientation of the textual caption of the axis.
Inherits from the chart area.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_Thickness" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.Thickness">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.Thickness.html#C1_Win_FlexReport_Chart_Chart2DAxis_Thickness">Thickness</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the line thickness of the axis in twips.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_TickFactorMajor" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.TickFactorMajor">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.TickFactorMajor.html#C1_Win_FlexReport_Chart_Chart2DAxis_TickFactorMajor">TickFactorMajor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an integral factor for major tick mark length.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_TickFactorMinor" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.TickFactorMinor">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.TickFactorMinor.html#C1_Win_FlexReport_Chart_Chart2DAxis_TickFactorMinor">TickFactorMinor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an integral factor for minor tick mark length.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_TickGauge" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.TickGauge">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.TickGauge.html#C1_Win_FlexReport_Chart_Chart2DAxis_TickGauge">TickGauge</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the approximate number of intervals delineated by gauge marks between major tick marks.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_TickLabels" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.TickLabels">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.TickLabels.html#C1_Win_FlexReport_Chart_Chart2DAxis_TickLabels">TickLabels</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the placement of the annotation labels relative to the axis.
Axis annotations can be placed on the chart in several positions or not at all.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_TickMajor" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.TickMajor">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.TickMajor.html#C1_Win_FlexReport_Chart_Chart2DAxis_TickMajor">TickMajor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of major tick mark.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_TickMinor" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.TickMinor">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.TickMinor.html#C1_Win_FlexReport_Chart_Chart2DAxis_TickMinor">TickMinor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of minor tick mark.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_ValueLabels" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.ValueLabels">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.ValueLabels.html#C1_Win_FlexReport_Chart_Chart2DAxis_ValueLabels">ValueLabels</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the Chart2DValueLabels collection for this axis.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_VerticalText" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.VerticalText">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.VerticalText.html#C1_Win_FlexReport_Chart_Chart2DAxis_VerticalText">VerticalText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the label text is displayed vertically.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_AssignFrom_C1_Win_FlexReport_Chart_ChartObject_" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.AssignFrom(C1.Win.FlexReport.Chart.ChartObject)">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.AssignFrom.html#C1_Win_FlexReport_Chart_Chart2DAxis_AssignFrom_C1_Win_FlexReport_Chart_ChartObject_">AssignFrom(ChartObject)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.
Assigns (copies) properties from another <a class="xref" href="C1.Win.FlexReport.Chart.ChartObject.html">ChartObject</a> to the current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_ResetFont" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.ResetFont">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.ResetFont.html#C1_Win_FlexReport_Chart_Chart2DAxis_ResetFont">ResetFont()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the Font property to default state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_ResetForeColor" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.ResetForeColor">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.ResetForeColor.html#C1_Win_FlexReport_Chart_Chart2DAxis_ResetForeColor">ResetForeColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the ForeColor property to default state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_ResetRotation" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.ResetRotation">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.ResetRotation.html#C1_Win_FlexReport_Chart_Chart2DAxis_ResetRotation">ResetRotation()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the Rotation property to default state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_ResetVerticalText" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.ResetVerticalText">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.ResetVerticalText.html#C1_Win_FlexReport_Chart_Chart2DAxis_ResetVerticalText">ResetVerticalText()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the VerticalText property to default state.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_ShouldSerializeFont" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.ShouldSerializeFont">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.ShouldSerializeFont.html#C1_Win_FlexReport_Chart_Chart2DAxis_ShouldSerializeFont">ShouldSerializeFont()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns false if the Font property is in the default state.
The default state is to inherit the Font from the Chart2DArea object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_ShouldSerializeForeColor" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.ShouldSerializeForeColor">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.ShouldSerializeForeColor.html#C1_Win_FlexReport_Chart_Chart2DAxis_ShouldSerializeForeColor">ShouldSerializeForeColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns false if the ForeColor property is in the default state.
The default state is to inherit the ForeColor from the Chart2DArea object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_ShouldSerializeRotation" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.ShouldSerializeRotation">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.ShouldSerializeRotation.html#C1_Win_FlexReport_Chart_Chart2DAxis_ShouldSerializeRotation">ShouldSerializeRotation()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns false if the Rotation property is in the default state.
The default state is to inherit the Rotation from the Chart2DArea object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_Chart2DAxis_ShouldSerializeVerticalText" data-uid="C1.Win.FlexReport.Chart.Chart2DAxis.ShouldSerializeVerticalText">
          <a class="xref" href="C1.Win.FlexReport.Chart.Chart2DAxis.ShouldSerializeVerticalText.html#C1_Win_FlexReport_Chart_Chart2DAxis_ShouldSerializeVerticalText">ShouldSerializeVerticalText()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns false if the VerticalText property is in the default state.
The default state is to inherit the VerticalText from the Chart2DArea object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
