Terminal.Gui.GraphView.html 47 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181
  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. <meta name="generator" content="docfx 2.59.3.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.GraphView">
  74. <h1 id="Terminal_Gui_GraphView" data-uid="Terminal.Gui.GraphView" class="text-break">Class GraphView
  75. </h1>
  76. <div class="markdown level0 summary">
  77. Control for rendering graphs (bar, scatter etc)
  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"><a class="xref" href="Terminal.Gui.Responder.html">Responder</a></div>
  84. <div class="level2"><a class="xref" href="Terminal.Gui.View.html">View</a></div>
  85. <div class="level3"><span class="xref">GraphView</span></div>
  86. </div>
  87. <div class="implements">
  88. <h5>Implements</h5>
  89. <div><span class="xref">System.IDisposable</span></div>
  90. <div><span class="xref">System.ComponentModel.ISupportInitializeNotification</span></div>
  91. <div><span class="xref">System.ComponentModel.ISupportInitialize</span></div>
  92. </div>
  93. <div class="inheritedMembers">
  94. <h5>Inherited Members</h5>
  95. <div>
  96. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetMinWidthHeight_Terminal_Gui_Size__">View.GetMinWidthHeight(Size)</a>
  97. </div>
  98. <div>
  99. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetMinWidthHeight">View.SetMinWidthHeight()</a>
  100. </div>
  101. <div>
  102. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_UpdateTextFormatterText">View.UpdateTextFormatterText()</a>
  103. </div>
  104. <div>
  105. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessResizeView">View.ProcessResizeView()</a>
  106. </div>
  107. <div>
  108. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">View.SetNeedsDisplay()</a>
  109. </div>
  110. <div>
  111. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearLayoutNeeded">View.ClearLayoutNeeded()</a>
  112. </div>
  113. <div>
  114. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">View.SetNeedsDisplay(Rect)</a>
  115. </div>
  116. <div>
  117. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetChildNeedsDisplay">View.SetChildNeedsDisplay()</a>
  118. </div>
  119. <div>
  120. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">View.Add(View)</a>
  121. </div>
  122. <div>
  123. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">View.Add(View[])</a>
  124. </div>
  125. <div>
  126. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_RemoveAll">View.RemoveAll()</a>
  127. </div>
  128. <div>
  129. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Remove_Terminal_Gui_View_">View.Remove(View)</a>
  130. </div>
  131. <div>
  132. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_">View.BringSubviewToFront(View)</a>
  133. </div>
  134. <div>
  135. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_">View.SendSubviewToBack(View)</a>
  136. </div>
  137. <div>
  138. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_">View.SendSubviewBackwards(View)</a>
  139. </div>
  140. <div>
  141. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_">View.BringSubviewForward(View)</a>
  142. </div>
  143. <div>
  144. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear">View.Clear()</a>
  145. </div>
  146. <div>
  147. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Clear_Terminal_Gui_Rect_">View.Clear(Rect)</a>
  148. </div>
  149. <div>
  150. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_">View.ScreenToView(Int32, Int32)</a>
  151. </div>
  152. <div>
  153. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClipToBounds">View.ClipToBounds()</a>
  154. </div>
  155. <div>
  156. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetClip_Terminal_Gui_Rect_">View.SetClip(Rect)</a>
  157. </div>
  158. <div>
  159. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawFrame_Terminal_Gui_Rect_System_Int32_System_Boolean_">View.DrawFrame(Rect, Int32, Boolean)</a>
  160. </div>
  161. <div>
  162. <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>
  163. </div>
  164. <div>
  165. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawHotString_NStack_ustring_System_Boolean_Terminal_Gui_ColorScheme_">View.DrawHotString(ustring, Boolean, ColorScheme)</a>
  166. </div>
  167. <div>
  168. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Move_System_Int32_System_Int32_System_Boolean_">View.Move(Int32, Int32, Boolean)</a>
  169. </div>
  170. <div>
  171. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">View.PositionCursor()</a>
  172. </div>
  173. <div>
  174. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnAdded_Terminal_Gui_View_">View.OnAdded(View)</a>
  175. </div>
  176. <div>
  177. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnRemoved_Terminal_Gui_View_">View.OnRemoved(View)</a>
  178. </div>
  179. <div>
  180. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnter_Terminal_Gui_View_">View.OnEnter(View)</a>
  181. </div>
  182. <div>
  183. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnLeave_Terminal_Gui_View_">View.OnLeave(View)</a>
  184. </div>
  185. <div>
  186. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_">View.AddRune(Int32, Int32, Rune)</a>
  187. </div>
  188. <div>
  189. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearNeedsDisplay">View.ClearNeedsDisplay()</a>
  190. </div>
  191. <div>
  192. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_">View.OnDrawContent(Rect)</a>
  193. </div>
  194. <div>
  195. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnDrawContentComplete_Terminal_Gui_Rect_">View.OnDrawContentComplete(Rect)</a>
  196. </div>
  197. <div>
  198. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetFocus">View.SetFocus()</a>
  199. </div>
  200. <div>
  201. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_InvokeKeybindings_Terminal_Gui_KeyEvent_">View.InvokeKeybindings(KeyEvent)</a>
  202. </div>
  203. <div>
  204. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AddKeyBinding_Terminal_Gui_Key_Terminal_Gui_Command_">View.AddKeyBinding(Key, Command)</a>
  205. </div>
  206. <div>
  207. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ReplaceKeyBinding_Terminal_Gui_Key_Terminal_Gui_Key_">View.ReplaceKeyBinding(Key, Key)</a>
  208. </div>
  209. <div>
  210. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ContainsKeyBinding_Terminal_Gui_Key_">View.ContainsKeyBinding(Key)</a>
  211. </div>
  212. <div>
  213. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybindings">View.ClearKeybindings()</a>
  214. </div>
  215. <div>
  216. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Key_">View.ClearKeybinding(Key)</a>
  217. </div>
  218. <div>
  219. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Command_">View.ClearKeybinding(Command)</a>
  220. </div>
  221. <div>
  222. <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;Nullable&lt;Boolean&gt;&gt;)</a>
  223. </div>
  224. <div>
  225. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetSupportedCommands">View.GetSupportedCommands()</a>
  226. </div>
  227. <div>
  228. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetKeyFromCommand_Terminal_Gui_Command_">View.GetKeyFromCommand(Command)</a>
  229. </div>
  230. <div>
  231. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_">View.ProcessHotKey(KeyEvent)</a>
  232. </div>
  233. <div>
  234. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_">View.ProcessColdKey(KeyEvent)</a>
  235. </div>
  236. <div>
  237. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_">View.OnKeyDown(KeyEvent)</a>
  238. </div>
  239. <div>
  240. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_">View.OnKeyUp(KeyEvent)</a>
  241. </div>
  242. <div>
  243. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnsureFocus">View.EnsureFocus()</a>
  244. </div>
  245. <div>
  246. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusFirst">View.FocusFirst()</a>
  247. </div>
  248. <div>
  249. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusLast">View.FocusLast()</a>
  250. </div>
  251. <div>
  252. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusPrev">View.FocusPrev()</a>
  253. </div>
  254. <div>
  255. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_FocusNext">View.FocusNext()</a>
  256. </div>
  257. <div>
  258. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">View.LayoutSubviews()</a>
  259. </div>
  260. <div>
  261. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ToString">View.ToString()</a>
  262. </div>
  263. <div>
  264. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetAutoSize">View.GetAutoSize()</a>
  265. </div>
  266. <div>
  267. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetHotKeySpecifierLength_System_Boolean_">View.GetHotKeySpecifierLength(Boolean)</a>
  268. </div>
  269. <div>
  270. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTextFormatterBoundsSize">View.GetTextFormatterBoundsSize()</a>
  271. </div>
  272. <div>
  273. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetBoundsTextFormatterSize">View.GetBoundsTextFormatterSize()</a>
  274. </div>
  275. <div>
  276. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_">View.OnMouseEnter(MouseEvent)</a>
  277. </div>
  278. <div>
  279. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_">View.OnMouseLeave(MouseEvent)</a>
  280. </div>
  281. <div>
  282. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_">View.OnMouseEvent(MouseEvent)</a>
  283. </div>
  284. <div>
  285. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_">View.OnMouseClick(View.MouseEventArgs)</a>
  286. </div>
  287. <div>
  288. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnCanFocusChanged">View.OnCanFocusChanged()</a>
  289. </div>
  290. <div>
  291. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnEnabledChanged">View.OnEnabledChanged()</a>
  292. </div>
  293. <div>
  294. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_OnVisibleChanged">View.OnVisibleChanged()</a>
  295. </div>
  296. <div>
  297. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Dispose_System_Boolean_">View.Dispose(Boolean)</a>
  298. </div>
  299. <div>
  300. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_BeginInit">View.BeginInit()</a>
  301. </div>
  302. <div>
  303. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EndInit">View.EndInit()</a>
  304. </div>
  305. <div>
  306. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetWidth_System_Int32_System_Int32__">View.SetWidth(Int32, Int32)</a>
  307. </div>
  308. <div>
  309. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetHeight_System_Int32_System_Int32__">View.SetHeight(Int32, Int32)</a>
  310. </div>
  311. <div>
  312. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentWidth_System_Int32__">View.GetCurrentWidth(Int32)</a>
  313. </div>
  314. <div>
  315. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetCurrentHeight_System_Int32__">View.GetCurrentHeight(Int32)</a>
  316. </div>
  317. <div>
  318. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetNormalColor">View.GetNormalColor()</a>
  319. </div>
  320. <div>
  321. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetTopSuperView">View.GetTopSuperView()</a>
  322. </div>
  323. <div>
  324. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKey">View.HotKey</a>
  325. </div>
  326. <div>
  327. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeySpecifier">View.HotKeySpecifier</a>
  328. </div>
  329. <div>
  330. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Shortcut">View.Shortcut</a>
  331. </div>
  332. <div>
  333. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutTag">View.ShortcutTag</a>
  334. </div>
  335. <div>
  336. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ShortcutAction">View.ShortcutAction</a>
  337. </div>
  338. <div>
  339. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Data">View.Data</a>
  340. </div>
  341. <div>
  342. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">View.Driver</a>
  343. </div>
  344. <div>
  345. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">View.Subviews</a>
  346. </div>
  347. <div>
  348. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndexes">View.TabIndexes</a>
  349. </div>
  350. <div>
  351. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndex">View.TabIndex</a>
  352. </div>
  353. <div>
  354. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabStop">View.TabStop</a>
  355. </div>
  356. <div>
  357. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocus">View.CanFocus</a>
  358. </div>
  359. <div>
  360. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Id">View.Id</a>
  361. </div>
  362. <div>
  363. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsCurrentTop">View.IsCurrentTop</a>
  364. </div>
  365. <div>
  366. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantMousePositionReports">View.WantMousePositionReports</a>
  367. </div>
  368. <div>
  369. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_WantContinuousButtonPressed">View.WantContinuousButtonPressed</a>
  370. </div>
  371. <div>
  372. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">View.Frame</a>
  373. </div>
  374. <div>
  375. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">View.LayoutStyle</a>
  376. </div>
  377. <div>
  378. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">View.Bounds</a>
  379. </div>
  380. <div>
  381. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_X">View.X</a>
  382. </div>
  383. <div>
  384. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Y">View.Y</a>
  385. </div>
  386. <div>
  387. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">View.Width</a>
  388. </div>
  389. <div>
  390. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">View.Height</a>
  391. </div>
  392. <div>
  393. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ForceValidatePosDim">View.ForceValidatePosDim</a>
  394. </div>
  395. <div>
  396. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextFormatter">View.TextFormatter</a>
  397. </div>
  398. <div>
  399. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">View.SuperView</a>
  400. </div>
  401. <div>
  402. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HasFocus">View.HasFocus</a>
  403. </div>
  404. <div>
  405. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Focused">View.Focused</a>
  406. </div>
  407. <div>
  408. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MostFocused">View.MostFocused</a>
  409. </div>
  410. <div>
  411. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">View.ColorScheme</a>
  412. </div>
  413. <div>
  414. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">View.Text</a>
  415. </div>
  416. <div>
  417. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">View.AutoSize</a>
  418. </div>
  419. <div>
  420. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PreserveTrailingSpaces">View.PreserveTrailingSpaces</a>
  421. </div>
  422. <div>
  423. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextAlignment">View.TextAlignment</a>
  424. </div>
  425. <div>
  426. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VerticalTextAlignment">View.VerticalTextAlignment</a>
  427. </div>
  428. <div>
  429. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TextDirection">View.TextDirection</a>
  430. </div>
  431. <div>
  432. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsInitialized">View.IsInitialized</a>
  433. </div>
  434. <div>
  435. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_IsAdded">View.IsAdded</a>
  436. </div>
  437. <div>
  438. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enabled">View.Enabled</a>
  439. </div>
  440. <div>
  441. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">View.Visible</a>
  442. </div>
  443. <div>
  444. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Border">View.Border</a>
  445. </div>
  446. <div>
  447. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Added">View.Added</a>
  448. </div>
  449. <div>
  450. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Removed">View.Removed</a>
  451. </div>
  452. <div>
  453. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enter">View.Enter</a>
  454. </div>
  455. <div>
  456. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Leave">View.Leave</a>
  457. </div>
  458. <div>
  459. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseEnter">View.MouseEnter</a>
  460. </div>
  461. <div>
  462. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseLeave">View.MouseLeave</a>
  463. </div>
  464. <div>
  465. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_MouseClick">View.MouseClick</a>
  466. </div>
  467. <div>
  468. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocusChanged">View.CanFocusChanged</a>
  469. </div>
  470. <div>
  471. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_EnabledChanged">View.EnabledChanged</a>
  472. </div>
  473. <div>
  474. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_VisibleChanged">View.VisibleChanged</a>
  475. </div>
  476. <div>
  477. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKeyChanged">View.HotKeyChanged</a>
  478. </div>
  479. <div>
  480. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContent">View.DrawContent</a>
  481. </div>
  482. <div>
  483. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_DrawContentComplete">View.DrawContentComplete</a>
  484. </div>
  485. <div>
  486. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyPress">View.KeyPress</a>
  487. </div>
  488. <div>
  489. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyDown">View.KeyDown</a>
  490. </div>
  491. <div>
  492. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_KeyUp">View.KeyUp</a>
  493. </div>
  494. <div>
  495. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStarted">View.LayoutStarted</a>
  496. </div>
  497. <div>
  498. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutComplete">View.LayoutComplete</a>
  499. </div>
  500. <div>
  501. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Initialized">View.Initialized</a>
  502. </div>
  503. <div>
  504. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a>
  505. </div>
  506. <div>
  507. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  508. </div>
  509. </div>
  510. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  511. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  512. <h5 id="Terminal_Gui_GraphView_syntax">Syntax</h5>
  513. <div class="codewrapper">
  514. <pre><code class="lang-csharp hljs">public class GraphView : View</code></pre>
  515. </div>
  516. <h3 id="constructors">Constructors
  517. </h3>
  518. <a id="Terminal_Gui_GraphView__ctor_" data-uid="Terminal.Gui.GraphView.#ctor*"></a>
  519. <h4 id="Terminal_Gui_GraphView__ctor" data-uid="Terminal.Gui.GraphView.#ctor">GraphView()</h4>
  520. <div class="markdown level1 summary">
  521. Creates a new graph with a 1 to 1 graph space with absolute layout
  522. </div>
  523. <div class="markdown level1 conceptual"></div>
  524. <h5 class="decalaration">Declaration</h5>
  525. <div class="codewrapper">
  526. <pre><code class="lang-csharp hljs">public GraphView()</code></pre>
  527. </div>
  528. <h3 id="properties">Properties
  529. </h3>
  530. <a id="Terminal_Gui_GraphView_Annotations_" data-uid="Terminal.Gui.GraphView.Annotations*"></a>
  531. <h4 id="Terminal_Gui_GraphView_Annotations" data-uid="Terminal.Gui.GraphView.Annotations">Annotations</h4>
  532. <div class="markdown level1 summary">
  533. Elements drawn into graph after series have been drawn e.g. Legends etc
  534. </div>
  535. <div class="markdown level1 conceptual"></div>
  536. <h5 class="decalaration">Declaration</h5>
  537. <div class="codewrapper">
  538. <pre><code class="lang-csharp hljs">public List&lt;IAnnotation&gt; Annotations { get; }</code></pre>
  539. </div>
  540. <h5 class="propertyValue">Property Value</h5>
  541. <table class="table table-bordered table-striped table-condensed">
  542. <thead>
  543. <tr>
  544. <th>Type</th>
  545. <th>Description</th>
  546. </tr>
  547. </thead>
  548. <tbody>
  549. <tr>
  550. <td><span class="xref">System.Collections.Generic.List</span>&lt;<a class="xref" href="Terminal.Gui.Graphs.IAnnotation.html">IAnnotation</a>&gt;</td>
  551. <td></td>
  552. </tr>
  553. </tbody>
  554. </table>
  555. <a id="Terminal_Gui_GraphView_AxisX_" data-uid="Terminal.Gui.GraphView.AxisX*"></a>
  556. <h4 id="Terminal_Gui_GraphView_AxisX" data-uid="Terminal.Gui.GraphView.AxisX">AxisX</h4>
  557. <div class="markdown level1 summary">
  558. Horizontal axis
  559. </div>
  560. <div class="markdown level1 conceptual"></div>
  561. <h5 class="decalaration">Declaration</h5>
  562. <div class="codewrapper">
  563. <pre><code class="lang-csharp hljs">public HorizontalAxis AxisX { get; set; }</code></pre>
  564. </div>
  565. <h5 class="propertyValue">Property Value</h5>
  566. <table class="table table-bordered table-striped table-condensed">
  567. <thead>
  568. <tr>
  569. <th>Type</th>
  570. <th>Description</th>
  571. </tr>
  572. </thead>
  573. <tbody>
  574. <tr>
  575. <td><a class="xref" href="Terminal.Gui.Graphs.HorizontalAxis.html">HorizontalAxis</a></td>
  576. <td></td>
  577. </tr>
  578. </tbody>
  579. </table>
  580. <a id="Terminal_Gui_GraphView_AxisY_" data-uid="Terminal.Gui.GraphView.AxisY*"></a>
  581. <h4 id="Terminal_Gui_GraphView_AxisY" data-uid="Terminal.Gui.GraphView.AxisY">AxisY</h4>
  582. <div class="markdown level1 summary">
  583. Vertical axis
  584. </div>
  585. <div class="markdown level1 conceptual"></div>
  586. <h5 class="decalaration">Declaration</h5>
  587. <div class="codewrapper">
  588. <pre><code class="lang-csharp hljs">public VerticalAxis AxisY { get; set; }</code></pre>
  589. </div>
  590. <h5 class="propertyValue">Property Value</h5>
  591. <table class="table table-bordered table-striped table-condensed">
  592. <thead>
  593. <tr>
  594. <th>Type</th>
  595. <th>Description</th>
  596. </tr>
  597. </thead>
  598. <tbody>
  599. <tr>
  600. <td><a class="xref" href="Terminal.Gui.Graphs.VerticalAxis.html">VerticalAxis</a></td>
  601. <td></td>
  602. </tr>
  603. </tbody>
  604. </table>
  605. <a id="Terminal_Gui_GraphView_CellSize_" data-uid="Terminal.Gui.GraphView.CellSize*"></a>
  606. <h4 id="Terminal_Gui_GraphView_CellSize" data-uid="Terminal.Gui.GraphView.CellSize">CellSize</h4>
  607. <div class="markdown level1 summary">
  608. Translates console width/height into graph space. Defaults
  609. to 1 row/col of console space being 1 unit of graph space.
  610. </div>
  611. <div class="markdown level1 conceptual"></div>
  612. <h5 class="decalaration">Declaration</h5>
  613. <div class="codewrapper">
  614. <pre><code class="lang-csharp hljs">public PointF CellSize { get; set; }</code></pre>
  615. </div>
  616. <h5 class="propertyValue">Property Value</h5>
  617. <table class="table table-bordered table-striped table-condensed">
  618. <thead>
  619. <tr>
  620. <th>Type</th>
  621. <th>Description</th>
  622. </tr>
  623. </thead>
  624. <tbody>
  625. <tr>
  626. <td><a class="xref" href="Terminal.Gui.PointF.html">PointF</a></td>
  627. <td></td>
  628. </tr>
  629. </tbody>
  630. </table>
  631. <a id="Terminal_Gui_GraphView_GraphColor_" data-uid="Terminal.Gui.GraphView.GraphColor*"></a>
  632. <h4 id="Terminal_Gui_GraphView_GraphColor" data-uid="Terminal.Gui.GraphView.GraphColor">GraphColor</h4>
  633. <div class="markdown level1 summary">
  634. The color of the background of the graph and axis/labels
  635. </div>
  636. <div class="markdown level1 conceptual"></div>
  637. <h5 class="decalaration">Declaration</h5>
  638. <div class="codewrapper">
  639. <pre><code class="lang-csharp hljs">public Nullable&lt;Attribute&gt; GraphColor { get; set; }</code></pre>
  640. </div>
  641. <h5 class="propertyValue">Property Value</h5>
  642. <table class="table table-bordered table-striped table-condensed">
  643. <thead>
  644. <tr>
  645. <th>Type</th>
  646. <th>Description</th>
  647. </tr>
  648. </thead>
  649. <tbody>
  650. <tr>
  651. <td><span class="xref">System.Nullable</span>&lt;<a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a>&gt;</td>
  652. <td></td>
  653. </tr>
  654. </tbody>
  655. </table>
  656. <a id="Terminal_Gui_GraphView_MarginBottom_" data-uid="Terminal.Gui.GraphView.MarginBottom*"></a>
  657. <h4 id="Terminal_Gui_GraphView_MarginBottom" data-uid="Terminal.Gui.GraphView.MarginBottom">MarginBottom</h4>
  658. <div class="markdown level1 summary">
  659. 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>)
  660. will not be rendered in margins but axis labels may be
  661. </div>
  662. <div class="markdown level1 conceptual"></div>
  663. <h5 class="decalaration">Declaration</h5>
  664. <div class="codewrapper">
  665. <pre><code class="lang-csharp hljs">public uint MarginBottom { get; set; }</code></pre>
  666. </div>
  667. <h5 class="propertyValue">Property Value</h5>
  668. <table class="table table-bordered table-striped table-condensed">
  669. <thead>
  670. <tr>
  671. <th>Type</th>
  672. <th>Description</th>
  673. </tr>
  674. </thead>
  675. <tbody>
  676. <tr>
  677. <td><span class="xref">System.UInt32</span></td>
  678. <td></td>
  679. </tr>
  680. </tbody>
  681. </table>
  682. <a id="Terminal_Gui_GraphView_MarginLeft_" data-uid="Terminal.Gui.GraphView.MarginLeft*"></a>
  683. <h4 id="Terminal_Gui_GraphView_MarginLeft" data-uid="Terminal.Gui.GraphView.MarginLeft">MarginLeft</h4>
  684. <div class="markdown level1 summary">
  685. 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>)
  686. will not be rendered in margins but axis labels may be
  687. </div>
  688. <div class="markdown level1 conceptual"></div>
  689. <h5 class="decalaration">Declaration</h5>
  690. <div class="codewrapper">
  691. <pre><code class="lang-csharp hljs">public uint MarginLeft { get; set; }</code></pre>
  692. </div>
  693. <h5 class="propertyValue">Property Value</h5>
  694. <table class="table table-bordered table-striped table-condensed">
  695. <thead>
  696. <tr>
  697. <th>Type</th>
  698. <th>Description</th>
  699. </tr>
  700. </thead>
  701. <tbody>
  702. <tr>
  703. <td><span class="xref">System.UInt32</span></td>
  704. <td></td>
  705. </tr>
  706. </tbody>
  707. </table>
  708. <a id="Terminal_Gui_GraphView_ScrollOffset_" data-uid="Terminal.Gui.GraphView.ScrollOffset*"></a>
  709. <h4 id="Terminal_Gui_GraphView_ScrollOffset" data-uid="Terminal.Gui.GraphView.ScrollOffset">ScrollOffset</h4>
  710. <div class="markdown level1 summary">
  711. The graph space position of the bottom left of the control.
  712. Changing this scrolls the viewport around in the graph
  713. </div>
  714. <div class="markdown level1 conceptual"></div>
  715. <h5 class="decalaration">Declaration</h5>
  716. <div class="codewrapper">
  717. <pre><code class="lang-csharp hljs">public PointF ScrollOffset { get; set; }</code></pre>
  718. </div>
  719. <h5 class="propertyValue">Property Value</h5>
  720. <table class="table table-bordered table-striped table-condensed">
  721. <thead>
  722. <tr>
  723. <th>Type</th>
  724. <th>Description</th>
  725. </tr>
  726. </thead>
  727. <tbody>
  728. <tr>
  729. <td><a class="xref" href="Terminal.Gui.PointF.html">PointF</a></td>
  730. <td></td>
  731. </tr>
  732. </tbody>
  733. </table>
  734. <a id="Terminal_Gui_GraphView_Series_" data-uid="Terminal.Gui.GraphView.Series*"></a>
  735. <h4 id="Terminal_Gui_GraphView_Series" data-uid="Terminal.Gui.GraphView.Series">Series</h4>
  736. <div class="markdown level1 summary">
  737. Collection of data series that are rendered in the graph
  738. </div>
  739. <div class="markdown level1 conceptual"></div>
  740. <h5 class="decalaration">Declaration</h5>
  741. <div class="codewrapper">
  742. <pre><code class="lang-csharp hljs">public List&lt;ISeries&gt; Series { get; }</code></pre>
  743. </div>
  744. <h5 class="propertyValue">Property Value</h5>
  745. <table class="table table-bordered table-striped table-condensed">
  746. <thead>
  747. <tr>
  748. <th>Type</th>
  749. <th>Description</th>
  750. </tr>
  751. </thead>
  752. <tbody>
  753. <tr>
  754. <td><span class="xref">System.Collections.Generic.List</span>&lt;<a class="xref" href="Terminal.Gui.Graphs.ISeries.html">ISeries</a>&gt;</td>
  755. <td></td>
  756. </tr>
  757. </tbody>
  758. </table>
  759. <h3 id="methods">Methods
  760. </h3>
  761. <a id="Terminal_Gui_GraphView_DrawLine_" data-uid="Terminal.Gui.GraphView.DrawLine*"></a>
  762. <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>
  763. <div class="markdown level1 summary">
  764. Draws a line between two points in screen space. Can be diagonals.
  765. </div>
  766. <div class="markdown level1 conceptual"></div>
  767. <h5 class="decalaration">Declaration</h5>
  768. <div class="codewrapper">
  769. <pre><code class="lang-csharp hljs">public void DrawLine(Point start, Point end, Rune symbol)</code></pre>
  770. </div>
  771. <h5 class="parameters">Parameters</h5>
  772. <table class="table table-bordered table-striped table-condensed">
  773. <thead>
  774. <tr>
  775. <th>Type</th>
  776. <th>Name</th>
  777. <th>Description</th>
  778. </tr>
  779. </thead>
  780. <tbody>
  781. <tr>
  782. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  783. <td><span class="parametername">start</span></td>
  784. <td></td>
  785. </tr>
  786. <tr>
  787. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  788. <td><span class="parametername">end</span></td>
  789. <td></td>
  790. </tr>
  791. <tr>
  792. <td><span class="xref">System.Rune</span></td>
  793. <td><span class="parametername">symbol</span></td>
  794. <td>The symbol to use for the line</td>
  795. </tr>
  796. </tbody>
  797. </table>
  798. <a id="Terminal_Gui_GraphView_GraphSpaceToScreen_" data-uid="Terminal.Gui.GraphView.GraphSpaceToScreen*"></a>
  799. <h4 id="Terminal_Gui_GraphView_GraphSpaceToScreen_Terminal_Gui_PointF_" data-uid="Terminal.Gui.GraphView.GraphSpaceToScreen(Terminal.Gui.PointF)">GraphSpaceToScreen(PointF)</h4>
  800. <div class="markdown level1 summary">
  801. Calculates the screen location for a given point in graph space.
  802. Bear in mind these be off screen
  803. </div>
  804. <div class="markdown level1 conceptual"></div>
  805. <h5 class="decalaration">Declaration</h5>
  806. <div class="codewrapper">
  807. <pre><code class="lang-csharp hljs">public Point GraphSpaceToScreen(PointF location)</code></pre>
  808. </div>
  809. <h5 class="parameters">Parameters</h5>
  810. <table class="table table-bordered table-striped table-condensed">
  811. <thead>
  812. <tr>
  813. <th>Type</th>
  814. <th>Name</th>
  815. <th>Description</th>
  816. </tr>
  817. </thead>
  818. <tbody>
  819. <tr>
  820. <td><a class="xref" href="Terminal.Gui.PointF.html">PointF</a></td>
  821. <td><span class="parametername">location</span></td>
  822. <td>Point in graph space that may or may not be represented in the
  823. visible area of graph currently presented. E.g. 0,0 for origin</td>
  824. </tr>
  825. </tbody>
  826. </table>
  827. <h5 class="returns">Returns</h5>
  828. <table class="table table-bordered table-striped table-condensed">
  829. <thead>
  830. <tr>
  831. <th>Type</th>
  832. <th>Description</th>
  833. </tr>
  834. </thead>
  835. <tbody>
  836. <tr>
  837. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  838. <td>Screen position (Column/Row) which would be used to render the graph <code data-dev-comment-type="paramref" class="paramref">location</code>.
  839. Note that this can be outside the current client area of the control</td>
  840. </tr>
  841. </tbody>
  842. </table>
  843. <a id="Terminal_Gui_GraphView_PageDown_" data-uid="Terminal.Gui.GraphView.PageDown*"></a>
  844. <h4 id="Terminal_Gui_GraphView_PageDown" data-uid="Terminal.Gui.GraphView.PageDown">PageDown()</h4>
  845. <div class="markdown level1 summary">
  846. Scrolls the graph down 1 page
  847. </div>
  848. <div class="markdown level1 conceptual"></div>
  849. <h5 class="decalaration">Declaration</h5>
  850. <div class="codewrapper">
  851. <pre><code class="lang-csharp hljs">public void PageDown()</code></pre>
  852. </div>
  853. <a id="Terminal_Gui_GraphView_PageUp_" data-uid="Terminal.Gui.GraphView.PageUp*"></a>
  854. <h4 id="Terminal_Gui_GraphView_PageUp" data-uid="Terminal.Gui.GraphView.PageUp">PageUp()</h4>
  855. <div class="markdown level1 summary">
  856. Scrolls the graph up 1 page
  857. </div>
  858. <div class="markdown level1 conceptual"></div>
  859. <h5 class="decalaration">Declaration</h5>
  860. <div class="codewrapper">
  861. <pre><code class="lang-csharp hljs">public void PageUp()</code></pre>
  862. </div>
  863. <a id="Terminal_Gui_GraphView_ProcessKey_" data-uid="Terminal.Gui.GraphView.ProcessKey*"></a>
  864. <h4 id="Terminal_Gui_GraphView_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.GraphView.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  865. <div class="markdown level1 summary">
  866. If the view is focused, gives the view a
  867. chance to process the keystroke.
  868. </div>
  869. <div class="markdown level1 conceptual"></div>
  870. <h5 class="decalaration">Declaration</h5>
  871. <div class="codewrapper">
  872. <pre><code class="lang-csharp hljs">public override bool ProcessKey(KeyEvent keyEvent)</code></pre>
  873. </div>
  874. <h5 class="parameters">Parameters</h5>
  875. <table class="table table-bordered table-striped table-condensed">
  876. <thead>
  877. <tr>
  878. <th>Type</th>
  879. <th>Name</th>
  880. <th>Description</th>
  881. </tr>
  882. </thead>
  883. <tbody>
  884. <tr>
  885. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  886. <td><span class="parametername">keyEvent</span></td>
  887. <td>Contains the details about the key that produced the event.</td>
  888. </tr>
  889. </tbody>
  890. </table>
  891. <h5 class="returns">Returns</h5>
  892. <table class="table table-bordered table-striped table-condensed">
  893. <thead>
  894. <tr>
  895. <th>Type</th>
  896. <th>Description</th>
  897. </tr>
  898. </thead>
  899. <tbody>
  900. <tr>
  901. <td><span class="xref">System.Boolean</span></td>
  902. <td></td>
  903. </tr>
  904. </tbody>
  905. </table>
  906. <h5 class="overrides">Overrides</h5>
  907. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_">View.ProcessKey(KeyEvent)</a></div>
  908. <a id="Terminal_Gui_GraphView_Redraw_" data-uid="Terminal.Gui.GraphView.Redraw*"></a>
  909. <h4 id="Terminal_Gui_GraphView_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.GraphView.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  910. <div class="markdown level1 summary">
  911. Redraws this view and its subviews; only redraws the views that have been flagged for a re-display.
  912. </div>
  913. <div class="markdown level1 conceptual"></div>
  914. <h5 class="decalaration">Declaration</h5>
  915. <div class="codewrapper">
  916. <pre><code class="lang-csharp hljs">public override void Redraw(Rect bounds)</code></pre>
  917. </div>
  918. <h5 class="parameters">Parameters</h5>
  919. <table class="table table-bordered table-striped table-condensed">
  920. <thead>
  921. <tr>
  922. <th>Type</th>
  923. <th>Name</th>
  924. <th>Description</th>
  925. </tr>
  926. </thead>
  927. <tbody>
  928. <tr>
  929. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  930. <td><span class="parametername">bounds</span></td>
  931. <td>The bounds (view-relative region) to redraw.</td>
  932. </tr>
  933. </tbody>
  934. </table>
  935. <h5 class="overrides">Overrides</h5>
  936. <div><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Redraw_Terminal_Gui_Rect_">View.Redraw(Rect)</a></div>
  937. <a id="Terminal_Gui_GraphView_Reset_" data-uid="Terminal.Gui.GraphView.Reset*"></a>
  938. <h4 id="Terminal_Gui_GraphView_Reset" data-uid="Terminal.Gui.GraphView.Reset">Reset()</h4>
  939. <div class="markdown level1 summary">
  940. Clears all settings configured on the graph and resets all properties
  941. 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)
  942. </div>
  943. <div class="markdown level1 conceptual"></div>
  944. <h5 class="decalaration">Declaration</h5>
  945. <div class="codewrapper">
  946. <pre><code class="lang-csharp hljs">public void Reset()</code></pre>
  947. </div>
  948. <a id="Terminal_Gui_GraphView_ScreenToGraphSpace_" data-uid="Terminal.Gui.GraphView.ScreenToGraphSpace*"></a>
  949. <h4 id="Terminal_Gui_GraphView_ScreenToGraphSpace_System_Int32_System_Int32_" data-uid="Terminal.Gui.GraphView.ScreenToGraphSpace(System.Int32,System.Int32)">ScreenToGraphSpace(Int32, Int32)</h4>
  950. <div class="markdown level1 summary">
  951. Returns the section of the graph that is represented by the given
  952. screen position
  953. </div>
  954. <div class="markdown level1 conceptual"></div>
  955. <h5 class="decalaration">Declaration</h5>
  956. <div class="codewrapper">
  957. <pre><code class="lang-csharp hljs">public RectangleF ScreenToGraphSpace(int col, int row)</code></pre>
  958. </div>
  959. <h5 class="parameters">Parameters</h5>
  960. <table class="table table-bordered table-striped table-condensed">
  961. <thead>
  962. <tr>
  963. <th>Type</th>
  964. <th>Name</th>
  965. <th>Description</th>
  966. </tr>
  967. </thead>
  968. <tbody>
  969. <tr>
  970. <td><span class="xref">System.Int32</span></td>
  971. <td><span class="parametername">col</span></td>
  972. <td></td>
  973. </tr>
  974. <tr>
  975. <td><span class="xref">System.Int32</span></td>
  976. <td><span class="parametername">row</span></td>
  977. <td></td>
  978. </tr>
  979. </tbody>
  980. </table>
  981. <h5 class="returns">Returns</h5>
  982. <table class="table table-bordered table-striped table-condensed">
  983. <thead>
  984. <tr>
  985. <th>Type</th>
  986. <th>Description</th>
  987. </tr>
  988. </thead>
  989. <tbody>
  990. <tr>
  991. <td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
  992. <td></td>
  993. </tr>
  994. </tbody>
  995. </table>
  996. <a id="Terminal_Gui_GraphView_ScreenToGraphSpace_" data-uid="Terminal.Gui.GraphView.ScreenToGraphSpace*"></a>
  997. <h4 id="Terminal_Gui_GraphView_ScreenToGraphSpace_Terminal_Gui_Rect_" data-uid="Terminal.Gui.GraphView.ScreenToGraphSpace(Terminal.Gui.Rect)">ScreenToGraphSpace(Rect)</h4>
  998. <div class="markdown level1 summary">
  999. Returns the section of the graph that is represented by the screen area
  1000. </div>
  1001. <div class="markdown level1 conceptual"></div>
  1002. <h5 class="decalaration">Declaration</h5>
  1003. <div class="codewrapper">
  1004. <pre><code class="lang-csharp hljs">public RectangleF ScreenToGraphSpace(Rect screenArea)</code></pre>
  1005. </div>
  1006. <h5 class="parameters">Parameters</h5>
  1007. <table class="table table-bordered table-striped table-condensed">
  1008. <thead>
  1009. <tr>
  1010. <th>Type</th>
  1011. <th>Name</th>
  1012. <th>Description</th>
  1013. </tr>
  1014. </thead>
  1015. <tbody>
  1016. <tr>
  1017. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  1018. <td><span class="parametername">screenArea</span></td>
  1019. <td></td>
  1020. </tr>
  1021. </tbody>
  1022. </table>
  1023. <h5 class="returns">Returns</h5>
  1024. <table class="table table-bordered table-striped table-condensed">
  1025. <thead>
  1026. <tr>
  1027. <th>Type</th>
  1028. <th>Description</th>
  1029. </tr>
  1030. </thead>
  1031. <tbody>
  1032. <tr>
  1033. <td><a class="xref" href="Terminal.Gui.RectangleF.html">RectangleF</a></td>
  1034. <td></td>
  1035. </tr>
  1036. </tbody>
  1037. </table>
  1038. <a id="Terminal_Gui_GraphView_Scroll_" data-uid="Terminal.Gui.GraphView.Scroll*"></a>
  1039. <h4 id="Terminal_Gui_GraphView_Scroll_System_Single_System_Single_" data-uid="Terminal.Gui.GraphView.Scroll(System.Single,System.Single)">Scroll(Single, Single)</h4>
  1040. <div class="markdown level1 summary">
  1041. Scrolls the view by a given number of units in graph space.
  1042. See <a class="xref" href="Terminal.Gui.GraphView.html#Terminal_Gui_GraphView_CellSize">CellSize</a> to translate this into rows/cols
  1043. </div>
  1044. <div class="markdown level1 conceptual"></div>
  1045. <h5 class="decalaration">Declaration</h5>
  1046. <div class="codewrapper">
  1047. <pre><code class="lang-csharp hljs">public void Scroll(float offsetX, float offsetY)</code></pre>
  1048. </div>
  1049. <h5 class="parameters">Parameters</h5>
  1050. <table class="table table-bordered table-striped table-condensed">
  1051. <thead>
  1052. <tr>
  1053. <th>Type</th>
  1054. <th>Name</th>
  1055. <th>Description</th>
  1056. </tr>
  1057. </thead>
  1058. <tbody>
  1059. <tr>
  1060. <td><span class="xref">System.Single</span></td>
  1061. <td><span class="parametername">offsetX</span></td>
  1062. <td></td>
  1063. </tr>
  1064. <tr>
  1065. <td><span class="xref">System.Single</span></td>
  1066. <td><span class="parametername">offsetY</span></td>
  1067. <td></td>
  1068. </tr>
  1069. </tbody>
  1070. </table>
  1071. <a id="Terminal_Gui_GraphView_SetDriverColorToGraphColor_" data-uid="Terminal.Gui.GraphView.SetDriverColorToGraphColor*"></a>
  1072. <h4 id="Terminal_Gui_GraphView_SetDriverColorToGraphColor" data-uid="Terminal.Gui.GraphView.SetDriverColorToGraphColor">SetDriverColorToGraphColor()</h4>
  1073. <div class="markdown level1 summary">
  1074. 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>
  1075. (if defined) or <a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a> otherwise.
  1076. </div>
  1077. <div class="markdown level1 conceptual"></div>
  1078. <h5 class="decalaration">Declaration</h5>
  1079. <div class="codewrapper">
  1080. <pre><code class="lang-csharp hljs">public void SetDriverColorToGraphColor()</code></pre>
  1081. </div>
  1082. <h3 id="implements">Implements</h3>
  1083. <div>
  1084. <span class="xref">System.IDisposable</span>
  1085. </div>
  1086. <div>
  1087. <span class="xref">System.ComponentModel.ISupportInitializeNotification</span>
  1088. </div>
  1089. <div>
  1090. <span class="xref">System.ComponentModel.ISupportInitialize</span>
  1091. </div>
  1092. </article>
  1093. </div>
  1094. <div class="hidden-sm col-md-2" role="complementary">
  1095. <div class="sideaffix">
  1096. <div class="contribution">
  1097. <ul class="nav">
  1098. </ul>
  1099. </div>
  1100. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  1101. <h5>In This Article</h5>
  1102. <div></div>
  1103. </nav>
  1104. </div>
  1105. </div>
  1106. </div>
  1107. </div>
  1108. <footer>
  1109. <div class="grad-bottom"></div>
  1110. <div class="footer">
  1111. <div class="container">
  1112. <span class="pull-right">
  1113. <a href="#top">Back to top</a>
  1114. </span>
  1115. <span>Generated by <strong>DocFX</strong></span>
  1116. </div>
  1117. </div>
  1118. </footer>
  1119. </div>
  1120. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  1121. <script type="text/javascript" src="../../styles/docfx.js"></script>
  1122. <script type="text/javascript" src="../../styles/main.js"></script>
  1123. </body>
  1124. </html>