Terminal.Gui.Graphs.BarSeries.html 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500
  1. <!DOCTYPE html>
  2. <!--[if IE]><![endif]-->
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <title>Class BarSeries
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class BarSeries
  11. ">
  12. <link rel="shortcut icon" href="../../favicon.ico">
  13. <link rel="stylesheet" href="../../styles/docfx.vendor.min.css">
  14. <link rel="stylesheet" href="../../styles/docfx.css">
  15. <link rel="stylesheet" href="../../styles/main.css">
  16. <meta property="docfx:navrel" content="../../toc.html">
  17. <meta property="docfx:tocrel" content="toc.html">
  18. <meta property="docfx:rel" content="../../">
  19. </head>
  20. <body data-spy="scroll" data-target="#affix" data-offset="120">
  21. <div id="wrapper">
  22. <header>
  23. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  24. <div class="container">
  25. <div class="navbar-header">
  26. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  27. <span class="sr-only">Toggle navigation</span>
  28. <span class="icon-bar"></span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. </button>
  32. <a class="navbar-brand" href="../../index.html">
  33. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  34. </a>
  35. </div>
  36. <div class="collapse navbar-collapse" id="navbar">
  37. <form class="navbar-form navbar-right" role="search" id="search">
  38. <div class="form-group">
  39. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  40. </div>
  41. </form>
  42. </div>
  43. </div>
  44. </nav>
  45. <div class="subnav navbar navbar-default">
  46. <div class="container hide-when-search" id="breadcrumb">
  47. <ul class="breadcrumb">
  48. <li></li>
  49. </ul>
  50. </div>
  51. </div>
  52. </header>
  53. <div class="container body-content">
  54. <div id="search-results">
  55. <div class="search-list">Search Results for <span></span></div>
  56. <div class="sr-items">
  57. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  58. </div>
  59. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  60. </div>
  61. </div>
  62. <div role="main" class="container body-content hide-when-search">
  63. <div class="sidenav hide-when-search">
  64. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  65. <div class="sidetoggle collapse" id="sidetoggle">
  66. <div id="sidetoc"></div>
  67. </div>
  68. </div>
  69. <div class="article row grid-right">
  70. <div class="col-md-10">
  71. <article class="content wrap" id="_content" data-uid="Terminal.Gui.Graphs.BarSeries">
  72. <h1 id="Terminal_Gui_Graphs_BarSeries" data-uid="Terminal.Gui.Graphs.BarSeries" class="text-break">Class BarSeries
  73. </h1>
  74. <div class="markdown level0 summary">Series of bars positioned at regular intervals</div>
  75. <div class="markdown level0 conceptual"></div>
  76. <div class="inheritance">
  77. <h5>Inheritance</h5>
  78. <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
  79. <div class="level1"><span class="xref">BarSeries</span></div>
  80. </div>
  81. <div class="implements">
  82. <h5>Implements</h5>
  83. <div><a class="xref" href="Terminal.Gui.Graphs.ISeries.html">ISeries</a></div>
  84. </div>
  85. <div class="inheritedMembers">
  86. <h5>Inherited Members</h5>
  87. <div>
  88. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
  89. </div>
  90. <div>
  91. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
  92. </div>
  93. <div>
  94. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
  95. </div>
  96. <div>
  97. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
  98. </div>
  99. <div>
  100. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
  101. </div>
  102. <div>
  103. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
  104. </div>
  105. <div>
  106. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
  107. </div>
  108. </div>
  109. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.html">Terminal</a>.<a class="xref" href="Terminal.Gui.html">Gui</a>.<a class="xref" href="Terminal.Gui.Graphs.html">Graphs</a></h6>
  110. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  111. <h5 id="Terminal_Gui_Graphs_BarSeries_syntax">Syntax</h5>
  112. <div class="codewrapper">
  113. <pre><code class="lang-csharp hljs">public class BarSeries : ISeries</code></pre>
  114. </div>
  115. <h3 id="properties">Properties
  116. </h3>
  117. <span class="small pull-right mobile-hide">
  118. <span class="divider">|</span>
  119. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_BarSeries_BarEvery.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.BarSeries.BarEvery%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  120. </span>
  121. <span class="small pull-right mobile-hide">
  122. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Series.cs/#L159">View Source</a>
  123. </span>
  124. <a id="Terminal_Gui_Graphs_BarSeries_BarEvery_" data-uid="Terminal.Gui.Graphs.BarSeries.BarEvery*"></a>
  125. <h4 id="Terminal_Gui_Graphs_BarSeries_BarEvery" data-uid="Terminal.Gui.Graphs.BarSeries.BarEvery">BarEvery</h4>
  126. <div class="markdown level1 summary">Determines the spacing of bars along the axis. Defaults to 1 i.e.
  127. every 1 unit of graph space a bar is rendered. Note that you should
  128. also consider <a class="xref" href="Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_CellSize">CellSize</a> when changing this.</div>
  129. <div class="markdown level1 conceptual"></div>
  130. <h5 class="declaration">Declaration</h5>
  131. <div class="codewrapper">
  132. <pre><code class="lang-csharp hljs">public float BarEvery { get; set; }</code></pre>
  133. </div>
  134. <h5 class="propertyValue">Property Value</h5>
  135. <table class="table table-bordered table-condensed">
  136. <thead>
  137. <tr>
  138. <th>Type</th>
  139. <th>Description</th>
  140. </tr>
  141. </thead>
  142. <tbody>
  143. <tr>
  144. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
  145. <td></td>
  146. </tr>
  147. </tbody>
  148. </table>
  149. <span class="small pull-right mobile-hide">
  150. <span class="divider">|</span>
  151. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_BarSeries_Bars.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.BarSeries.Bars%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  152. </span>
  153. <span class="small pull-right mobile-hide">
  154. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Series.cs/#L152">View Source</a>
  155. </span>
  156. <a id="Terminal_Gui_Graphs_BarSeries_Bars_" data-uid="Terminal.Gui.Graphs.BarSeries.Bars*"></a>
  157. <h4 id="Terminal_Gui_Graphs_BarSeries_Bars" data-uid="Terminal.Gui.Graphs.BarSeries.Bars">Bars</h4>
  158. <div class="markdown level1 summary">Ordered collection of graph bars to position along axis</div>
  159. <div class="markdown level1 conceptual"></div>
  160. <h5 class="declaration">Declaration</h5>
  161. <div class="codewrapper">
  162. <pre><code class="lang-csharp hljs">public List&lt;BarSeries.Bar&gt; Bars { get; set; }</code></pre>
  163. </div>
  164. <h5 class="propertyValue">Property Value</h5>
  165. <table class="table table-bordered table-condensed">
  166. <thead>
  167. <tr>
  168. <th>Type</th>
  169. <th>Description</th>
  170. </tr>
  171. </thead>
  172. <tbody>
  173. <tr>
  174. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="Terminal.Gui.Graphs.BarSeries.html">BarSeries</a>.<a class="xref" href="Terminal.Gui.Graphs.BarSeries.Bar.html">Bar</a>&gt;</td>
  175. <td></td>
  176. </tr>
  177. </tbody>
  178. </table>
  179. <span class="small pull-right mobile-hide">
  180. <span class="divider">|</span>
  181. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_BarSeries_DrawLabels.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.BarSeries.DrawLabels%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  182. </span>
  183. <span class="small pull-right mobile-hide">
  184. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Series.cs/#L182">View Source</a>
  185. </span>
  186. <a id="Terminal_Gui_Graphs_BarSeries_DrawLabels_" data-uid="Terminal.Gui.Graphs.BarSeries.DrawLabels*"></a>
  187. <h4 id="Terminal_Gui_Graphs_BarSeries_DrawLabels" data-uid="Terminal.Gui.Graphs.BarSeries.DrawLabels">DrawLabels</h4>
  188. <div class="markdown level1 summary">True to draw <a class="xref" href="Terminal.Gui.Graphs.BarSeries.Bar.html#Terminal_Gui_Graphs_BarSeries_Bar_Text">Text</a> along the axis under the bar. Defaults
  189. to true.</div>
  190. <div class="markdown level1 conceptual"></div>
  191. <h5 class="declaration">Declaration</h5>
  192. <div class="codewrapper">
  193. <pre><code class="lang-csharp hljs">public bool DrawLabels { get; set; }</code></pre>
  194. </div>
  195. <h5 class="propertyValue">Property Value</h5>
  196. <table class="table table-bordered table-condensed">
  197. <thead>
  198. <tr>
  199. <th>Type</th>
  200. <th>Description</th>
  201. </tr>
  202. </thead>
  203. <tbody>
  204. <tr>
  205. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  206. <td></td>
  207. </tr>
  208. </tbody>
  209. </table>
  210. <span class="small pull-right mobile-hide">
  211. <span class="divider">|</span>
  212. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_BarSeries_Offset.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.BarSeries.Offset%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  213. </span>
  214. <span class="small pull-right mobile-hide">
  215. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Series.cs/#L171">View Source</a>
  216. </span>
  217. <a id="Terminal_Gui_Graphs_BarSeries_Offset_" data-uid="Terminal.Gui.Graphs.BarSeries.Offset*"></a>
  218. <h4 id="Terminal_Gui_Graphs_BarSeries_Offset" data-uid="Terminal.Gui.Graphs.BarSeries.Offset">Offset</h4>
  219. <div class="markdown level1 summary">The number of units of graph space along the axis before rendering the first bar
  220. (and subsequent bars - see <a class="xref" href="Terminal.Gui.Graphs.BarSeries.html#Terminal_Gui_Graphs_BarSeries_BarEvery">BarEvery</a>). Defaults to 0</div>
  221. <div class="markdown level1 conceptual"></div>
  222. <h5 class="declaration">Declaration</h5>
  223. <div class="codewrapper">
  224. <pre><code class="lang-csharp hljs">public float Offset { get; set; }</code></pre>
  225. </div>
  226. <h5 class="propertyValue">Property Value</h5>
  227. <table class="table table-bordered table-condensed">
  228. <thead>
  229. <tr>
  230. <th>Type</th>
  231. <th>Description</th>
  232. </tr>
  233. </thead>
  234. <tbody>
  235. <tr>
  236. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
  237. <td></td>
  238. </tr>
  239. </tbody>
  240. </table>
  241. <span class="small pull-right mobile-hide">
  242. <span class="divider">|</span>
  243. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_BarSeries_Orientation.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.BarSeries.Orientation%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  244. </span>
  245. <span class="small pull-right mobile-hide">
  246. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Series.cs/#L165">View Source</a>
  247. </span>
  248. <a id="Terminal_Gui_Graphs_BarSeries_Orientation_" data-uid="Terminal.Gui.Graphs.BarSeries.Orientation*"></a>
  249. <h4 id="Terminal_Gui_Graphs_BarSeries_Orientation" data-uid="Terminal.Gui.Graphs.BarSeries.Orientation">Orientation</h4>
  250. <div class="markdown level1 summary">Direction bars protrude from the corresponding axis.
  251. Defaults to vertical</div>
  252. <div class="markdown level1 conceptual"></div>
  253. <h5 class="declaration">Declaration</h5>
  254. <div class="codewrapper">
  255. <pre><code class="lang-csharp hljs">public Orientation Orientation { get; set; }</code></pre>
  256. </div>
  257. <h5 class="propertyValue">Property Value</h5>
  258. <table class="table table-bordered table-condensed">
  259. <thead>
  260. <tr>
  261. <th>Type</th>
  262. <th>Description</th>
  263. </tr>
  264. </thead>
  265. <tbody>
  266. <tr>
  267. <td><a class="xref" href="Terminal.Gui.Graphs.Orientation.html">Orientation</a></td>
  268. <td></td>
  269. </tr>
  270. </tbody>
  271. </table>
  272. <span class="small pull-right mobile-hide">
  273. <span class="divider">|</span>
  274. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_BarSeries_OverrideBarColor.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.BarSeries.OverrideBarColor%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  275. </span>
  276. <span class="small pull-right mobile-hide">
  277. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Series.cs/#L176">View Source</a>
  278. </span>
  279. <a id="Terminal_Gui_Graphs_BarSeries_OverrideBarColor_" data-uid="Terminal.Gui.Graphs.BarSeries.OverrideBarColor*"></a>
  280. <h4 id="Terminal_Gui_Graphs_BarSeries_OverrideBarColor" data-uid="Terminal.Gui.Graphs.BarSeries.OverrideBarColor">OverrideBarColor</h4>
  281. <div class="markdown level1 summary">Overrides the <a class="xref" href="Terminal.Gui.Graphs.BarSeries.Bar.html#Terminal_Gui_Graphs_BarSeries_Bar_Fill">Fill</a> with a fixed color</div>
  282. <div class="markdown level1 conceptual"></div>
  283. <h5 class="declaration">Declaration</h5>
  284. <div class="codewrapper">
  285. <pre><code class="lang-csharp hljs">public Attribute? OverrideBarColor { get; set; }</code></pre>
  286. </div>
  287. <h5 class="propertyValue">Property Value</h5>
  288. <table class="table table-bordered table-condensed">
  289. <thead>
  290. <tr>
  291. <th>Type</th>
  292. <th>Description</th>
  293. </tr>
  294. </thead>
  295. <tbody>
  296. <tr>
  297. <td><a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a>?</td>
  298. <td></td>
  299. </tr>
  300. </tbody>
  301. </table>
  302. <h3 id="methods">Methods
  303. </h3>
  304. <span class="small pull-right mobile-hide">
  305. <span class="divider">|</span>
  306. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_BarSeries_AdjustColor_Terminal_Gui_Graphs_GraphCellToRender_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.BarSeries.AdjustColor(Terminal.Gui.Graphs.GraphCellToRender)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  307. </span>
  308. <span class="small pull-right mobile-hide">
  309. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Series.cs/#L189">View Source</a>
  310. </span>
  311. <a id="Terminal_Gui_Graphs_BarSeries_AdjustColor_" data-uid="Terminal.Gui.Graphs.BarSeries.AdjustColor*"></a>
  312. <h4 id="Terminal_Gui_Graphs_BarSeries_AdjustColor_Terminal_Gui_Graphs_GraphCellToRender_" data-uid="Terminal.Gui.Graphs.BarSeries.AdjustColor(Terminal.Gui.Graphs.GraphCellToRender)">AdjustColor(GraphCellToRender)</h4>
  313. <div class="markdown level1 summary">Applies any color overriding</div>
  314. <div class="markdown level1 conceptual"></div>
  315. <h5 class="declaration">Declaration</h5>
  316. <div class="codewrapper">
  317. <pre><code class="lang-csharp hljs">protected virtual GraphCellToRender AdjustColor(GraphCellToRender graphCellToRender)</code></pre>
  318. </div>
  319. <h5 class="parameters">Parameters</h5>
  320. <table class="table table-bordered table-condensed">
  321. <thead>
  322. <tr>
  323. <th>Type</th>
  324. <th>Name</th>
  325. <th>Description</th>
  326. </tr>
  327. </thead>
  328. <tbody>
  329. <tr>
  330. <td><a class="xref" href="Terminal.Gui.Graphs.GraphCellToRender.html">GraphCellToRender</a></td>
  331. <td><span class="parametername">graphCellToRender</span></td>
  332. <td></td>
  333. </tr>
  334. </tbody>
  335. </table>
  336. <h5 class="returns">Returns</h5>
  337. <table class="table table-bordered table-condensed">
  338. <thead>
  339. <tr>
  340. <th>Type</th>
  341. <th>Description</th>
  342. </tr>
  343. </thead>
  344. <tbody>
  345. <tr>
  346. <td><a class="xref" href="Terminal.Gui.Graphs.GraphCellToRender.html">GraphCellToRender</a></td>
  347. <td></td>
  348. </tr>
  349. </tbody>
  350. </table>
  351. <span class="small pull-right mobile-hide">
  352. <span class="divider">|</span>
  353. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_BarSeries_DrawBarLine_Terminal_Gui_GraphView_Terminal_Gui_Point_Terminal_Gui_Point_Terminal_Gui_Graphs_BarSeries_Bar_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.BarSeries.DrawBarLine(Terminal.Gui.GraphView%2CTerminal.Gui.Point%2CTerminal.Gui.Point%2CTerminal.Gui.Graphs.BarSeries.Bar)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  354. </span>
  355. <span class="small pull-right mobile-hide">
  356. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Series.cs/#L273">View Source</a>
  357. </span>
  358. <a id="Terminal_Gui_Graphs_BarSeries_DrawBarLine_" data-uid="Terminal.Gui.Graphs.BarSeries.DrawBarLine*"></a>
  359. <h4 id="Terminal_Gui_Graphs_BarSeries_DrawBarLine_Terminal_Gui_GraphView_Terminal_Gui_Point_Terminal_Gui_Point_Terminal_Gui_Graphs_BarSeries_Bar_" data-uid="Terminal.Gui.Graphs.BarSeries.DrawBarLine(Terminal.Gui.GraphView,Terminal.Gui.Point,Terminal.Gui.Point,Terminal.Gui.Graphs.BarSeries.Bar)">DrawBarLine(GraphView, Point, Point, Bar)</h4>
  360. <div class="markdown level1 summary">Override to do custom drawing of the bar e.g. to apply varying color or changing the fill
  361. symbol mid bar.</div>
  362. <div class="markdown level1 conceptual"></div>
  363. <h5 class="declaration">Declaration</h5>
  364. <div class="codewrapper">
  365. <pre><code class="lang-csharp hljs">protected virtual void DrawBarLine(GraphView graph, Point start, Point end, BarSeries.Bar beingDrawn)</code></pre>
  366. </div>
  367. <h5 class="parameters">Parameters</h5>
  368. <table class="table table-bordered table-condensed">
  369. <thead>
  370. <tr>
  371. <th>Type</th>
  372. <th>Name</th>
  373. <th>Description</th>
  374. </tr>
  375. </thead>
  376. <tbody>
  377. <tr>
  378. <td><a class="xref" href="Terminal.Gui.GraphView.html">GraphView</a></td>
  379. <td><span class="parametername">graph</span></td>
  380. <td></td>
  381. </tr>
  382. <tr>
  383. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  384. <td><span class="parametername">start</span></td>
  385. <td>Screen position of the start of the bar</td>
  386. </tr>
  387. <tr>
  388. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  389. <td><span class="parametername">end</span></td>
  390. <td>Screen position of the end of the bar</td>
  391. </tr>
  392. <tr>
  393. <td><a class="xref" href="Terminal.Gui.Graphs.BarSeries.html">BarSeries</a>.<a class="xref" href="Terminal.Gui.Graphs.BarSeries.Bar.html">Bar</a></td>
  394. <td><span class="parametername">beingDrawn</span></td>
  395. <td>The Bar that occupies this space and is being drawn</td>
  396. </tr>
  397. </tbody>
  398. </table>
  399. <span class="small pull-right mobile-hide">
  400. <span class="divider">|</span>
  401. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_BarSeries_DrawSeries_Terminal_Gui_GraphView_Terminal_Gui_Rect_Terminal_Gui_RectangleF_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.BarSeries.DrawSeries(Terminal.Gui.GraphView%2CTerminal.Gui.Rect%2CTerminal.Gui.RectangleF)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Edit this page</a>
  402. </span>
  403. <span class="small pull-right mobile-hide">
  404. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Series.cs/#L204">View Source</a>
  405. </span>
  406. <a id="Terminal_Gui_Graphs_BarSeries_DrawSeries_" data-uid="Terminal.Gui.Graphs.BarSeries.DrawSeries*"></a>
  407. <h4 id="Terminal_Gui_Graphs_BarSeries_DrawSeries_Terminal_Gui_GraphView_Terminal_Gui_Rect_Terminal_Gui_RectangleF_" data-uid="Terminal.Gui.Graphs.BarSeries.DrawSeries(Terminal.Gui.GraphView,Terminal.Gui.Rect,Terminal.Gui.RectangleF)">DrawSeries(GraphView, Rect, RectangleF)</h4>
  408. <div class="markdown level1 summary">Draws bars that are currently in the <code class="paramref">drawBounds</code></div>
  409. <div class="markdown level1 conceptual"></div>
  410. <h5 class="declaration">Declaration</h5>
  411. <div class="codewrapper">
  412. <pre><code class="lang-csharp hljs">public virtual void DrawSeries(GraphView graph, Rect drawBounds, RectangleF graphBounds)</code></pre>
  413. </div>
  414. <h5 class="parameters">Parameters</h5>
  415. <table class="table table-bordered table-condensed">
  416. <thead>
  417. <tr>
  418. <th>Type</th>
  419. <th>Name</th>
  420. <th>Description</th>
  421. </tr>
  422. </thead>
  423. <tbody>
  424. <tr>
  425. <td><a class="xref" href="Terminal.Gui.GraphView.html">GraphView</a></td>
  426. <td><span class="parametername">graph</span></td>
  427. <td></td>
  428. </tr>
  429. <tr>
  430. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  431. <td><span class="parametername">drawBounds</span></td>
  432. <td>Screen area of the graph excluding margins</td>
  433. </tr>
  434. <tr>
  435. <td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
  436. <td><span class="parametername">graphBounds</span></td>
  437. <td>Graph space area that should be drawn into <code class="paramref">drawBounds</code></td>
  438. </tr>
  439. </tbody>
  440. </table>
  441. <h3 id="implements">Implements</h3>
  442. <div>
  443. <a class="xref" href="Terminal.Gui.Graphs.ISeries.html">ISeries</a>
  444. </div>
  445. </article>
  446. </div>
  447. <div class="hidden-sm col-md-2" role="complementary">
  448. <div class="sideaffix">
  449. <div class="contribution">
  450. <ul class="nav">
  451. <li>
  452. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_BarSeries.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.BarSeries%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Edit this page</a>
  453. </li>
  454. <li>
  455. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Series.cs/#L147" class="contribution-link">View Source</a>
  456. </li>
  457. </ul>
  458. </div>
  459. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  460. <h5>In this article</h5>
  461. <div></div>
  462. </nav>
  463. </div>
  464. </div>
  465. </div>
  466. </div>
  467. <footer>
  468. <div class="grad-bottom"></div>
  469. <div class="footer">
  470. <div class="container">
  471. <span class="pull-right">
  472. <a href="#top">Back to top</a>
  473. </span>
  474. <span>Generated by <strong>DocFX</strong></span>
  475. </div>
  476. </div>
  477. </footer>
  478. </div>
  479. <script type="text/javascript" src="../../styles/docfx.vendor.min.js"></script>
  480. <script type="text/javascript" src="../../styles/docfx.js"></script>
  481. <script type="text/javascript" src="../../styles/main.js"></script>
  482. </body>
  483. </html>