# GrapeCity.Documents.Excel.IDataBar

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Excel_IDataBar" data-uid="GrapeCity.Documents.Excel.IDataBar" class="text-break">IDataBar Interface
</h1>
  <div class="markdown level0 summary"><p>Represents a data bar conditional formating rule. Applying a data bar to a range helps you see the value of a cell relative to other cells.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Excel.html">GrapeCity.Documents.Excel</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Excel.dll</h6>
  <h5 id="GrapeCity_Documents_Excel_IDataBar_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IDataBar</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IDataBar</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="GrapeCity_Documents_Excel_IDataBar_AppliesTo" data-uid="GrapeCity.Documents.Excel.IDataBar.AppliesTo">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.AppliesTo.html#GrapeCity_Documents_Excel_IDataBar_AppliesTo">AppliesTo</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a Range object that specifies the cell range to which the formatting rule is applied.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDataBar_AxisColor" data-uid="GrapeCity.Documents.Excel.IDataBar.AxisColor">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.AxisColor.html#GrapeCity_Documents_Excel_IDataBar_AxisColor">AxisColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the color of the axis for cells with conditional formatting as data bars.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDataBar_AxisPosition" data-uid="GrapeCity.Documents.Excel.IDataBar.AxisPosition">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.AxisPosition.html#GrapeCity_Documents_Excel_IDataBar_AxisPosition">AxisPosition</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the position of the axis of the data bars specified by a conditional formatting rule.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDataBar_BarBorder" data-uid="GrapeCity.Documents.Excel.IDataBar.BarBorder">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.BarBorder.html#GrapeCity_Documents_Excel_IDataBar_BarBorder">BarBorder</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an object that specifies the border of a data bar.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDataBar_BarColor" data-uid="GrapeCity.Documents.Excel.IDataBar.BarColor">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.BarColor.html#GrapeCity_Documents_Excel_IDataBar_BarColor">BarColor</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a FormatColor object that you can use to modify the color of the bars in a data bar conditional format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDataBar_BarFillType" data-uid="GrapeCity.Documents.Excel.IDataBar.BarFillType">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.BarFillType.html#GrapeCity_Documents_Excel_IDataBar_BarFillType">BarFillType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets how a data bar is filled with color.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDataBar_Direction" data-uid="GrapeCity.Documents.Excel.IDataBar.Direction">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.Direction.html#GrapeCity_Documents_Excel_IDataBar_Direction">Direction</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the direction the data bar is displayed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDataBar_MaxPoint" data-uid="GrapeCity.Documents.Excel.IDataBar.MaxPoint">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.MaxPoint.html#GrapeCity_Documents_Excel_IDataBar_MaxPoint">MaxPoint</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="GrapeCity.Documents.Excel.IConditionValue.html">IConditionValue</a> object that specifies how the longest bar is evaluated for a data bar conditional format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDataBar_MinPoint" data-uid="GrapeCity.Documents.Excel.IDataBar.MinPoint">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.MinPoint.html#GrapeCity_Documents_Excel_IDataBar_MinPoint">MinPoint</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a ConditionValue object that specifies how the shortest bar is evaluated for a data bar conditional format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDataBar_NegativeBarFormat" data-uid="GrapeCity.Documents.Excel.IDataBar.NegativeBarFormat">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.NegativeBarFormat.html#GrapeCity_Documents_Excel_IDataBar_NegativeBarFormat">NegativeBarFormat</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the NegativeBarFormat object associated with a data bar conditional formatting rule.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDataBar_PercentMax" data-uid="GrapeCity.Documents.Excel.IDataBar.PercentMax">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.PercentMax.html#GrapeCity_Documents_Excel_IDataBar_PercentMax">PercentMax</a>
        </td>
        <td class="markdown level1 summary"><p>Returns or sets an Integer value that specifies the length of the longest data bar as a percentage of cell width.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDataBar_PercentMin" data-uid="GrapeCity.Documents.Excel.IDataBar.PercentMin">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.PercentMin.html#GrapeCity_Documents_Excel_IDataBar_PercentMin">PercentMin</a>
        </td>
        <td class="markdown level1 summary"><p>Returns or sets an Integer value that specifies the length of the shortest data bar as a percentage of cell width.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDataBar_Priority" data-uid="GrapeCity.Documents.Excel.IDataBar.Priority">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.Priority.html#GrapeCity_Documents_Excel_IDataBar_Priority">Priority</a>
        </td>
        <td class="markdown level1 summary"><p>Returns or sets the priority value of the conditional formatting rule. The priority determines the order of evaluation when
multiple conditional formatting rules exist in a worksheet.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDataBar_ShowValue" data-uid="GrapeCity.Documents.Excel.IDataBar.ShowValue">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.ShowValue.html#GrapeCity_Documents_Excel_IDataBar_ShowValue">ShowValue</a>
        </td>
        <td class="markdown level1 summary"><p>Returns or sets a Boolean value that specifies if the value in the cell is displayed if the data bar conditional format is applied to the range.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDataBar_StopIfTrue" data-uid="GrapeCity.Documents.Excel.IDataBar.StopIfTrue">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.StopIfTrue.html#GrapeCity_Documents_Excel_IDataBar_StopIfTrue">StopIfTrue</a>
        </td>
        <td class="markdown level1 summary"><p>Returns or sets a Boolean value that determines if additional formatting rules on the cell should be evaluated if the current rule evaluates to True.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDataBar_Type" data-uid="GrapeCity.Documents.Excel.IDataBar.Type">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.Type.html#GrapeCity_Documents_Excel_IDataBar_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the type of this conditional format.</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="GrapeCity_Documents_Excel_IDataBar_Delete" data-uid="GrapeCity.Documents.Excel.IDataBar.Delete">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.Delete.html#GrapeCity_Documents_Excel_IDataBar_Delete">Delete()</a>
        </td>
        <td class="markdown level1 summary"><p>Deletes this conditional format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDataBar_FromJson_System_String_" data-uid="GrapeCity.Documents.Excel.IDataBar.FromJson(System.String)">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.FromJson.html#GrapeCity_Documents_Excel_IDataBar_FromJson_System_String_">FromJson(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Generates the conditional format from the json string.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDataBar_SetFirstPriority" data-uid="GrapeCity.Documents.Excel.IDataBar.SetFirstPriority">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.SetFirstPriority.html#GrapeCity_Documents_Excel_IDataBar_SetFirstPriority">SetFirstPriority()</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the priority value for this conditional formatting rule to &quot;1&quot; so that
it will be evaluated before all other rules on the worksheet.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDataBar_SetLastPriority" data-uid="GrapeCity.Documents.Excel.IDataBar.SetLastPriority">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.SetLastPriority.html#GrapeCity_Documents_Excel_IDataBar_SetLastPriority">SetLastPriority()</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the evaluation order for this conditional formatting rule so it is evaluated
after all other rules on the worksheet.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IDataBar_ToJson" data-uid="GrapeCity.Documents.Excel.IDataBar.ToJson">
          <a class="xref" href="GrapeCity.Documents.Excel.IDataBar.ToJson.html#GrapeCity_Documents_Excel_IDataBar_ToJson">ToJson()</a>
        </td>
        <td class="markdown level1 summary"><p>Generates a json string from the conditional format.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
