Terminal.Gui.Graphs.Axis.html 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584
  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 Axis
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class Axis
  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.Axis">
  72. <h1 id="Terminal_Gui_Graphs_Axis" data-uid="Terminal.Gui.Graphs.Axis" class="text-break">Class Axis
  73. </h1>
  74. <div class="markdown level0 summary">Renders a continuous line with grid line ticks and labels</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">Axis</span></div>
  80. <div class="level2"><a class="xref" href="Terminal.Gui.Graphs.HorizontalAxis.html">HorizontalAxis</a></div>
  81. <div class="level2"><a class="xref" href="Terminal.Gui.Graphs.VerticalAxis.html">VerticalAxis</a></div>
  82. </div>
  83. <div class="inheritedMembers">
  84. <h5>Inherited Members</h5>
  85. <div>
  86. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
  87. </div>
  88. <div>
  89. <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>
  90. </div>
  91. <div>
  92. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
  93. </div>
  94. <div>
  95. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
  96. </div>
  97. <div>
  98. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
  99. </div>
  100. <div>
  101. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
  102. </div>
  103. <div>
  104. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
  105. </div>
  106. </div>
  107. <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>
  108. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  109. <h5 id="Terminal_Gui_Graphs_Axis_syntax">Syntax</h5>
  110. <div class="codewrapper">
  111. <pre><code class="lang-csharp hljs">public abstract class Axis</code></pre>
  112. </div>
  113. <h3 id="constructors">Constructors
  114. </h3>
  115. <span class="small pull-right mobile-hide">
  116. <span class="divider">|</span>
  117. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_Axis__ctor_Terminal_Gui_Graphs_Orientation_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.%23ctor(Terminal.Gui.Graphs.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>
  118. </span>
  119. <span class="small pull-right mobile-hide">
  120. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Axis.cs/#L59">View Source</a>
  121. </span>
  122. <a id="Terminal_Gui_Graphs_Axis__ctor_" data-uid="Terminal.Gui.Graphs.Axis.#ctor*"></a>
  123. <h4 id="Terminal_Gui_Graphs_Axis__ctor_Terminal_Gui_Graphs_Orientation_" data-uid="Terminal.Gui.Graphs.Axis.#ctor(Terminal.Gui.Graphs.Orientation)">Axis(Orientation)</h4>
  124. <div class="markdown level1 summary">Populates base properties and sets the read only <a class="xref" href="Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Orientation">Orientation</a></div>
  125. <div class="markdown level1 conceptual"></div>
  126. <h5 class="declaration">Declaration</h5>
  127. <div class="codewrapper">
  128. <pre><code class="lang-csharp hljs">protected Axis(Orientation orientation)</code></pre>
  129. </div>
  130. <h5 class="parameters">Parameters</h5>
  131. <table class="table table-bordered table-condensed">
  132. <thead>
  133. <tr>
  134. <th>Type</th>
  135. <th>Name</th>
  136. <th>Description</th>
  137. </tr>
  138. </thead>
  139. <tbody>
  140. <tr>
  141. <td><a class="xref" href="Terminal.Gui.Graphs.Orientation.html">Orientation</a></td>
  142. <td><span class="parametername">orientation</span></td>
  143. <td></td>
  144. </tr>
  145. </tbody>
  146. </table>
  147. <h3 id="fields">Fields
  148. </h3>
  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_Axis_LabelGetter.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.LabelGetter%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/Axis.cs/#L42">View Source</a>
  155. </span>
  156. <h4 id="Terminal_Gui_Graphs_Axis_LabelGetter" data-uid="Terminal.Gui.Graphs.Axis.LabelGetter">LabelGetter</h4>
  157. <div class="markdown level1 summary">Allows you to control what label text is rendered for a given <a class="xref" href="Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Increment">Increment</a>
  158. when <a class="xref" href="Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_ShowLabelsEvery">ShowLabelsEvery</a> is above 0</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 LabelGetterDelegate LabelGetter</code></pre>
  163. </div>
  164. <h5 class="fieldValue">Field 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="Terminal.Gui.Graphs.LabelGetterDelegate.html">LabelGetterDelegate</a></td>
  175. <td></td>
  176. </tr>
  177. </tbody>
  178. </table>
  179. <h3 id="properties">Properties
  180. </h3>
  181. <span class="small pull-right mobile-hide">
  182. <span class="divider">|</span>
  183. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_Axis_Increment.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.Increment%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>
  184. </span>
  185. <span class="small pull-right mobile-hide">
  186. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Axis.cs/#L25">View Source</a>
  187. </span>
  188. <a id="Terminal_Gui_Graphs_Axis_Increment_" data-uid="Terminal.Gui.Graphs.Axis.Increment*"></a>
  189. <h4 id="Terminal_Gui_Graphs_Axis_Increment" data-uid="Terminal.Gui.Graphs.Axis.Increment">Increment</h4>
  190. <div class="markdown level1 summary">Number of units of graph space between ticks on axis. 0 for no ticks</div>
  191. <div class="markdown level1 conceptual"></div>
  192. <h5 class="declaration">Declaration</h5>
  193. <div class="codewrapper">
  194. <pre><code class="lang-csharp hljs">public float Increment { get; set; }</code></pre>
  195. </div>
  196. <h5 class="propertyValue">Property Value</h5>
  197. <table class="table table-bordered table-condensed">
  198. <thead>
  199. <tr>
  200. <th>Type</th>
  201. <th>Description</th>
  202. </tr>
  203. </thead>
  204. <tbody>
  205. <tr>
  206. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
  207. <td></td>
  208. </tr>
  209. </tbody>
  210. </table>
  211. <span class="small pull-right mobile-hide">
  212. <span class="divider">|</span>
  213. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_Axis_Minimum.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.Minimum%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>
  214. </span>
  215. <span class="small pull-right mobile-hide">
  216. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Axis.cs/#L53">View Source</a>
  217. </span>
  218. <a id="Terminal_Gui_Graphs_Axis_Minimum_" data-uid="Terminal.Gui.Graphs.Axis.Minimum*"></a>
  219. <h4 id="Terminal_Gui_Graphs_Axis_Minimum" data-uid="Terminal.Gui.Graphs.Axis.Minimum">Minimum</h4>
  220. <div class="markdown level1 summary">The minimum axis point to show. Defaults to null (no minimum)</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? Minimum { 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_Axis_Orientation.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.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/Axis.cs/#L19">View Source</a>
  247. </span>
  248. <a id="Terminal_Gui_Graphs_Axis_Orientation_" data-uid="Terminal.Gui.Graphs.Axis.Orientation*"></a>
  249. <h4 id="Terminal_Gui_Graphs_Axis_Orientation" data-uid="Terminal.Gui.Graphs.Axis.Orientation">Orientation</h4>
  250. <div class="markdown level1 summary">Direction of the axis</div>
  251. <div class="markdown level1 conceptual"></div>
  252. <h5 class="declaration">Declaration</h5>
  253. <div class="codewrapper">
  254. <pre><code class="lang-csharp hljs">public Orientation Orientation { get; }</code></pre>
  255. </div>
  256. <h5 class="propertyValue">Property Value</h5>
  257. <table class="table table-bordered table-condensed">
  258. <thead>
  259. <tr>
  260. <th>Type</th>
  261. <th>Description</th>
  262. </tr>
  263. </thead>
  264. <tbody>
  265. <tr>
  266. <td><a class="xref" href="Terminal.Gui.Graphs.Orientation.html">Orientation</a></td>
  267. <td></td>
  268. </tr>
  269. </tbody>
  270. </table>
  271. <span class="small pull-right mobile-hide">
  272. <span class="divider">|</span>
  273. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_Axis_ShowLabelsEvery.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.ShowLabelsEvery%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>
  274. </span>
  275. <span class="small pull-right mobile-hide">
  276. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Axis.cs/#L31">View Source</a>
  277. </span>
  278. <a id="Terminal_Gui_Graphs_Axis_ShowLabelsEvery_" data-uid="Terminal.Gui.Graphs.Axis.ShowLabelsEvery*"></a>
  279. <h4 id="Terminal_Gui_Graphs_Axis_ShowLabelsEvery" data-uid="Terminal.Gui.Graphs.Axis.ShowLabelsEvery">ShowLabelsEvery</h4>
  280. <div class="markdown level1 summary">The number of <a class="xref" href="Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Increment">Increment</a> before an label is added.
  281. 0 = never show labels</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 uint ShowLabelsEvery { 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="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></td>
  298. <td></td>
  299. </tr>
  300. </tbody>
  301. </table>
  302. <span class="small pull-right mobile-hide">
  303. <span class="divider">|</span>
  304. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_Axis_Text.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.Text%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>
  305. </span>
  306. <span class="small pull-right mobile-hide">
  307. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Axis.cs/#L48">View Source</a>
  308. </span>
  309. <a id="Terminal_Gui_Graphs_Axis_Text_" data-uid="Terminal.Gui.Graphs.Axis.Text*"></a>
  310. <h4 id="Terminal_Gui_Graphs_Axis_Text" data-uid="Terminal.Gui.Graphs.Axis.Text">Text</h4>
  311. <div class="markdown level1 summary">Displayed below/to left of labels (see <a class="xref" href="Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Orientation">Orientation</a>).
  312. If text is not visible, check <a class="xref" href="Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_MarginBottom">MarginBottom</a> / <a class="xref" href="Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_MarginLeft">MarginLeft</a></div>
  313. <div class="markdown level1 conceptual"></div>
  314. <h5 class="declaration">Declaration</h5>
  315. <div class="codewrapper">
  316. <pre><code class="lang-csharp hljs">public string Text { get; set; }</code></pre>
  317. </div>
  318. <h5 class="propertyValue">Property Value</h5>
  319. <table class="table table-bordered table-condensed">
  320. <thead>
  321. <tr>
  322. <th>Type</th>
  323. <th>Description</th>
  324. </tr>
  325. </thead>
  326. <tbody>
  327. <tr>
  328. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
  329. <td></td>
  330. </tr>
  331. </tbody>
  332. </table>
  333. <span class="small pull-right mobile-hide">
  334. <span class="divider">|</span>
  335. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_Axis_Visible.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.Visible%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>
  336. </span>
  337. <span class="small pull-right mobile-hide">
  338. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Axis.cs/#L36">View Source</a>
  339. </span>
  340. <a id="Terminal_Gui_Graphs_Axis_Visible_" data-uid="Terminal.Gui.Graphs.Axis.Visible*"></a>
  341. <h4 id="Terminal_Gui_Graphs_Axis_Visible" data-uid="Terminal.Gui.Graphs.Axis.Visible">Visible</h4>
  342. <div class="markdown level1 summary">True to render axis. Defaults to true</div>
  343. <div class="markdown level1 conceptual"></div>
  344. <h5 class="declaration">Declaration</h5>
  345. <div class="codewrapper">
  346. <pre><code class="lang-csharp hljs">public bool Visible { get; set; }</code></pre>
  347. </div>
  348. <h5 class="propertyValue">Property Value</h5>
  349. <table class="table table-bordered table-condensed">
  350. <thead>
  351. <tr>
  352. <th>Type</th>
  353. <th>Description</th>
  354. </tr>
  355. </thead>
  356. <tbody>
  357. <tr>
  358. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  359. <td></td>
  360. </tr>
  361. </tbody>
  362. </table>
  363. <h3 id="methods">Methods
  364. </h3>
  365. <span class="small pull-right mobile-hide">
  366. <span class="divider">|</span>
  367. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_Axis_DrawAxisLabel_Terminal_Gui_GraphView_System_Int32_System_String_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.DrawAxisLabel(Terminal.Gui.GraphView%2CSystem.Int32%2CSystem.String)%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>
  368. </span>
  369. <span class="small pull-right mobile-hide">
  370. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Axis.cs/#L93">View Source</a>
  371. </span>
  372. <a id="Terminal_Gui_Graphs_Axis_DrawAxisLabel_" data-uid="Terminal.Gui.Graphs.Axis.DrawAxisLabel*"></a>
  373. <h4 id="Terminal_Gui_Graphs_Axis_DrawAxisLabel_Terminal_Gui_GraphView_System_Int32_System_String_" data-uid="Terminal.Gui.Graphs.Axis.DrawAxisLabel(Terminal.Gui.GraphView,System.Int32,System.String)">DrawAxisLabel(GraphView, int, string)</h4>
  374. <div class="markdown level1 summary">Draws a custom label <code class="paramref">text</code> at <code class="paramref">screenPosition</code> units
  375. along the axis (X or Y depending on <a class="xref" href="Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Orientation">Orientation</a>)</div>
  376. <div class="markdown level1 conceptual"></div>
  377. <h5 class="declaration">Declaration</h5>
  378. <div class="codewrapper">
  379. <pre><code class="lang-csharp hljs">public abstract void DrawAxisLabel(GraphView graph, int screenPosition, string text)</code></pre>
  380. </div>
  381. <h5 class="parameters">Parameters</h5>
  382. <table class="table table-bordered table-condensed">
  383. <thead>
  384. <tr>
  385. <th>Type</th>
  386. <th>Name</th>
  387. <th>Description</th>
  388. </tr>
  389. </thead>
  390. <tbody>
  391. <tr>
  392. <td><a class="xref" href="Terminal.Gui.GraphView.html">GraphView</a></td>
  393. <td><span class="parametername">graph</span></td>
  394. <td></td>
  395. </tr>
  396. <tr>
  397. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  398. <td><span class="parametername">screenPosition</span></td>
  399. <td></td>
  400. </tr>
  401. <tr>
  402. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
  403. <td><span class="parametername">text</span></td>
  404. <td></td>
  405. </tr>
  406. </tbody>
  407. </table>
  408. <span class="small pull-right mobile-hide">
  409. <span class="divider">|</span>
  410. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_Axis_DrawAxisLabels_Terminal_Gui_GraphView_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.DrawAxisLabels(Terminal.Gui.GraphView)%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>
  411. </span>
  412. <span class="small pull-right mobile-hide">
  413. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Axis.cs/#L84">View Source</a>
  414. </span>
  415. <a id="Terminal_Gui_Graphs_Axis_DrawAxisLabels_" data-uid="Terminal.Gui.Graphs.Axis.DrawAxisLabels*"></a>
  416. <h4 id="Terminal_Gui_Graphs_Axis_DrawAxisLabels_Terminal_Gui_GraphView_" data-uid="Terminal.Gui.Graphs.Axis.DrawAxisLabels(Terminal.Gui.GraphView)">DrawAxisLabels(GraphView)</h4>
  417. <div class="markdown level1 summary">Draws labels and axis <a class="xref" href="Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Increment">Increment</a> ticks</div>
  418. <div class="markdown level1 conceptual"></div>
  419. <h5 class="declaration">Declaration</h5>
  420. <div class="codewrapper">
  421. <pre><code class="lang-csharp hljs">public abstract void DrawAxisLabels(GraphView graph)</code></pre>
  422. </div>
  423. <h5 class="parameters">Parameters</h5>
  424. <table class="table table-bordered table-condensed">
  425. <thead>
  426. <tr>
  427. <th>Type</th>
  428. <th>Name</th>
  429. <th>Description</th>
  430. </tr>
  431. </thead>
  432. <tbody>
  433. <tr>
  434. <td><a class="xref" href="Terminal.Gui.GraphView.html">GraphView</a></td>
  435. <td><span class="parametername">graph</span></td>
  436. <td></td>
  437. </tr>
  438. </tbody>
  439. </table>
  440. <span class="small pull-right mobile-hide">
  441. <span class="divider">|</span>
  442. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_Axis_DrawAxisLine_Terminal_Gui_GraphView_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.DrawAxisLine(Terminal.Gui.GraphView)%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>
  443. </span>
  444. <span class="small pull-right mobile-hide">
  445. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Axis.cs/#L69">View Source</a>
  446. </span>
  447. <a id="Terminal_Gui_Graphs_Axis_DrawAxisLine_" data-uid="Terminal.Gui.Graphs.Axis.DrawAxisLine*"></a>
  448. <h4 id="Terminal_Gui_Graphs_Axis_DrawAxisLine_Terminal_Gui_GraphView_" data-uid="Terminal.Gui.Graphs.Axis.DrawAxisLine(Terminal.Gui.GraphView)">DrawAxisLine(GraphView)</h4>
  449. <div class="markdown level1 summary">Draws the solid line of the axis</div>
  450. <div class="markdown level1 conceptual"></div>
  451. <h5 class="declaration">Declaration</h5>
  452. <div class="codewrapper">
  453. <pre><code class="lang-csharp hljs">public abstract void DrawAxisLine(GraphView graph)</code></pre>
  454. </div>
  455. <h5 class="parameters">Parameters</h5>
  456. <table class="table table-bordered table-condensed">
  457. <thead>
  458. <tr>
  459. <th>Type</th>
  460. <th>Name</th>
  461. <th>Description</th>
  462. </tr>
  463. </thead>
  464. <tbody>
  465. <tr>
  466. <td><a class="xref" href="Terminal.Gui.GraphView.html">GraphView</a></td>
  467. <td><span class="parametername">graph</span></td>
  468. <td></td>
  469. </tr>
  470. </tbody>
  471. </table>
  472. <span class="small pull-right mobile-hide">
  473. <span class="divider">|</span>
  474. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_Axis_DrawAxisLine_Terminal_Gui_GraphView_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.DrawAxisLine(Terminal.Gui.GraphView%2CSystem.Int32%2CSystem.Int32)%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>
  475. </span>
  476. <span class="small pull-right mobile-hide">
  477. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Axis.cs/#L77">View Source</a>
  478. </span>
  479. <a id="Terminal_Gui_Graphs_Axis_DrawAxisLine_" data-uid="Terminal.Gui.Graphs.Axis.DrawAxisLine*"></a>
  480. <h4 id="Terminal_Gui_Graphs_Axis_DrawAxisLine_Terminal_Gui_GraphView_System_Int32_System_Int32_" data-uid="Terminal.Gui.Graphs.Axis.DrawAxisLine(Terminal.Gui.GraphView,System.Int32,System.Int32)">DrawAxisLine(GraphView, int, int)</h4>
  481. <div class="markdown level1 summary">Draws a single cell of the solid line of the axis</div>
  482. <div class="markdown level1 conceptual"></div>
  483. <h5 class="declaration">Declaration</h5>
  484. <div class="codewrapper">
  485. <pre><code class="lang-csharp hljs">protected abstract void DrawAxisLine(GraphView graph, int x, int y)</code></pre>
  486. </div>
  487. <h5 class="parameters">Parameters</h5>
  488. <table class="table table-bordered table-condensed">
  489. <thead>
  490. <tr>
  491. <th>Type</th>
  492. <th>Name</th>
  493. <th>Description</th>
  494. </tr>
  495. </thead>
  496. <tbody>
  497. <tr>
  498. <td><a class="xref" href="Terminal.Gui.GraphView.html">GraphView</a></td>
  499. <td><span class="parametername">graph</span></td>
  500. <td></td>
  501. </tr>
  502. <tr>
  503. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  504. <td><span class="parametername">x</span></td>
  505. <td></td>
  506. </tr>
  507. <tr>
  508. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  509. <td><span class="parametername">y</span></td>
  510. <td></td>
  511. </tr>
  512. </tbody>
  513. </table>
  514. <span class="small pull-right mobile-hide">
  515. <span class="divider">|</span>
  516. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_Axis_Reset.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.Reset%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>
  517. </span>
  518. <span class="small pull-right mobile-hide">
  519. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Axis.cs/#L98">View Source</a>
  520. </span>
  521. <a id="Terminal_Gui_Graphs_Axis_Reset_" data-uid="Terminal.Gui.Graphs.Axis.Reset*"></a>
  522. <h4 id="Terminal_Gui_Graphs_Axis_Reset" data-uid="Terminal.Gui.Graphs.Axis.Reset">Reset()</h4>
  523. <div class="markdown level1 summary">Resets all configurable properties of the axis to default values</div>
  524. <div class="markdown level1 conceptual"></div>
  525. <h5 class="declaration">Declaration</h5>
  526. <div class="codewrapper">
  527. <pre><code class="lang-csharp hljs">public virtual void Reset()</code></pre>
  528. </div>
  529. </article>
  530. </div>
  531. <div class="hidden-sm col-md-2" role="complementary">
  532. <div class="sideaffix">
  533. <div class="contribution">
  534. <ul class="nav">
  535. <li>
  536. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_Graphs_Axis.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis%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>
  537. </li>
  538. <li>
  539. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Core/Graphs/Axis.cs/#L9" class="contribution-link">View Source</a>
  540. </li>
  541. </ul>
  542. </div>
  543. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  544. <h5>In this article</h5>
  545. <div></div>
  546. </nav>
  547. </div>
  548. </div>
  549. </div>
  550. </div>
  551. <footer>
  552. <div class="grad-bottom"></div>
  553. <div class="footer">
  554. <div class="container">
  555. <span class="pull-right">
  556. <a href="#top">Back to top</a>
  557. </span>
  558. <span>Generated by <strong>DocFX</strong></span>
  559. </div>
  560. </div>
  561. </footer>
  562. </div>
  563. <script type="text/javascript" src="../../styles/docfx.vendor.min.js"></script>
  564. <script type="text/javascript" src="../../styles/docfx.js"></script>
  565. <script type="text/javascript" src="../../styles/main.js"></script>
  566. </body>
  567. </html>