Terminal.Gui.Graphs.BarSeries.html 24 KB

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