Terminal.Gui.GraphView.html 67 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355
  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 GraphView
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class GraphView
  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.GraphView">
  72. <h1 id="Terminal_Gui_GraphView" data-uid="Terminal.Gui.GraphView" class="text-break">Class GraphView
  73. </h1>
  74. <div class="markdown level0 summary">Control for rendering graphs (bar, scatter etc)</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"><a class="xref" href="Terminal.Gui.Responder.html">Responder</a></div>
  80. <div class="level2"><a class="xref" href="Terminal.Gui.View.html">View</a></div>
  81. <div class="level3"><span class="xref">GraphView</span></div>
  82. </div>
  83. <div class="implements">
  84. <h5>Implements</h5>
  85. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  86. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitializenotification">ISupportInitializeNotification</a></div>
  87. <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
  88. </div>
  89. <div class="inheritedMembers">
  90. <h5>Inherited Members</h5>
  91. <div>
  92. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Added">View.Added</a>
  93. </div>
  94. <div>
  95. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Removed">View.Removed</a>
  96. </div>
  97. <div>
  98. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enter">View.Enter</a>
  99. </div>
  100. <div>
  101. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Leave">View.Leave</a>
  102. </div>
  103. <div>
  104. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseEnter">View.MouseEnter</a>
  105. </div>
  106. <div>
  107. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseLeave">View.MouseLeave</a>
  108. </div>
  109. <div>
  110. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseClick">View.MouseClick</a>
  111. </div>
  112. <div>
  113. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocusChanged">View.CanFocusChanged</a>
  114. </div>
  115. <div>
  116. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnabledChanged">View.EnabledChanged</a>
  117. </div>
  118. <div>
  119. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VisibleChanged">View.VisibleChanged</a>
  120. </div>
  121. <div>
  122. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeyChanged">View.HotKeyChanged</a>
  123. </div>
  124. <div>
  125. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKey">View.HotKey</a>
  126. </div>
  127. <div>
  128. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeySpecifier">View.HotKeySpecifier</a>
  129. </div>
  130. <div>
  131. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Shortcut">View.Shortcut</a>
  132. </div>
  133. <div>
  134. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutTag">View.ShortcutTag</a>
  135. </div>
  136. <div>
  137. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutAction">View.ShortcutAction</a>
  138. </div>
  139. <div>
  140. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Data">View.Data</a>
  141. </div>
  142. <div>
  143. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">View.Driver</a>
  144. </div>
  145. <div>
  146. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">View.Subviews</a>
  147. </div>
  148. <div>
  149. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndexes">View.TabIndexes</a>
  150. </div>
  151. <div>
  152. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndex">View.TabIndex</a>
  153. </div>
  154. <div>
  155. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabStop">View.TabStop</a>
  156. </div>
  157. <div>
  158. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocus">View.CanFocus</a>
  159. </div>
  160. <div>
  161. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Id">View.Id</a>
  162. </div>
  163. <div>
  164. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsCurrentTop">View.IsCurrentTop</a>
  165. </div>
  166. <div>
  167. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantMousePositionReports">View.WantMousePositionReports</a>
  168. </div>
  169. <div>
  170. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantContinuousButtonPressed">View.WantContinuousButtonPressed</a>
  171. </div>
  172. <div>
  173. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a>
  174. </div>
  175. <div>
  176. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">View.LayoutStyle</a>
  177. </div>
  178. <div>
  179. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  180. </div>
  181. <div>
  182. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_X">View.X</a>
  183. </div>
  184. <div>
  185. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Y">View.Y</a>
  186. </div>
  187. <div>
  188. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">View.Width</a>
  189. </div>
  190. <div>
  191. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">View.Height</a>
  192. </div>
  193. <div>
  194. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ForceValidatePosDim">View.ForceValidatePosDim</a>
  195. </div>
  196. <div>
  197. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetMinWidthHeight_Terminal_Gui_Size__">View.GetMinWidthHeight(out Size)</a>
  198. </div>
  199. <div>
  200. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetMinWidthHeight">View.SetMinWidthHeight()</a>
  201. </div>
  202. <div>
  203. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextFormatter">View.TextFormatter</a>
  204. </div>
  205. <div>
  206. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  207. </div>
  208. <div>
  209. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_UpdateTextFormatterText">View.UpdateTextFormatterText()</a>
  210. </div>
  211. <div>
  212. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessResizeView">View.ProcessResizeView()</a>
  213. </div>
  214. <div>
  215. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  216. </div>
  217. <div>
  218. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearLayoutNeeded">View.ClearLayoutNeeded()</a>
  219. </div>
  220. <div>
  221. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  222. </div>
  223. <div>
  224. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetChildNeedsDisplay">View.SetChildNeedsDisplay()</a>
  225. </div>
  226. <div>
  227. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a>
  228. </div>
  229. <div>
  230. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(params View[])</a>
  231. </div>
  232. <div>
  233. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a>
  234. </div>
  235. <div>
  236. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a>
  237. </div>
  238. <div>
  239. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  240. </div>
  241. <div>
  242. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  243. </div>
  244. <div>
  245. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  246. </div>
  247. <div>
  248. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  249. </div>
  250. <div>
  251. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  252. </div>
  253. <div>
  254. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  255. </div>
  256. <div>
  257. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(int, int)</a>
  258. </div>
  259. <div>
  260. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  261. </div>
  262. <div>
  263. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  264. </div>
  265. <div>
  266. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawFrame_Terminal_Gui_Rect_System_Int32_System_Boolean_">View.DrawFrame(Rect, int, bool)</a>
  267. </div>
  268. <div>
  269. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_NStack_ustring_Terminal_Gui_Attribute_Terminal_Gui_Attribute_">View.DrawHotString(ustring, Attribute, Attribute)</a>
  270. </div>
  271. <div>
  272. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_NStack_ustring_System_Boolean_Terminal_Gui_ColorScheme_">View.DrawHotString(ustring, bool, ColorScheme)</a>
  273. </div>
  274. <div>
  275. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_System_Boolean_">View.Move(int, int, bool)</a>
  276. </div>
  277. <div>
  278. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a>
  279. </div>
  280. <div>
  281. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  282. </div>
  283. <div>
  284. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnAdded_Terminal_Gui_View_">View.OnAdded(View)</a>
  285. </div>
  286. <div>
  287. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnRemoved_Terminal_Gui_View_">View.OnRemoved(View)</a>
  288. </div>
  289. <div>
  290. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a>
  291. </div>
  292. <div>
  293. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  294. </div>
  295. <div>
  296. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  297. </div>
  298. <div>
  299. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">View.ColorScheme</a>
  300. </div>
  301. <div>
  302. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_">View.AddRune(int, int, Rune)</a>
  303. </div>
  304. <div>
  305. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  306. </div>
  307. <div>
  308. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  309. </div>
  310. <div>
  311. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  312. </div>
  313. <div>
  314. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContentComplete">View.DrawContentComplete</a>
  315. </div>
  316. <div>
  317. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContentComplete_Terminal_Gui_Rect_">View.OnDrawContentComplete(Rect)</a>
  318. </div>
  319. <div>
  320. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus">View.SetFocus()</a>
  321. </div>
  322. <div>
  323. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  324. </div>
  325. <div>
  326. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_InvokeKeybindings_Terminal_Gui_KeyEvent_">View.InvokeKeybindings(KeyEvent)</a>
  327. </div>
  328. <div>
  329. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddKeyBinding_Terminal_Gui_Key_Terminal_Gui_Command___">View.AddKeyBinding(Key, params Command[])</a>
  330. </div>
  331. <div>
  332. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ReplaceKeyBinding_Terminal_Gui_Key_Terminal_Gui_Key_">View.ReplaceKeyBinding(Key, Key)</a>
  333. </div>
  334. <div>
  335. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ContainsKeyBinding_Terminal_Gui_Key_">View.ContainsKeyBinding(Key)</a>
  336. </div>
  337. <div>
  338. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybindings">View.ClearKeybindings()</a>
  339. </div>
  340. <div>
  341. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Key_">View.ClearKeybinding(Key)</a>
  342. </div>
  343. <div>
  344. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Command___">View.ClearKeybinding(params Command[])</a>
  345. </div>
  346. <div>
  347. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddCommand_Terminal_Gui_Command_System_Func_System_Nullable_System_Boolean___">View.AddCommand(Command, Func&lt;bool?&gt;)</a>
  348. </div>
  349. <div>
  350. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetSupportedCommands">View.GetSupportedCommands()</a>
  351. </div>
  352. <div>
  353. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetKeyFromCommand_Terminal_Gui_Command___">View.GetKeyFromCommand(params Command[])</a>
  354. </div>
  355. <div>
  356. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a>
  357. </div>
  358. <div>
  359. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</a>
  360. </div>
  361. <div>
  362. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyDown">View.KeyDown</a>
  363. </div>
  364. <div>
  365. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_">View.OnKeyDown(KeyEvent)</a>
  366. </div>
  367. <div>
  368. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  369. </div>
  370. <div>
  371. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_">View.OnKeyUp(KeyEvent)</a>
  372. </div>
  373. <div>
  374. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  375. </div>
  376. <div>
  377. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  378. </div>
  379. <div>
  380. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  381. </div>
  382. <div>
  383. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  384. </div>
  385. <div>
  386. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  387. </div>
  388. <div>
  389. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStarted">View.LayoutStarted</a>
  390. </div>
  391. <div>
  392. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  393. </div>
  394. <div>
  395. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Initialized">View.Initialized</a>
  396. </div>
  397. <div>
  398. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  399. </div>
  400. <div>
  401. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">View.Text</a>
  402. </div>
  403. <div>
  404. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">View.AutoSize</a>
  405. </div>
  406. <div>
  407. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PreserveTrailingSpaces">View.PreserveTrailingSpaces</a>
  408. </div>
  409. <div>
  410. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextAlignment">View.TextAlignment</a>
  411. </div>
  412. <div>
  413. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VerticalTextAlignment">View.VerticalTextAlignment</a>
  414. </div>
  415. <div>
  416. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextDirection">View.TextDirection</a>
  417. </div>
  418. <div>
  419. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  420. </div>
  421. <div>
  422. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsAdded">View.IsAdded</a>
  423. </div>
  424. <div>
  425. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enabled">View.Enabled</a>
  426. </div>
  427. <div>
  428. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearOnVisibleFalse">View.ClearOnVisibleFalse</a>
  429. </div>
  430. <div>
  431. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  432. </div>
  433. <div>
  434. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Border">View.Border</a>
  435. </div>
  436. <div>
  437. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IgnoreBorderPropertyOnRedraw">View.IgnoreBorderPropertyOnRedraw</a>
  438. </div>
  439. <div>
  440. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  441. </div>
  442. <div>
  443. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetAutoSize">View.GetAutoSize()</a>
  444. </div>
  445. <div>
  446. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetHotKeySpecifierLength_System_Boolean_">View.GetHotKeySpecifierLength(bool)</a>
  447. </div>
  448. <div>
  449. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTextFormatterBoundsSize">View.GetTextFormatterBoundsSize()</a>
  450. </div>
  451. <div>
  452. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetBoundsTextFormatterSize">View.GetBoundsTextFormatterSize()</a>
  453. </div>
  454. <div>
  455. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  456. </div>
  457. <div>
  458. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  459. </div>
  460. <div>
  461. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  462. </div>
  463. <div>
  464. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  465. </div>
  466. <div>
  467. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnCanFocusChanged">View.OnCanFocusChanged()</a>
  468. </div>
  469. <div>
  470. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnabledChanged">View.OnEnabledChanged()</a>
  471. </div>
  472. <div>
  473. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnVisibleChanged">View.OnVisibleChanged()</a>
  474. </div>
  475. <div>
  476. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(bool)</a>
  477. </div>
  478. <div>
  479. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  480. </div>
  481. <div>
  482. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  483. </div>
  484. <div>
  485. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(int, out int)</a>
  486. </div>
  487. <div>
  488. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(int, out int)</a>
  489. </div>
  490. <div>
  491. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentWidth_System_Int32__">View.GetCurrentWidth(out int)</a>
  492. </div>
  493. <div>
  494. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentHeight_System_Int32__">View.GetCurrentHeight(out int)</a>
  495. </div>
  496. <div>
  497. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetNormalColor">View.GetNormalColor()</a>
  498. </div>
  499. <div>
  500. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetFocusColor">View.GetFocusColor()</a>
  501. </div>
  502. <div>
  503. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetHotNormalColor">View.GetHotNormalColor()</a>
  504. </div>
  505. <div>
  506. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTopSuperView">View.GetTopSuperView()</a>
  507. </div>
  508. <div>
  509. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a>
  510. </div>
  511. <div>
  512. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  513. </div>
  514. <div>
  515. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
  516. </div>
  517. <div>
  518. <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>
  519. </div>
  520. <div>
  521. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
  522. </div>
  523. <div>
  524. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
  525. </div>
  526. <div>
  527. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
  528. </div>
  529. <div>
  530. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
  531. </div>
  532. </div>
  533. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.html">Terminal</a>.<a class="xref" href="Terminal.Gui.html">Gui</a></h6>
  534. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  535. <h5 id="Terminal_Gui_GraphView_syntax">Syntax</h5>
  536. <div class="codewrapper">
  537. <pre><code class="lang-csharp hljs">public class GraphView : View, IDisposable, ISupportInitializeNotification, ISupportInitialize</code></pre>
  538. </div>
  539. <h3 id="constructors">Constructors
  540. </h3>
  541. <span class="small pull-right mobile-hide">
  542. <span class="divider">|</span>
  543. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView__ctor.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.%23ctor%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>
  544. </span>
  545. <span class="small pull-right mobile-hide">
  546. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L71">View Source</a>
  547. </span>
  548. <a id="Terminal_Gui_GraphView__ctor_" data-uid="Terminal.Gui.GraphView.#ctor*"></a>
  549. <h4 id="Terminal_Gui_GraphView__ctor" data-uid="Terminal.Gui.GraphView.#ctor">GraphView()</h4>
  550. <div class="markdown level1 summary">Creates a new graph with a 1 to 1 graph space with absolute layout</div>
  551. <div class="markdown level1 conceptual"></div>
  552. <h5 class="declaration">Declaration</h5>
  553. <div class="codewrapper">
  554. <pre><code class="lang-csharp hljs">public GraphView()</code></pre>
  555. </div>
  556. <h3 id="properties">Properties
  557. </h3>
  558. <span class="small pull-right mobile-hide">
  559. <span class="divider">|</span>
  560. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_Annotations.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.Annotations%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>
  561. </span>
  562. <span class="small pull-right mobile-hide">
  563. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L35">View Source</a>
  564. </span>
  565. <a id="Terminal_Gui_GraphView_Annotations_" data-uid="Terminal.Gui.GraphView.Annotations*"></a>
  566. <h4 id="Terminal_Gui_GraphView_Annotations" data-uid="Terminal.Gui.GraphView.Annotations">Annotations</h4>
  567. <div class="markdown level1 summary">Elements drawn into graph after series have been drawn e.g. Legends etc</div>
  568. <div class="markdown level1 conceptual"></div>
  569. <h5 class="declaration">Declaration</h5>
  570. <div class="codewrapper">
  571. <pre><code class="lang-csharp hljs">public List&lt;IAnnotation&gt; Annotations { get; }</code></pre>
  572. </div>
  573. <h5 class="propertyValue">Property Value</h5>
  574. <table class="table table-bordered table-condensed">
  575. <thead>
  576. <tr>
  577. <th>Type</th>
  578. <th>Description</th>
  579. </tr>
  580. </thead>
  581. <tbody>
  582. <tr>
  583. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="Terminal.Gui.Graphs.IAnnotation.html">IAnnotation</a>&gt;</td>
  584. <td></td>
  585. </tr>
  586. </tbody>
  587. </table>
  588. <span class="small pull-right mobile-hide">
  589. <span class="divider">|</span>
  590. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_AxisX.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.AxisX%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>
  591. </span>
  592. <span class="small pull-right mobile-hide">
  593. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L18">View Source</a>
  594. </span>
  595. <a id="Terminal_Gui_GraphView_AxisX_" data-uid="Terminal.Gui.GraphView.AxisX*"></a>
  596. <h4 id="Terminal_Gui_GraphView_AxisX" data-uid="Terminal.Gui.GraphView.AxisX">AxisX</h4>
  597. <div class="markdown level1 summary">Horizontal axis</div>
  598. <div class="markdown level1 conceptual"></div>
  599. <h5 class="declaration">Declaration</h5>
  600. <div class="codewrapper">
  601. <pre><code class="lang-csharp hljs">public HorizontalAxis AxisX { get; set; }</code></pre>
  602. </div>
  603. <h5 class="propertyValue">Property Value</h5>
  604. <table class="table table-bordered table-condensed">
  605. <thead>
  606. <tr>
  607. <th>Type</th>
  608. <th>Description</th>
  609. </tr>
  610. </thead>
  611. <tbody>
  612. <tr>
  613. <td><a class="xref" href="Terminal.Gui.Graphs.HorizontalAxis.html">HorizontalAxis</a></td>
  614. <td></td>
  615. </tr>
  616. </tbody>
  617. </table>
  618. <span class="small pull-right mobile-hide">
  619. <span class="divider">|</span>
  620. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_AxisY.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.AxisY%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>
  621. </span>
  622. <span class="small pull-right mobile-hide">
  623. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L24">View Source</a>
  624. </span>
  625. <a id="Terminal_Gui_GraphView_AxisY_" data-uid="Terminal.Gui.GraphView.AxisY*"></a>
  626. <h4 id="Terminal_Gui_GraphView_AxisY" data-uid="Terminal.Gui.GraphView.AxisY">AxisY</h4>
  627. <div class="markdown level1 summary">Vertical axis</div>
  628. <div class="markdown level1 conceptual"></div>
  629. <h5 class="declaration">Declaration</h5>
  630. <div class="codewrapper">
  631. <pre><code class="lang-csharp hljs">public VerticalAxis AxisY { get; set; }</code></pre>
  632. </div>
  633. <h5 class="propertyValue">Property Value</h5>
  634. <table class="table table-bordered table-condensed">
  635. <thead>
  636. <tr>
  637. <th>Type</th>
  638. <th>Description</th>
  639. </tr>
  640. </thead>
  641. <tbody>
  642. <tr>
  643. <td><a class="xref" href="Terminal.Gui.Graphs.VerticalAxis.html">VerticalAxis</a></td>
  644. <td></td>
  645. </tr>
  646. </tbody>
  647. </table>
  648. <span class="small pull-right mobile-hide">
  649. <span class="divider">|</span>
  650. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_CellSize.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.CellSize%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>
  651. </span>
  652. <span class="small pull-right mobile-hide">
  653. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L61">View Source</a>
  654. </span>
  655. <a id="Terminal_Gui_GraphView_CellSize_" data-uid="Terminal.Gui.GraphView.CellSize*"></a>
  656. <h4 id="Terminal_Gui_GraphView_CellSize" data-uid="Terminal.Gui.GraphView.CellSize">CellSize</h4>
  657. <div class="markdown level1 summary">Translates console width/height into graph space. Defaults
  658. to 1 row/col of console space being 1 unit of graph space.</div>
  659. <div class="markdown level1 conceptual"></div>
  660. <h5 class="declaration">Declaration</h5>
  661. <div class="codewrapper">
  662. <pre><code class="lang-csharp hljs">public PointF CellSize { get; set; }</code></pre>
  663. </div>
  664. <h5 class="propertyValue">Property Value</h5>
  665. <table class="table table-bordered table-condensed">
  666. <thead>
  667. <tr>
  668. <th>Type</th>
  669. <th>Description</th>
  670. </tr>
  671. </thead>
  672. <tbody>
  673. <tr>
  674. <td><a class="xref" href="Terminal.Gui.PointF.html">PointF</a></td>
  675. <td></td>
  676. </tr>
  677. </tbody>
  678. </table>
  679. <span class="small pull-right mobile-hide">
  680. <span class="divider">|</span>
  681. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_GraphColor.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.GraphColor%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>
  682. </span>
  683. <span class="small pull-right mobile-hide">
  684. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L66">View Source</a>
  685. </span>
  686. <a id="Terminal_Gui_GraphView_GraphColor_" data-uid="Terminal.Gui.GraphView.GraphColor*"></a>
  687. <h4 id="Terminal_Gui_GraphView_GraphColor" data-uid="Terminal.Gui.GraphView.GraphColor">GraphColor</h4>
  688. <div class="markdown level1 summary">The color of the background of the graph and axis/labels</div>
  689. <div class="markdown level1 conceptual"></div>
  690. <h5 class="declaration">Declaration</h5>
  691. <div class="codewrapper">
  692. <pre><code class="lang-csharp hljs">public Attribute? GraphColor { get; set; }</code></pre>
  693. </div>
  694. <h5 class="propertyValue">Property Value</h5>
  695. <table class="table table-bordered table-condensed">
  696. <thead>
  697. <tr>
  698. <th>Type</th>
  699. <th>Description</th>
  700. </tr>
  701. </thead>
  702. <tbody>
  703. <tr>
  704. <td><a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a>?</td>
  705. <td></td>
  706. </tr>
  707. </tbody>
  708. </table>
  709. <span class="small pull-right mobile-hide">
  710. <span class="divider">|</span>
  711. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_MarginBottom.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.MarginBottom%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>
  712. </span>
  713. <span class="small pull-right mobile-hide">
  714. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L47">View Source</a>
  715. </span>
  716. <a id="Terminal_Gui_GraphView_MarginBottom_" data-uid="Terminal.Gui.GraphView.MarginBottom*"></a>
  717. <h4 id="Terminal_Gui_GraphView_MarginBottom" data-uid="Terminal.Gui.GraphView.MarginBottom">MarginBottom</h4>
  718. <div class="markdown level1 summary">Amount of space to leave on bottom of control. Graph content (<a class="xref" href="Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_Series">Series</a>)
  719. will not be rendered in margins but axis labels may be</div>
  720. <div class="markdown level1 conceptual"></div>
  721. <h5 class="declaration">Declaration</h5>
  722. <div class="codewrapper">
  723. <pre><code class="lang-csharp hljs">public uint MarginBottom { get; set; }</code></pre>
  724. </div>
  725. <h5 class="propertyValue">Property Value</h5>
  726. <table class="table table-bordered table-condensed">
  727. <thead>
  728. <tr>
  729. <th>Type</th>
  730. <th>Description</th>
  731. </tr>
  732. </thead>
  733. <tbody>
  734. <tr>
  735. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></td>
  736. <td></td>
  737. </tr>
  738. </tbody>
  739. </table>
  740. <span class="small pull-right mobile-hide">
  741. <span class="divider">|</span>
  742. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_MarginLeft.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.MarginLeft%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>
  743. </span>
  744. <span class="small pull-right mobile-hide">
  745. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L41">View Source</a>
  746. </span>
  747. <a id="Terminal_Gui_GraphView_MarginLeft_" data-uid="Terminal.Gui.GraphView.MarginLeft*"></a>
  748. <h4 id="Terminal_Gui_GraphView_MarginLeft" data-uid="Terminal.Gui.GraphView.MarginLeft">MarginLeft</h4>
  749. <div class="markdown level1 summary">Amount of space to leave on left of control. Graph content (<a class="xref" href="Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_Series">Series</a>)
  750. will not be rendered in margins but axis labels may be</div>
  751. <div class="markdown level1 conceptual"></div>
  752. <h5 class="declaration">Declaration</h5>
  753. <div class="codewrapper">
  754. <pre><code class="lang-csharp hljs">public uint MarginLeft { get; set; }</code></pre>
  755. </div>
  756. <h5 class="propertyValue">Property Value</h5>
  757. <table class="table table-bordered table-condensed">
  758. <thead>
  759. <tr>
  760. <th>Type</th>
  761. <th>Description</th>
  762. </tr>
  763. </thead>
  764. <tbody>
  765. <tr>
  766. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></td>
  767. <td></td>
  768. </tr>
  769. </tbody>
  770. </table>
  771. <span class="small pull-right mobile-hide">
  772. <span class="divider">|</span>
  773. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_ScrollOffset.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.ScrollOffset%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>
  774. </span>
  775. <span class="small pull-right mobile-hide">
  776. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L54">View Source</a>
  777. </span>
  778. <a id="Terminal_Gui_GraphView_ScrollOffset_" data-uid="Terminal.Gui.GraphView.ScrollOffset*"></a>
  779. <h4 id="Terminal_Gui_GraphView_ScrollOffset" data-uid="Terminal.Gui.GraphView.ScrollOffset">ScrollOffset</h4>
  780. <div class="markdown level1 summary">The graph space position of the bottom left of the control.
  781. Changing this scrolls the viewport around in the graph</div>
  782. <div class="markdown level1 conceptual"></div>
  783. <h5 class="declaration">Declaration</h5>
  784. <div class="codewrapper">
  785. <pre><code class="lang-csharp hljs">public PointF ScrollOffset { get; set; }</code></pre>
  786. </div>
  787. <h5 class="propertyValue">Property Value</h5>
  788. <table class="table table-bordered table-condensed">
  789. <thead>
  790. <tr>
  791. <th>Type</th>
  792. <th>Description</th>
  793. </tr>
  794. </thead>
  795. <tbody>
  796. <tr>
  797. <td><a class="xref" href="Terminal.Gui.PointF.html">PointF</a></td>
  798. <td></td>
  799. </tr>
  800. </tbody>
  801. </table>
  802. <span class="small pull-right mobile-hide">
  803. <span class="divider">|</span>
  804. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_Series.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.Series%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>
  805. </span>
  806. <span class="small pull-right mobile-hide">
  807. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L29">View Source</a>
  808. </span>
  809. <a id="Terminal_Gui_GraphView_Series_" data-uid="Terminal.Gui.GraphView.Series*"></a>
  810. <h4 id="Terminal_Gui_GraphView_Series" data-uid="Terminal.Gui.GraphView.Series">Series</h4>
  811. <div class="markdown level1 summary">Collection of data series that are rendered in the graph</div>
  812. <div class="markdown level1 conceptual"></div>
  813. <h5 class="declaration">Declaration</h5>
  814. <div class="codewrapper">
  815. <pre><code class="lang-csharp hljs">public List&lt;ISeries&gt; Series { get; }</code></pre>
  816. </div>
  817. <h5 class="propertyValue">Property Value</h5>
  818. <table class="table table-bordered table-condensed">
  819. <thead>
  820. <tr>
  821. <th>Type</th>
  822. <th>Description</th>
  823. </tr>
  824. </thead>
  825. <tbody>
  826. <tr>
  827. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="Terminal.Gui.Graphs.ISeries.html">ISeries</a>&gt;</td>
  828. <td></td>
  829. </tr>
  830. </tbody>
  831. </table>
  832. <h3 id="methods">Methods
  833. </h3>
  834. <span class="small pull-right mobile-hide">
  835. <span class="divider">|</span>
  836. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_DrawLine_Terminal_Gui_Point_Terminal_Gui_Point_System_Rune_.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.DrawLine(Terminal.Gui.Point%2CTerminal.Gui.Point%2CSystem.Rune)%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>
  837. </span>
  838. <span class="small pull-right mobile-hide">
  839. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L312">View Source</a>
  840. </span>
  841. <a id="Terminal_Gui_GraphView_DrawLine_" data-uid="Terminal.Gui.GraphView.DrawLine*"></a>
  842. <h4 id="Terminal_Gui_GraphView_DrawLine_Terminal_Gui_Point_Terminal_Gui_Point_System_Rune_" data-uid="Terminal.Gui.GraphView.DrawLine(Terminal.Gui.Point,Terminal.Gui.Point,System.Rune)">DrawLine(Point, Point, Rune)</h4>
  843. <div class="markdown level1 summary">Draws a line between two points in screen space. Can be diagonals.</div>
  844. <div class="markdown level1 conceptual"></div>
  845. <h5 class="declaration">Declaration</h5>
  846. <div class="codewrapper">
  847. <pre><code class="lang-csharp hljs">public void DrawLine(Point start, Point end, Rune symbol)</code></pre>
  848. </div>
  849. <h5 class="parameters">Parameters</h5>
  850. <table class="table table-bordered table-condensed">
  851. <thead>
  852. <tr>
  853. <th>Type</th>
  854. <th>Name</th>
  855. <th>Description</th>
  856. </tr>
  857. </thead>
  858. <tbody>
  859. <tr>
  860. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  861. <td><span class="parametername">start</span></td>
  862. <td></td>
  863. </tr>
  864. <tr>
  865. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  866. <td><span class="parametername">end</span></td>
  867. <td></td>
  868. </tr>
  869. <tr>
  870. <td><span class="xref">Rune</span></td>
  871. <td><span class="parametername">symbol</span></td>
  872. <td>The symbol to use for the line</td>
  873. </tr>
  874. </tbody>
  875. </table>
  876. <span class="small pull-right mobile-hide">
  877. <span class="divider">|</span>
  878. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_GraphSpaceToScreen_Terminal_Gui_PointF_.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.GraphSpaceToScreen(Terminal.Gui.PointF)%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>
  879. </span>
  880. <span class="small pull-right mobile-hide">
  881. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L233">View Source</a>
  882. </span>
  883. <a id="Terminal_Gui_GraphView_GraphSpaceToScreen_" data-uid="Terminal.Gui.GraphView.GraphSpaceToScreen*"></a>
  884. <h4 id="Terminal_Gui_GraphView_GraphSpaceToScreen_Terminal_Gui_PointF_" data-uid="Terminal.Gui.GraphView.GraphSpaceToScreen(Terminal.Gui.PointF)">GraphSpaceToScreen(PointF)</h4>
  885. <div class="markdown level1 summary">Calculates the screen location for a given point in graph space.
  886. Bear in mind these be off screen</div>
  887. <div class="markdown level1 conceptual"></div>
  888. <h5 class="declaration">Declaration</h5>
  889. <div class="codewrapper">
  890. <pre><code class="lang-csharp hljs">public Point GraphSpaceToScreen(PointF location)</code></pre>
  891. </div>
  892. <h5 class="parameters">Parameters</h5>
  893. <table class="table table-bordered table-condensed">
  894. <thead>
  895. <tr>
  896. <th>Type</th>
  897. <th>Name</th>
  898. <th>Description</th>
  899. </tr>
  900. </thead>
  901. <tbody>
  902. <tr>
  903. <td><a class="xref" href="Terminal.Gui.PointF.html">PointF</a></td>
  904. <td><span class="parametername">location</span></td>
  905. <td>Point in graph space that may or may not be represented in the
  906. visible area of graph currently presented. E.g. 0,0 for origin</td>
  907. </tr>
  908. </tbody>
  909. </table>
  910. <h5 class="returns">Returns</h5>
  911. <table class="table table-bordered table-condensed">
  912. <thead>
  913. <tr>
  914. <th>Type</th>
  915. <th>Description</th>
  916. </tr>
  917. </thead>
  918. <tbody>
  919. <tr>
  920. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  921. <td>Screen position (Column/Row) which would be used to render the graph <code class="paramref">location</code>.
  922. Note that this can be outside the current client area of the control</td>
  923. </tr>
  924. </tbody>
  925. </table>
  926. <span class="small pull-right mobile-hide">
  927. <span class="divider">|</span>
  928. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_OnEnter_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.OnEnter(Terminal.Gui.View)%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>
  929. </span>
  930. <span class="small pull-right mobile-hide">
  931. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L245">View Source</a>
  932. </span>
  933. <a id="Terminal_Gui_GraphView_OnEnter_" data-uid="Terminal.Gui.GraphView.OnEnter*"></a>
  934. <h4 id="Terminal_Gui_GraphView_OnEnter_Terminal_Gui_View_" data-uid="Terminal.Gui.GraphView.OnEnter(Terminal.Gui.View)">OnEnter(View)</h4>
  935. <div class="markdown level1 summary">Method invoked when a view gets focus.</div>
  936. <div class="markdown level1 conceptual"></div>
  937. <h5 class="declaration">Declaration</h5>
  938. <div class="codewrapper">
  939. <pre><code class="lang-csharp hljs">public override bool OnEnter(View view)</code></pre>
  940. </div>
  941. <h5 class="parameters">Parameters</h5>
  942. <table class="table table-bordered table-condensed">
  943. <thead>
  944. <tr>
  945. <th>Type</th>
  946. <th>Name</th>
  947. <th>Description</th>
  948. </tr>
  949. </thead>
  950. <tbody>
  951. <tr>
  952. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  953. <td><span class="parametername">view</span></td>
  954. <td>The view that is losing focus.</td>
  955. </tr>
  956. </tbody>
  957. </table>
  958. <h5 class="returns">Returns</h5>
  959. <table class="table table-bordered table-condensed">
  960. <thead>
  961. <tr>
  962. <th>Type</th>
  963. <th>Description</th>
  964. </tr>
  965. </thead>
  966. <tbody>
  967. <tr>
  968. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  969. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  970. </tr>
  971. </tbody>
  972. </table>
  973. <h5 class="overrides">Overrides</h5>
  974. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a></div>
  975. <h5 id="Terminal_Gui_GraphView_OnEnter_Terminal_Gui_View__remarks">Remarks</h5>
  976. <div class="markdown level1 remarks">Also ensures that cursor is invisible after entering the <a class="xref" href="Terminal.Gui.GraphView.html">GraphView</a>.</div>
  977. <span class="small pull-right mobile-hide">
  978. <span class="divider">|</span>
  979. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_PageDown.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.PageDown%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>
  980. </span>
  981. <span class="small pull-right mobile-hide">
  982. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L274">View Source</a>
  983. </span>
  984. <a id="Terminal_Gui_GraphView_PageDown_" data-uid="Terminal.Gui.GraphView.PageDown*"></a>
  985. <h4 id="Terminal_Gui_GraphView_PageDown" data-uid="Terminal.Gui.GraphView.PageDown">PageDown()</h4>
  986. <div class="markdown level1 summary">Scrolls the graph down 1 page</div>
  987. <div class="markdown level1 conceptual"></div>
  988. <h5 class="declaration">Declaration</h5>
  989. <div class="codewrapper">
  990. <pre><code class="lang-csharp hljs">public void PageDown()</code></pre>
  991. </div>
  992. <span class="small pull-right mobile-hide">
  993. <span class="divider">|</span>
  994. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_PageUp.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.PageUp%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>
  995. </span>
  996. <span class="small pull-right mobile-hide">
  997. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L266">View Source</a>
  998. </span>
  999. <a id="Terminal_Gui_GraphView_PageUp_" data-uid="Terminal.Gui.GraphView.PageUp*"></a>
  1000. <h4 id="Terminal_Gui_GraphView_PageUp" data-uid="Terminal.Gui.GraphView.PageUp">PageUp()</h4>
  1001. <div class="markdown level1 summary">Scrolls the graph up 1 page</div>
  1002. <div class="markdown level1 conceptual"></div>
  1003. <h5 class="declaration">Declaration</h5>
  1004. <div class="codewrapper">
  1005. <pre><code class="lang-csharp hljs">public void PageUp()</code></pre>
  1006. </div>
  1007. <span class="small pull-right mobile-hide">
  1008. <span class="divider">|</span>
  1009. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_ProcessKey_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.ProcessKey(Terminal.Gui.KeyEvent)%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>
  1010. </span>
  1011. <span class="small pull-right mobile-hide">
  1012. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L252">View Source</a>
  1013. </span>
  1014. <a id="Terminal_Gui_GraphView_ProcessKey_" data-uid="Terminal.Gui.GraphView.ProcessKey*"></a>
  1015. <h4 id="Terminal_Gui_GraphView_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.GraphView.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  1016. <div class="markdown level1 summary">If the view is focused, gives the view a
  1017. chance to process the keystroke.</div>
  1018. <div class="markdown level1 conceptual"></div>
  1019. <h5 class="declaration">Declaration</h5>
  1020. <div class="codewrapper">
  1021. <pre><code class="lang-csharp hljs">public override bool ProcessKey(KeyEvent keyEvent)</code></pre>
  1022. </div>
  1023. <h5 class="parameters">Parameters</h5>
  1024. <table class="table table-bordered table-condensed">
  1025. <thead>
  1026. <tr>
  1027. <th>Type</th>
  1028. <th>Name</th>
  1029. <th>Description</th>
  1030. </tr>
  1031. </thead>
  1032. <tbody>
  1033. <tr>
  1034. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  1035. <td><span class="parametername">keyEvent</span></td>
  1036. <td>Contains the details about the key that produced the event.</td>
  1037. </tr>
  1038. </tbody>
  1039. </table>
  1040. <h5 class="returns">Returns</h5>
  1041. <table class="table table-bordered table-condensed">
  1042. <thead>
  1043. <tr>
  1044. <th>Type</th>
  1045. <th>Description</th>
  1046. </tr>
  1047. </thead>
  1048. <tbody>
  1049. <tr>
  1050. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
  1051. <td></td>
  1052. </tr>
  1053. </tbody>
  1054. </table>
  1055. <h5 class="overrides">Overrides</h5>
  1056. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a></div>
  1057. <h5 id="Terminal_Gui_GraphView_ProcessKey_Terminal_Gui_KeyEvent__remarks">Remarks</h5>
  1058. <div class="markdown level1 remarks"><p>
  1059. Views can override this method if they are
  1060. interested in processing the given keystroke.
  1061. If they consume the keystroke, they must
  1062. return true to stop the keystroke from being
  1063. processed by other widgets or consumed by the
  1064. widget engine. If they return false, the
  1065. keystroke will be passed using the ProcessColdKey
  1066. method to other views to process.
  1067. </p>
  1068. <p>
  1069. The View implementation does nothing but return false,
  1070. so it is not necessary to call base.ProcessKey if you
  1071. derive directly from View, but you should if you derive
  1072. other View subclasses.
  1073. </p></div>
  1074. <span class="small pull-right mobile-hide">
  1075. <span class="divider">|</span>
  1076. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_Redraw_Terminal_Gui_Rect_.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.Redraw(Terminal.Gui.Rect)%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>
  1077. </span>
  1078. <span class="small pull-right mobile-hide">
  1079. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L113">View Source</a>
  1080. </span>
  1081. <a id="Terminal_Gui_GraphView_Redraw_" data-uid="Terminal.Gui.GraphView.Redraw*"></a>
  1082. <h4 id="Terminal_Gui_GraphView_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.GraphView.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  1083. <div class="markdown level1 summary">Redraws this view and its subviews; only redraws the views that have been flagged for a re-display.</div>
  1084. <div class="markdown level1 conceptual"></div>
  1085. <h5 class="declaration">Declaration</h5>
  1086. <div class="codewrapper">
  1087. <pre><code class="lang-csharp hljs">public override void Redraw(Rect bounds)</code></pre>
  1088. </div>
  1089. <h5 class="parameters">Parameters</h5>
  1090. <table class="table table-bordered table-condensed">
  1091. <thead>
  1092. <tr>
  1093. <th>Type</th>
  1094. <th>Name</th>
  1095. <th>Description</th>
  1096. </tr>
  1097. </thead>
  1098. <tbody>
  1099. <tr>
  1100. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1101. <td><span class="parametername">bounds</span></td>
  1102. <td>The bounds (view-relative region) to redraw.</td>
  1103. </tr>
  1104. </tbody>
  1105. </table>
  1106. <h5 class="overrides">Overrides</h5>
  1107. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  1108. <h5 id="Terminal_Gui_GraphView_Redraw_Terminal_Gui_Rect__remarks">Remarks</h5>
  1109. <div class="markdown level1 remarks"><p>
  1110. Always use <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">Bounds</a> (view-relative) when calling <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">Redraw(Rect)</a>, NOT <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">Frame</a> (superview-relative).
  1111. </p>
  1112. <p>
  1113. Views should set the color that they want to use on entry, as otherwise this will inherit
  1114. the last color that was set globally on the driver.
  1115. </p>
  1116. <p>
  1117. Overrides of <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">Redraw(Rect)</a> must ensure they do not set <code>Driver.Clip</code> to a clip region
  1118. larger than the <ref name="bounds"></ref> parameter, as this will cause the driver to clip the entire region.
  1119. </p></div>
  1120. <span class="small pull-right mobile-hide">
  1121. <span class="divider">|</span>
  1122. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_Reset.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.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>
  1123. </span>
  1124. <span class="small pull-right mobile-hide">
  1125. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L100">View Source</a>
  1126. </span>
  1127. <a id="Terminal_Gui_GraphView_Reset_" data-uid="Terminal.Gui.GraphView.Reset*"></a>
  1128. <h4 id="Terminal_Gui_GraphView_Reset" data-uid="Terminal.Gui.GraphView.Reset">Reset()</h4>
  1129. <div class="markdown level1 summary">Clears all settings configured on the graph and resets all properties
  1130. to default values (<a class="xref" href="Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_CellSize">CellSize</a>, <a class="xref" href="Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_ScrollOffset">ScrollOffset</a> etc)</div>
  1131. <div class="markdown level1 conceptual"></div>
  1132. <h5 class="declaration">Declaration</h5>
  1133. <div class="codewrapper">
  1134. <pre><code class="lang-csharp hljs">public void Reset()</code></pre>
  1135. </div>
  1136. <span class="small pull-right mobile-hide">
  1137. <span class="divider">|</span>
  1138. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_ScreenToGraphSpace_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.ScreenToGraphSpace(System.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>
  1139. </span>
  1140. <span class="small pull-right mobile-hide">
  1141. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L204">View Source</a>
  1142. </span>
  1143. <a id="Terminal_Gui_GraphView_ScreenToGraphSpace_" data-uid="Terminal.Gui.GraphView.ScreenToGraphSpace*"></a>
  1144. <h4 id="Terminal_Gui_GraphView_ScreenToGraphSpace_System_Int32_System_Int32_" data-uid="Terminal.Gui.GraphView.ScreenToGraphSpace(System.Int32,System.Int32)">ScreenToGraphSpace(int, int)</h4>
  1145. <div class="markdown level1 summary">Returns the section of the graph that is represented by the given
  1146. screen position</div>
  1147. <div class="markdown level1 conceptual"></div>
  1148. <h5 class="declaration">Declaration</h5>
  1149. <div class="codewrapper">
  1150. <pre><code class="lang-csharp hljs">public RectangleF ScreenToGraphSpace(int col, int row)</code></pre>
  1151. </div>
  1152. <h5 class="parameters">Parameters</h5>
  1153. <table class="table table-bordered table-condensed">
  1154. <thead>
  1155. <tr>
  1156. <th>Type</th>
  1157. <th>Name</th>
  1158. <th>Description</th>
  1159. </tr>
  1160. </thead>
  1161. <tbody>
  1162. <tr>
  1163. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  1164. <td><span class="parametername">col</span></td>
  1165. <td></td>
  1166. </tr>
  1167. <tr>
  1168. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
  1169. <td><span class="parametername">row</span></td>
  1170. <td></td>
  1171. </tr>
  1172. </tbody>
  1173. </table>
  1174. <h5 class="returns">Returns</h5>
  1175. <table class="table table-bordered table-condensed">
  1176. <thead>
  1177. <tr>
  1178. <th>Type</th>
  1179. <th>Description</th>
  1180. </tr>
  1181. </thead>
  1182. <tbody>
  1183. <tr>
  1184. <td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
  1185. <td></td>
  1186. </tr>
  1187. </tbody>
  1188. </table>
  1189. <span class="small pull-right mobile-hide">
  1190. <span class="divider">|</span>
  1191. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_ScreenToGraphSpace_Terminal_Gui_Rect_.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.ScreenToGraphSpace(Terminal.Gui.Rect)%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>
  1192. </span>
  1193. <span class="small pull-right mobile-hide">
  1194. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L218">View Source</a>
  1195. </span>
  1196. <a id="Terminal_Gui_GraphView_ScreenToGraphSpace_" data-uid="Terminal.Gui.GraphView.ScreenToGraphSpace*"></a>
  1197. <h4 id="Terminal_Gui_GraphView_ScreenToGraphSpace_Terminal_Gui_Rect_" data-uid="Terminal.Gui.GraphView.ScreenToGraphSpace(Terminal.Gui.Rect)">ScreenToGraphSpace(Rect)</h4>
  1198. <div class="markdown level1 summary">Returns the section of the graph that is represented by the screen area</div>
  1199. <div class="markdown level1 conceptual"></div>
  1200. <h5 class="declaration">Declaration</h5>
  1201. <div class="codewrapper">
  1202. <pre><code class="lang-csharp hljs">public RectangleF ScreenToGraphSpace(Rect screenArea)</code></pre>
  1203. </div>
  1204. <h5 class="parameters">Parameters</h5>
  1205. <table class="table table-bordered table-condensed">
  1206. <thead>
  1207. <tr>
  1208. <th>Type</th>
  1209. <th>Name</th>
  1210. <th>Description</th>
  1211. </tr>
  1212. </thead>
  1213. <tbody>
  1214. <tr>
  1215. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1216. <td><span class="parametername">screenArea</span></td>
  1217. <td></td>
  1218. </tr>
  1219. </tbody>
  1220. </table>
  1221. <h5 class="returns">Returns</h5>
  1222. <table class="table table-bordered table-condensed">
  1223. <thead>
  1224. <tr>
  1225. <th>Type</th>
  1226. <th>Description</th>
  1227. </tr>
  1228. </thead>
  1229. <tbody>
  1230. <tr>
  1231. <td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
  1232. <td></td>
  1233. </tr>
  1234. </tbody>
  1235. </table>
  1236. <span class="small pull-right mobile-hide">
  1237. <span class="divider">|</span>
  1238. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_Scroll_System_Single_System_Single_.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.Scroll(System.Single%2CSystem.Single)%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>
  1239. </span>
  1240. <span class="small pull-right mobile-hide">
  1241. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L284">View Source</a>
  1242. </span>
  1243. <a id="Terminal_Gui_GraphView_Scroll_" data-uid="Terminal.Gui.GraphView.Scroll*"></a>
  1244. <h4 id="Terminal_Gui_GraphView_Scroll_System_Single_System_Single_" data-uid="Terminal.Gui.GraphView.Scroll(System.Single,System.Single)">Scroll(float, float)</h4>
  1245. <div class="markdown level1 summary">Scrolls the view by a given number of units in graph space.
  1246. See <a class="xref" href="Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_CellSize">CellSize</a> to translate this into rows/cols</div>
  1247. <div class="markdown level1 conceptual"></div>
  1248. <h5 class="declaration">Declaration</h5>
  1249. <div class="codewrapper">
  1250. <pre><code class="lang-csharp hljs">public void Scroll(float offsetX, float offsetY)</code></pre>
  1251. </div>
  1252. <h5 class="parameters">Parameters</h5>
  1253. <table class="table table-bordered table-condensed">
  1254. <thead>
  1255. <tr>
  1256. <th>Type</th>
  1257. <th>Name</th>
  1258. <th>Description</th>
  1259. </tr>
  1260. </thead>
  1261. <tbody>
  1262. <tr>
  1263. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
  1264. <td><span class="parametername">offsetX</span></td>
  1265. <td></td>
  1266. </tr>
  1267. <tr>
  1268. <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
  1269. <td><span class="parametername">offsetY</span></td>
  1270. <td></td>
  1271. </tr>
  1272. </tbody>
  1273. </table>
  1274. <span class="small pull-right mobile-hide">
  1275. <span class="divider">|</span>
  1276. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView_SetDriverColorToGraphColor.md&amp;value=---%0Auid%3A%20Terminal.Gui.GraphView.SetDriverColorToGraphColor%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>
  1277. </span>
  1278. <span class="small pull-right mobile-hide">
  1279. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L192">View Source</a>
  1280. </span>
  1281. <a id="Terminal_Gui_GraphView_SetDriverColorToGraphColor_" data-uid="Terminal.Gui.GraphView.SetDriverColorToGraphColor*"></a>
  1282. <h4 id="Terminal_Gui_GraphView_SetDriverColorToGraphColor" data-uid="Terminal.Gui.GraphView.SetDriverColorToGraphColor">SetDriverColorToGraphColor()</h4>
  1283. <div class="markdown level1 summary">Sets the color attribute of <a class="xref" href="Terminal.Gui.Application.html#Terminal_Gui_Application_Driver">Driver</a> to the <a class="xref" href="Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_GraphColor">GraphColor</a>
  1284. (if defined) or <a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a> otherwise.</div>
  1285. <div class="markdown level1 conceptual"></div>
  1286. <h5 class="declaration">Declaration</h5>
  1287. <div class="codewrapper">
  1288. <pre><code class="lang-csharp hljs">public void SetDriverColorToGraphColor()</code></pre>
  1289. </div>
  1290. <h3 id="implements">Implements</h3>
  1291. <div>
  1292. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a>
  1293. </div>
  1294. <div>
  1295. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitializenotification">ISupportInitializeNotification</a>
  1296. </div>
  1297. <div>
  1298. <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a>
  1299. </div>
  1300. </article>
  1301. </div>
  1302. <div class="hidden-sm col-md-2" role="complementary">
  1303. <div class="sideaffix">
  1304. <div class="contribution">
  1305. <ul class="nav">
  1306. <li>
  1307. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/docfx/overrides/new?filename=Terminal_Gui_GraphView.md&amp;value=---%0Auid%3A%20Terminal.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" class="contribution-link">Edit this page</a>
  1308. </li>
  1309. <li>
  1310. <a href="tig:tig/Terminal.Gui/blob/v2_develop/Terminal.Gui/Views/GraphView.cs/#L12" class="contribution-link">View Source</a>
  1311. </li>
  1312. </ul>
  1313. </div>
  1314. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  1315. <h5>In this article</h5>
  1316. <div></div>
  1317. </nav>
  1318. </div>
  1319. </div>
  1320. </div>
  1321. </div>
  1322. <footer>
  1323. <div class="grad-bottom"></div>
  1324. <div class="footer">
  1325. <div class="container">
  1326. <span class="pull-right">
  1327. <a href="#top">Back to top</a>
  1328. </span>
  1329. <span>Generated by <strong>DocFX</strong></span>
  1330. </div>
  1331. </div>
  1332. </footer>
  1333. </div>
  1334. <script type="text/javascript" src="../../styles/docfx.vendor.min.js"></script>
  1335. <script type="text/javascript" src="../../styles/docfx.js"></script>
  1336. <script type="text/javascript" src="../../styles/main.js"></script>
  1337. </body>
  1338. </html>