Terminal.Gui.Graphs.Axis.html 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612
  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. <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.Axis">
  74. <h1 id="Terminal_Gui_Graphs_Axis" data-uid="Terminal.Gui.Graphs.Axis" class="text-break">Class Axis
  75. </h1>
  76. <div class="markdown level0 summary">
  77. Renders a continuous line with grid line ticks and labels
  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">Axis</span></div>
  84. <div class="level2"><a class="xref" href="Terminal.Gui.Graphs.HorizontalAxis.html">HorizontalAxis</a></div>
  85. <div class="level2"><a class="xref" href="Terminal.Gui.Graphs.VerticalAxis.html">VerticalAxis</a></div>
  86. </div>
  87. <div class="inheritedMembers">
  88. <h5>Inherited Members</h5>
  89. <div>
  90. <span class="xref">System.Object.Equals(System.Object)</span>
  91. </div>
  92. <div>
  93. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  94. </div>
  95. <div>
  96. <span class="xref">System.Object.GetHashCode()</span>
  97. </div>
  98. <div>
  99. <span class="xref">System.Object.GetType()</span>
  100. </div>
  101. <div>
  102. <span class="xref">System.Object.MemberwiseClone()</span>
  103. </div>
  104. <div>
  105. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  106. </div>
  107. <div>
  108. <span class="xref">System.Object.ToString()</span>
  109. </div>
  110. </div>
  111. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.Graphs.html">Terminal.Gui.Graphs</a></h6>
  112. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  113. <h5 id="Terminal_Gui_Graphs_Axis_syntax">Syntax</h5>
  114. <div class="codewrapper">
  115. <pre><code class="lang-csharp hljs">public abstract class Axis</code></pre>
  116. </div>
  117. <h3 id="constructors">Constructors
  118. </h3>
  119. <span class="small pull-right mobile-hide">
  120. <span class="divider">|</span>
  121. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/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'*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>
  122. </span>
  123. <span class="small pull-right mobile-hide">
  124. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Graphs/Axis.cs/#L59">View Source</a>
  125. </span>
  126. <a id="Terminal_Gui_Graphs_Axis__ctor_" data-uid="Terminal.Gui.Graphs.Axis.#ctor*"></a>
  127. <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>
  128. <div class="markdown level1 summary">
  129. Populates base properties and sets the read only <a class="xref" href="Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Orientation">Orientation</a>
  130. </div>
  131. <div class="markdown level1 conceptual"></div>
  132. <h5 class="decalaration">Declaration</h5>
  133. <div class="codewrapper">
  134. <pre><code class="lang-csharp hljs">protected Axis(Orientation orientation)</code></pre>
  135. </div>
  136. <h5 class="parameters">Parameters</h5>
  137. <table class="table table-bordered table-striped table-condensed">
  138. <thead>
  139. <tr>
  140. <th>Type</th>
  141. <th>Name</th>
  142. <th>Description</th>
  143. </tr>
  144. </thead>
  145. <tbody>
  146. <tr>
  147. <td><a class="xref" href="Terminal.Gui.Graphs.Orientation.html">Orientation</a></td>
  148. <td><span class="parametername">orientation</span></td>
  149. <td></td>
  150. </tr>
  151. </tbody>
  152. </table>
  153. <h3 id="fields">Fields
  154. </h3>
  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_Axis_LabelGetter.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.LabelGetter%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/Axis.cs/#L42">View Source</a>
  161. </span>
  162. <h4 id="Terminal_Gui_Graphs_Axis_LabelGetter" data-uid="Terminal.Gui.Graphs.Axis.LabelGetter">LabelGetter</h4>
  163. <div class="markdown level1 summary">
  164. 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>
  165. when <a class="xref" href="Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_ShowLabelsEvery">ShowLabelsEvery</a> is above 0
  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 LabelGetterDelegate LabelGetter</code></pre>
  171. </div>
  172. <h5 class="fieldValue">Field 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><a class="xref" href="Terminal.Gui.Graphs.LabelGetterDelegate.html">LabelGetterDelegate</a></td>
  183. <td></td>
  184. </tr>
  185. </tbody>
  186. </table>
  187. <h3 id="properties">Properties
  188. </h3>
  189. <span class="small pull-right mobile-hide">
  190. <span class="divider">|</span>
  191. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Graphs_Axis_Increment.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.Increment%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>
  192. </span>
  193. <span class="small pull-right mobile-hide">
  194. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Graphs/Axis.cs/#L25">View Source</a>
  195. </span>
  196. <a id="Terminal_Gui_Graphs_Axis_Increment_" data-uid="Terminal.Gui.Graphs.Axis.Increment*"></a>
  197. <h4 id="Terminal_Gui_Graphs_Axis_Increment" data-uid="Terminal.Gui.Graphs.Axis.Increment">Increment</h4>
  198. <div class="markdown level1 summary">
  199. Number of units of graph space between ticks on axis. 0 for no ticks
  200. </div>
  201. <div class="markdown level1 conceptual"></div>
  202. <h5 class="decalaration">Declaration</h5>
  203. <div class="codewrapper">
  204. <pre><code class="lang-csharp hljs">public float Increment { get; set; }</code></pre>
  205. </div>
  206. <h5 class="propertyValue">Property Value</h5>
  207. <table class="table table-bordered table-striped table-condensed">
  208. <thead>
  209. <tr>
  210. <th>Type</th>
  211. <th>Description</th>
  212. </tr>
  213. </thead>
  214. <tbody>
  215. <tr>
  216. <td><span class="xref">System.Single</span></td>
  217. <td></td>
  218. </tr>
  219. </tbody>
  220. </table>
  221. <span class="small pull-right mobile-hide">
  222. <span class="divider">|</span>
  223. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Graphs_Axis_Minimum.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.Minimum%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>
  224. </span>
  225. <span class="small pull-right mobile-hide">
  226. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Graphs/Axis.cs/#L53">View Source</a>
  227. </span>
  228. <a id="Terminal_Gui_Graphs_Axis_Minimum_" data-uid="Terminal.Gui.Graphs.Axis.Minimum*"></a>
  229. <h4 id="Terminal_Gui_Graphs_Axis_Minimum" data-uid="Terminal.Gui.Graphs.Axis.Minimum">Minimum</h4>
  230. <div class="markdown level1 summary">
  231. The minimum axis point to show. Defaults to null (no minimum)
  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? Minimum { 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.Nullable</span>&lt;<span class="xref">System.Single</span>&gt;</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_Axis_Orientation.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.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/Axis.cs/#L19">View Source</a>
  259. </span>
  260. <a id="Terminal_Gui_Graphs_Axis_Orientation_" data-uid="Terminal.Gui.Graphs.Axis.Orientation*"></a>
  261. <h4 id="Terminal_Gui_Graphs_Axis_Orientation" data-uid="Terminal.Gui.Graphs.Axis.Orientation">Orientation</h4>
  262. <div class="markdown level1 summary">
  263. Direction of the axis
  264. </div>
  265. <div class="markdown level1 conceptual"></div>
  266. <h5 class="decalaration">Declaration</h5>
  267. <div class="codewrapper">
  268. <pre><code class="lang-csharp hljs">public Orientation Orientation { get; }</code></pre>
  269. </div>
  270. <h5 class="propertyValue">Property Value</h5>
  271. <table class="table table-bordered table-striped table-condensed">
  272. <thead>
  273. <tr>
  274. <th>Type</th>
  275. <th>Description</th>
  276. </tr>
  277. </thead>
  278. <tbody>
  279. <tr>
  280. <td><a class="xref" href="Terminal.Gui.Graphs.Orientation.html">Orientation</a></td>
  281. <td></td>
  282. </tr>
  283. </tbody>
  284. </table>
  285. <span class="small pull-right mobile-hide">
  286. <span class="divider">|</span>
  287. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Graphs_Axis_ShowLabelsEvery.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.ShowLabelsEvery%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>
  288. </span>
  289. <span class="small pull-right mobile-hide">
  290. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Graphs/Axis.cs/#L31">View Source</a>
  291. </span>
  292. <a id="Terminal_Gui_Graphs_Axis_ShowLabelsEvery_" data-uid="Terminal.Gui.Graphs.Axis.ShowLabelsEvery*"></a>
  293. <h4 id="Terminal_Gui_Graphs_Axis_ShowLabelsEvery" data-uid="Terminal.Gui.Graphs.Axis.ShowLabelsEvery">ShowLabelsEvery</h4>
  294. <div class="markdown level1 summary">
  295. The number of <a class="xref" href="Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Increment">Increment</a> before an label is added.
  296. 0 = never show labels
  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 uint ShowLabelsEvery { 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.UInt32</span></td>
  314. <td></td>
  315. </tr>
  316. </tbody>
  317. </table>
  318. <span class="small pull-right mobile-hide">
  319. <span class="divider">|</span>
  320. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Graphs_Axis_Text.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.Text%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>
  321. </span>
  322. <span class="small pull-right mobile-hide">
  323. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Graphs/Axis.cs/#L48">View Source</a>
  324. </span>
  325. <a id="Terminal_Gui_Graphs_Axis_Text_" data-uid="Terminal.Gui.Graphs.Axis.Text*"></a>
  326. <h4 id="Terminal_Gui_Graphs_Axis_Text" data-uid="Terminal.Gui.Graphs.Axis.Text">Text</h4>
  327. <div class="markdown level1 summary">
  328. Displayed below/to left of labels (see <a class="xref" href="Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Orientation">Orientation</a>).
  329. 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>
  330. </div>
  331. <div class="markdown level1 conceptual"></div>
  332. <h5 class="decalaration">Declaration</h5>
  333. <div class="codewrapper">
  334. <pre><code class="lang-csharp hljs">public string Text { get; set; }</code></pre>
  335. </div>
  336. <h5 class="propertyValue">Property Value</h5>
  337. <table class="table table-bordered table-striped table-condensed">
  338. <thead>
  339. <tr>
  340. <th>Type</th>
  341. <th>Description</th>
  342. </tr>
  343. </thead>
  344. <tbody>
  345. <tr>
  346. <td><span class="xref">System.String</span></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/apidoc/new?filename=Terminal_Gui_Graphs_Axis_Visible.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.Visible%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>
  354. </span>
  355. <span class="small pull-right mobile-hide">
  356. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Graphs/Axis.cs/#L36">View Source</a>
  357. </span>
  358. <a id="Terminal_Gui_Graphs_Axis_Visible_" data-uid="Terminal.Gui.Graphs.Axis.Visible*"></a>
  359. <h4 id="Terminal_Gui_Graphs_Axis_Visible" data-uid="Terminal.Gui.Graphs.Axis.Visible">Visible</h4>
  360. <div class="markdown level1 summary">
  361. True to render axis. Defaults to true
  362. </div>
  363. <div class="markdown level1 conceptual"></div>
  364. <h5 class="decalaration">Declaration</h5>
  365. <div class="codewrapper">
  366. <pre><code class="lang-csharp hljs">public bool Visible { get; set; }</code></pre>
  367. </div>
  368. <h5 class="propertyValue">Property Value</h5>
  369. <table class="table table-bordered table-striped table-condensed">
  370. <thead>
  371. <tr>
  372. <th>Type</th>
  373. <th>Description</th>
  374. </tr>
  375. </thead>
  376. <tbody>
  377. <tr>
  378. <td><span class="xref">System.Boolean</span></td>
  379. <td></td>
  380. </tr>
  381. </tbody>
  382. </table>
  383. <h3 id="methods">Methods
  384. </h3>
  385. <span class="small pull-right mobile-hide">
  386. <span class="divider">|</span>
  387. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/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'*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>
  388. </span>
  389. <span class="small pull-right mobile-hide">
  390. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Graphs/Axis.cs/#L93">View Source</a>
  391. </span>
  392. <a id="Terminal_Gui_Graphs_Axis_DrawAxisLabel_" data-uid="Terminal.Gui.Graphs.Axis.DrawAxisLabel*"></a>
  393. <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, Int32, String)</h4>
  394. <div class="markdown level1 summary">
  395. Draws a custom label <code data-dev-comment-type="paramref" class="paramref">text</code> at <code data-dev-comment-type="paramref" class="paramref">screenPosition</code> units
  396. along the axis (X or Y depending on <a class="xref" href="Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Orientation">Orientation</a>)
  397. </div>
  398. <div class="markdown level1 conceptual"></div>
  399. <h5 class="decalaration">Declaration</h5>
  400. <div class="codewrapper">
  401. <pre><code class="lang-csharp hljs">public abstract void DrawAxisLabel(GraphView graph, int screenPosition, string text)</code></pre>
  402. </div>
  403. <h5 class="parameters">Parameters</h5>
  404. <table class="table table-bordered table-striped table-condensed">
  405. <thead>
  406. <tr>
  407. <th>Type</th>
  408. <th>Name</th>
  409. <th>Description</th>
  410. </tr>
  411. </thead>
  412. <tbody>
  413. <tr>
  414. <td><a class="xref" href="Terminal.Gui.GraphView.html">GraphView</a></td>
  415. <td><span class="parametername">graph</span></td>
  416. <td></td>
  417. </tr>
  418. <tr>
  419. <td><span class="xref">System.Int32</span></td>
  420. <td><span class="parametername">screenPosition</span></td>
  421. <td></td>
  422. </tr>
  423. <tr>
  424. <td><span class="xref">System.String</span></td>
  425. <td><span class="parametername">text</span></td>
  426. <td></td>
  427. </tr>
  428. </tbody>
  429. </table>
  430. <span class="small pull-right mobile-hide">
  431. <span class="divider">|</span>
  432. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/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'*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>
  433. </span>
  434. <span class="small pull-right mobile-hide">
  435. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Graphs/Axis.cs/#L84">View Source</a>
  436. </span>
  437. <a id="Terminal_Gui_Graphs_Axis_DrawAxisLabels_" data-uid="Terminal.Gui.Graphs.Axis.DrawAxisLabels*"></a>
  438. <h4 id="Terminal_Gui_Graphs_Axis_DrawAxisLabels_Terminal_Gui_GraphView_" data-uid="Terminal.Gui.Graphs.Axis.DrawAxisLabels(Terminal.Gui.GraphView)">DrawAxisLabels(GraphView)</h4>
  439. <div class="markdown level1 summary">
  440. Draws labels and axis <a class="xref" href="Terminal.Gui.Graphs.Axis.html#Terminal_Gui_Graphs_Axis_Increment">Increment</a> ticks
  441. </div>
  442. <div class="markdown level1 conceptual"></div>
  443. <h5 class="decalaration">Declaration</h5>
  444. <div class="codewrapper">
  445. <pre><code class="lang-csharp hljs">public abstract void DrawAxisLabels(GraphView graph)</code></pre>
  446. </div>
  447. <h5 class="parameters">Parameters</h5>
  448. <table class="table table-bordered table-striped table-condensed">
  449. <thead>
  450. <tr>
  451. <th>Type</th>
  452. <th>Name</th>
  453. <th>Description</th>
  454. </tr>
  455. </thead>
  456. <tbody>
  457. <tr>
  458. <td><a class="xref" href="Terminal.Gui.GraphView.html">GraphView</a></td>
  459. <td><span class="parametername">graph</span></td>
  460. <td></td>
  461. </tr>
  462. </tbody>
  463. </table>
  464. <span class="small pull-right mobile-hide">
  465. <span class="divider">|</span>
  466. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/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'*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>
  467. </span>
  468. <span class="small pull-right mobile-hide">
  469. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Graphs/Axis.cs/#L69">View Source</a>
  470. </span>
  471. <a id="Terminal_Gui_Graphs_Axis_DrawAxisLine_" data-uid="Terminal.Gui.Graphs.Axis.DrawAxisLine*"></a>
  472. <h4 id="Terminal_Gui_Graphs_Axis_DrawAxisLine_Terminal_Gui_GraphView_" data-uid="Terminal.Gui.Graphs.Axis.DrawAxisLine(Terminal.Gui.GraphView)">DrawAxisLine(GraphView)</h4>
  473. <div class="markdown level1 summary">
  474. Draws the solid line of the axis
  475. </div>
  476. <div class="markdown level1 conceptual"></div>
  477. <h5 class="decalaration">Declaration</h5>
  478. <div class="codewrapper">
  479. <pre><code class="lang-csharp hljs">public abstract void DrawAxisLine(GraphView graph)</code></pre>
  480. </div>
  481. <h5 class="parameters">Parameters</h5>
  482. <table class="table table-bordered table-striped table-condensed">
  483. <thead>
  484. <tr>
  485. <th>Type</th>
  486. <th>Name</th>
  487. <th>Description</th>
  488. </tr>
  489. </thead>
  490. <tbody>
  491. <tr>
  492. <td><a class="xref" href="Terminal.Gui.GraphView.html">GraphView</a></td>
  493. <td><span class="parametername">graph</span></td>
  494. <td></td>
  495. </tr>
  496. </tbody>
  497. </table>
  498. <span class="small pull-right mobile-hide">
  499. <span class="divider">|</span>
  500. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/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'*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>
  501. </span>
  502. <span class="small pull-right mobile-hide">
  503. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Graphs/Axis.cs/#L77">View Source</a>
  504. </span>
  505. <a id="Terminal_Gui_Graphs_Axis_DrawAxisLine_" data-uid="Terminal.Gui.Graphs.Axis.DrawAxisLine*"></a>
  506. <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, Int32, Int32)</h4>
  507. <div class="markdown level1 summary">
  508. Draws a single cell of the solid line of the axis
  509. </div>
  510. <div class="markdown level1 conceptual"></div>
  511. <h5 class="decalaration">Declaration</h5>
  512. <div class="codewrapper">
  513. <pre><code class="lang-csharp hljs">protected abstract void DrawAxisLine(GraphView graph, int x, int y)</code></pre>
  514. </div>
  515. <h5 class="parameters">Parameters</h5>
  516. <table class="table table-bordered table-striped table-condensed">
  517. <thead>
  518. <tr>
  519. <th>Type</th>
  520. <th>Name</th>
  521. <th>Description</th>
  522. </tr>
  523. </thead>
  524. <tbody>
  525. <tr>
  526. <td><a class="xref" href="Terminal.Gui.GraphView.html">GraphView</a></td>
  527. <td><span class="parametername">graph</span></td>
  528. <td></td>
  529. </tr>
  530. <tr>
  531. <td><span class="xref">System.Int32</span></td>
  532. <td><span class="parametername">x</span></td>
  533. <td></td>
  534. </tr>
  535. <tr>
  536. <td><span class="xref">System.Int32</span></td>
  537. <td><span class="parametername">y</span></td>
  538. <td></td>
  539. </tr>
  540. </tbody>
  541. </table>
  542. <span class="small pull-right mobile-hide">
  543. <span class="divider">|</span>
  544. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Graphs_Axis_Reset.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis.Reset%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>
  545. </span>
  546. <span class="small pull-right mobile-hide">
  547. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Graphs/Axis.cs/#L98">View Source</a>
  548. </span>
  549. <a id="Terminal_Gui_Graphs_Axis_Reset_" data-uid="Terminal.Gui.Graphs.Axis.Reset*"></a>
  550. <h4 id="Terminal_Gui_Graphs_Axis_Reset" data-uid="Terminal.Gui.Graphs.Axis.Reset">Reset()</h4>
  551. <div class="markdown level1 summary">
  552. Resets all configurable properties of the axis to default values
  553. </div>
  554. <div class="markdown level1 conceptual"></div>
  555. <h5 class="decalaration">Declaration</h5>
  556. <div class="codewrapper">
  557. <pre><code class="lang-csharp hljs">public virtual void Reset()</code></pre>
  558. </div>
  559. </article>
  560. </div>
  561. <div class="hidden-sm col-md-2" role="complementary">
  562. <div class="sideaffix">
  563. <div class="contribution">
  564. <ul class="nav">
  565. <li>
  566. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_Graphs_Axis.md&amp;value=---%0Auid%3A%20Terminal.Gui.Graphs.Axis%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>
  567. </li>
  568. <li>
  569. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/Graphs/Axis.cs/#L9" class="contribution-link">View Source</a>
  570. </li>
  571. </ul>
  572. </div>
  573. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  574. <h5>In This Article</h5>
  575. <div></div>
  576. </nav>
  577. </div>
  578. </div>
  579. </div>
  580. </div>
  581. <footer>
  582. <div class="grad-bottom"></div>
  583. <div class="footer">
  584. <div class="container">
  585. <span class="pull-right">
  586. <a href="#top">Back to top</a>
  587. </span>
  588. <span>Generated by <strong>DocFX</strong></span>
  589. </div>
  590. </div>
  591. </footer>
  592. </div>
  593. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  594. <script type="text/javascript" src="../../styles/docfx.js"></script>
  595. <script type="text/javascript" src="../../styles/main.js"></script>
  596. </body>
  597. </html>