⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 barchart.html

📁 vxworks相关论文
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/tornado-api/guitcl-unix/barchart.html - generated by refgen from barchart.cc --> <title> barchart </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>Tornado API Reference :  GUI Tcl Library (UNIX)</i></a></p></blockquote><h1>barchart</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>barchart</strong> - bar charting object </p></blockquote><h4>TCL PROCEDURES</h4><blockquote><p><p><b><a href="./barchart.html#chartCreate">chartCreate</a></b>  -  create a new Tcl chart<br><b><a href="./barchart.html#chartSetQuantities">chartSetQuantities</a></b>  -  establish a set of quantities to display in a chart<br><b><a href="./barchart.html#chartPost">chartPost</a></b>  -  post a chart <br><b><a href="./barchart.html#chartTitleSet">chartTitleSet</a></b>  -  set the title of a chart window<br><b><a href="./barchart.html#chartDestroy">chartDestroy</a></b>  -  destroy a chart<br><b><a href="./barchart.html#chartUnpost">chartUnpost</a></b>  -  removed a chart from the display<br><b><a href="./barchart.html#chartSetValues">chartSetValues</a></b>  -  set the values of the quantities contained in a chart<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library contains all the bar chart Tcl functions for the UNIX GUI.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./barchart.html#top">barchart</a></b><hr><a name="chartCreate"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>chartCreate</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>chartCreate</strong> - create a new Tcl chart</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>chartCreate <i>name</i> [-destroy <i>proc</i>] [-scale] [-valuefmt <i>fmt</i>] [-size <i>w</i> <i>h</i>] [-eltsize <i>h</i>]</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>A new chart is created with the specified <i>name</i>.  The size of the chart window may be specified in pixels with the <b>-size</b> specification.  The vertical size allotted to each element in the chart may be specified by <b>-eltsize</b>.  To display values in the chart, it must first be configuredwith chartSetQuantities and chartSetValues, then posted to the screen with chartPost.<p>If <b>-scale</b> is given, the maximum and minimum values of the quantitiesof the chart is be drawn beneath the chart bars.  <p>If <b>-valuefmt</b> is given, <i>fmt</i> is used as a <b><i><a href="../../vxworks/ref/fioLib.html#printf" >printf</a></i>(&nbsp;)</b> style formatfor displaying the value of the quantity inside the bar itself.<p>If <b>-destroy</b> is given, <i>proc</i> is used as the name of a Tcl procedure that is invoked if the chart is destroyed by the user.  The procedure is invoked with one argument: the name of the chart.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./barchart.html#top">barchart</a></b>, chartSetQuantities, chartSetValues, chartPost, chartDestroy<hr><a name="chartSetQuantities"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>chartSetQuantities</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>chartSetQuantities</strong> - establish a set of quantities to display in a chart</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>chartSetQuantities <i>name</i> {{<i>qname</i> <i>qmin</i> <i>qmax</i>}...}</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>The named chart is directed to display the list of quantities given.  Eachitem in the quantity list is itself a three-element list containing the quantity name and its minimum and maximum value.  Any previous quantitiesthe chart contained are discarded.  The initial values of the quantities are each set to <i>qmin</i>.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./barchart.html#top">barchart</a></b>, chartSetValues, chartCreate, chartPost<hr><a name="chartPost"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>chartPost</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>chartPost</strong> - post a chart </p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>chartPost <i>name</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>The named chart is posted (made visible on the display).  It is not an error to attempt to post a nonexistent chart.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./barchart.html#top">barchart</a></b>, chartUnpost, chartCreate<hr><a name="chartTitleSet"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>chartTitleSet</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>chartTitleSet</strong> - set the title of a chart window</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>chartTitleSet <i>name</i> <i>title</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>The titlebar text of the named chart is set to <i>title</i>.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./barchart.html#top">barchart</a></b>, chartCreate, chartPost<hr><a name="chartDestroy"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>chartDestroy</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>chartDestroy</strong> - destroy a chart</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>chartDestroy <i>name</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>The named chart is destroyed, and removed from the screen if visible.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./barchart.html#top">barchart</a></b>, chartUnpost, chartCreate<hr><a name="chartUnpost"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>chartUnpost</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>chartUnpost</strong> - removed a chart from the display</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>chartUnpost <i>name</i></pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>The named chart is removed from the display.  It is not an error to attemptto unpost a nonexistent chart.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./barchart.html#top">barchart</a></b>, chartPost, chartCreate<hr><a name="chartSetValues"></a><p align=right><a href="rtnIndex.html"><i>GUI Tcl Library (UNIX) :  Tcl Procedures</i></a></p></blockquote><h1>chartSetValues</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>chartSetValues</strong> - set the values of the quantities contained in a chart</p><p></blockquote><h4>LOCALE</h4><blockquote><p>UNIX GUI<p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>chartSetValues <i>name</i> {{<i>value</i> [<i>min</i> <i>max</i> <i>mark1</i> <i>mark2</i>]}... }</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>Within the named chart, the quantities are assigned values from the supplied value list, in the order the quantities were assigned to the chart by chartSetQuantities.  Excess values are ignored and quantitiesthat are not assigned values by this command are undisturbed.  The chartis redrawn to reflect the new values immediately.  Each item in the valuelist is itself a list.  The first element is the new value of the bar;the remaining four entries (<i>min</i>, <i>max</i>, <i>mark1</i>, <i>mark2</i>) are optional.If specified, they provide new minimum and maximum scale values for thebar, and new values for the "marks" (the little triangles that go above(<i>mark1</i>) and below (<i>mark2</i>) the bar).<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./barchart.html#top">barchart</a></b>, chartSetQuantities, chartCreate</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -