# C1.Win.Chart.ChartStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Chart_ChartStyle" data-uid="C1.Win.Chart.ChartStyle" class="text-break">ChartStyle Class
</h1>
  <div class="markdown level0 summary"><p>Specifies visual style for chart elements.</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"><span class="xref">ChartStyle</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>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Chart.html">C1.Win.Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexChart.10.dll</h6>
  <h5 id="C1_Win_Chart_ChartStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ChartStyleConverter))]
public class ChartStyle : INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ChartStyleConverter))&gt;
Public Class ChartStyle
    Implements INotifyPropertyChanged</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Chart_ChartStyle__ctor" data-uid="C1.Win.Chart.ChartStyle.#ctor">
          <a class="xref" href="C1.Win.Chart.ChartStyle.-ctor.html#C1_Win_Chart_ChartStyle__ctor">ChartStyle()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an instance of ChartStyle class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_Chart_ChartStyle_Fill" data-uid="C1.Win.Chart.ChartStyle.Fill">
          <a class="xref" href="C1.Win.Chart.ChartStyle.Fill.html#C1_Win_Chart_ChartStyle_Fill">Fill</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the fill brush of element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_ChartStyle_FillColor" data-uid="C1.Win.Chart.ChartStyle.FillColor">
          <a class="xref" href="C1.Win.Chart.ChartStyle.FillColor.html#C1_Win_Chart_ChartStyle_FillColor">FillColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the fill color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_ChartStyle_Font" data-uid="C1.Win.Chart.ChartStyle.Font">
          <a class="xref" href="C1.Win.Chart.ChartStyle.Font.html#C1_Win_Chart_ChartStyle_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the font of the chart element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_ChartStyle_LinePattern" data-uid="C1.Win.Chart.ChartStyle.LinePattern">
          <a class="xref" href="C1.Win.Chart.ChartStyle.LinePattern.html#C1_Win_Chart_ChartStyle_LinePattern">LinePattern</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the Line Pattern.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_ChartStyle_Stroke" data-uid="C1.Win.Chart.ChartStyle.Stroke">
          <a class="xref" href="C1.Win.Chart.ChartStyle.Stroke.html#C1_Win_Chart_ChartStyle_Stroke">Stroke</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the stroke brush of element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_ChartStyle_StrokeColor" data-uid="C1.Win.Chart.ChartStyle.StrokeColor">
          <a class="xref" href="C1.Win.Chart.ChartStyle.StrokeColor.html#C1_Win_Chart_ChartStyle_StrokeColor">StrokeColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the stroke color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_ChartStyle_StrokeDashPattern" data-uid="C1.Win.Chart.ChartStyle.StrokeDashPattern">
          <a class="xref" href="C1.Win.Chart.ChartStyle.StrokeDashPattern.html#C1_Win_Chart_ChartStyle_StrokeDashPattern">StrokeDashPattern</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the stroke dash pattern.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_ChartStyle_StrokeWidth" data-uid="C1.Win.Chart.ChartStyle.StrokeWidth">
          <a class="xref" href="C1.Win.Chart.ChartStyle.StrokeWidth.html#C1_Win_Chart_ChartStyle_StrokeWidth">StrokeWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the stroke width.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_ChartStyle_VerticalText" data-uid="C1.Win.Chart.ChartStyle.VerticalText">
          <a class="xref" href="C1.Win.Chart.ChartStyle.VerticalText.html#C1_Win_Chart_ChartStyle_VerticalText">VerticalText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the text should be rendered 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_Chart_ChartStyle_ResetFillColor" data-uid="C1.Win.Chart.ChartStyle.ResetFillColor">
          <a class="xref" href="C1.Win.Chart.ChartStyle.ResetFillColor.html#C1_Win_Chart_ChartStyle_ResetFillColor">ResetFillColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Chart.ChartStyle.FillColor.html#C1_Win_Chart_ChartStyle_FillColor">FillColor</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_ChartStyle_ResetFont" data-uid="C1.Win.Chart.ChartStyle.ResetFont">
          <a class="xref" href="C1.Win.Chart.ChartStyle.ResetFont.html#C1_Win_Chart_ChartStyle_ResetFont">ResetFont()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Chart.ChartStyle.Font.html#C1_Win_Chart_ChartStyle_Font">Font</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_ChartStyle_ResetStrokeColor" data-uid="C1.Win.Chart.ChartStyle.ResetStrokeColor">
          <a class="xref" href="C1.Win.Chart.ChartStyle.ResetStrokeColor.html#C1_Win_Chart_ChartStyle_ResetStrokeColor">ResetStrokeColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Chart.ChartStyle.StrokeColor.html#C1_Win_Chart_ChartStyle_StrokeColor">StrokeColor</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_ChartStyle_ResetStrokeWidth" data-uid="C1.Win.Chart.ChartStyle.ResetStrokeWidth">
          <a class="xref" href="C1.Win.Chart.ChartStyle.ResetStrokeWidth.html#C1_Win_Chart_ChartStyle_ResetStrokeWidth">ResetStrokeWidth()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Chart.ChartStyle.StrokeWidth.html#C1_Win_Chart_ChartStyle_StrokeWidth">StrokeWidth</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_ChartStyle_ResetVerticalText" data-uid="C1.Win.Chart.ChartStyle.ResetVerticalText">
          <a class="xref" href="C1.Win.Chart.ChartStyle.ResetVerticalText.html#C1_Win_Chart_ChartStyle_ResetVerticalText">ResetVerticalText()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the default value of the <a class="xref" href="C1.Win.Chart.ChartStyle.VerticalText.html#C1_Win_Chart_ChartStyle_VerticalText">VerticalText</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_ChartStyle_ShouldSerializeFillColor" data-uid="C1.Win.Chart.ChartStyle.ShouldSerializeFillColor">
          <a class="xref" href="C1.Win.Chart.ChartStyle.ShouldSerializeFillColor.html#C1_Win_Chart_ChartStyle_ShouldSerializeFillColor">ShouldSerializeFillColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Chart.ChartStyle.FillColor.html#C1_Win_Chart_ChartStyle_FillColor">FillColor</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_ChartStyle_ShouldSerializeFont" data-uid="C1.Win.Chart.ChartStyle.ShouldSerializeFont">
          <a class="xref" href="C1.Win.Chart.ChartStyle.ShouldSerializeFont.html#C1_Win_Chart_ChartStyle_ShouldSerializeFont">ShouldSerializeFont()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Chart.ChartStyle.Font.html#C1_Win_Chart_ChartStyle_Font">Font</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_ChartStyle_ShouldSerializeStrokeColor" data-uid="C1.Win.Chart.ChartStyle.ShouldSerializeStrokeColor">
          <a class="xref" href="C1.Win.Chart.ChartStyle.ShouldSerializeStrokeColor.html#C1_Win_Chart_ChartStyle_ShouldSerializeStrokeColor">ShouldSerializeStrokeColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Chart.ChartStyle.StrokeColor.html#C1_Win_Chart_ChartStyle_StrokeColor">StrokeColor</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_ChartStyle_ShouldSerializeStrokeWidth" data-uid="C1.Win.Chart.ChartStyle.ShouldSerializeStrokeWidth">
          <a class="xref" href="C1.Win.Chart.ChartStyle.ShouldSerializeStrokeWidth.html#C1_Win_Chart_ChartStyle_ShouldSerializeStrokeWidth">ShouldSerializeStrokeWidth()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Chart.ChartStyle.StrokeWidth.html#C1_Win_Chart_ChartStyle_StrokeWidth">StrokeWidth</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_ChartStyle_ShouldSerializeVerticalText" data-uid="C1.Win.Chart.ChartStyle.ShouldSerializeVerticalText">
          <a class="xref" href="C1.Win.Chart.ChartStyle.ShouldSerializeVerticalText.html#C1_Win_Chart_ChartStyle_ShouldSerializeVerticalText">ShouldSerializeVerticalText()</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether to save the value of the <a class="xref" href="C1.Win.Chart.ChartStyle.VerticalText.html#C1_Win_Chart_ChartStyle_VerticalText">VerticalText</a> property.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Chart_ChartStyle_PropertyChanged" data-uid="C1.Win.Chart.ChartStyle.PropertyChanged">
          <a class="xref" href="C1.Win.Chart.ChartStyle.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Fires when property value has changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
