# Wijmo_React_Gauge

## Content

<div class="content__tsd">
						<div style="display:flex;justify-content:space-between;align-items:center">
							<h1>
								wijmo.react.gauge Module
							</h1>
						</div>
						<section class="tsd-comment">
							<div class="tsd-comment">
								<div class="lead">
									<p>Contains React components for the <b>wijmo.gauge</b> module.</p>
								</div>
							</div>
						</section>
						<section class="tsd-index-group">
							<section class="tsd-index-panel">
								<div class="tsd-index-content">
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Variables
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-variable tsd-parent-kind-external-module"><a href="wijmo_react_gauge.html#bulletgraph" class="tsd-kind-icon">Bullet<wbr>Graph</a></li>
											<li class="tsd-kind-variable tsd-parent-kind-external-module"><a href="wijmo_react_gauge.html#lineargauge" class="tsd-kind-icon">Linear<wbr>Gauge</a></li>
											<li class="tsd-kind-variable tsd-parent-kind-external-module"><a href="wijmo_react_gauge.html#radialgauge" class="tsd-kind-icon">Radial<wbr>Gauge</a></li>
											<li class="tsd-kind-variable tsd-parent-kind-external-module"><a href="wijmo_react_gauge.html#range" class="tsd-kind-icon">Range</a></li>
										</ul>
									</section>
								</div>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Variables</h2>
							<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module">
								<a name="bulletgraph" class="tsd-anchor"></a>
								<h3><span class="tsd-flag ts-flagConst">Const</span> BulletGraph</h3>
								<div class="tsd-signature tsd-kind-icon">Bullet<wbr>Graph<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">WjForwardRefExoticComponent</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">BulletGraphProps</span><span class="tsd-signature-symbol">&gt;</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>React component for the <a href="../classes/wijmo_gauge.bulletgraph.html">wijmo.gauge.BulletGraph</a> control.</p>
									</div>
									<p>The <b>bullet-graph</b> component may contain
									a <a href="wijmo_react_gauge.html#range">wijmo.react.gauge.Range</a> child component.</p>
									<p>The component supports all properties and events of the pure JavaScript <a href="../classes/wijmo_gauge.bulletgraph.html">wijmo.gauge.BulletGraph</a> control it represents.</p>
									<p>The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
										You can use this event to perform further initialization in addition to setting properties in JSX.
									The signature of the handler function is the same as any other Wijmo event handlers.</p>
									<p>The example below shows how to instantiate and initialize a
									<a href="../classes/wijmo_gauge.bulletgraph.html">wijmo.gauge.BulletGraph</a> control in JSX:</p>
									<pre>&lt;Wj.BulletGraph
  min={ 0 } max={ 1000 } step={ 50 } isReadOnly={ false }
  value={ this.state.view.currentItem.sales }
  valueChanged={ this.salesChanged }
  format="c0" thumbSize={ 20 } showRanges={ false }
  face={​{ thickness:0.5 }}
  pointer={​{ thickness:0.5 }}
  ranges={[
      { min: 0, max: 333, color: 'red' },
      { min: 333, max: 666, color: 'gold' },
      { min: 666, max: 1000, color: 'green' }
  ]} /&gt;</pre>
									<p>The code <b>min</b>, <b>max</b>, <b>step</b>, and <b>isReadOnly</b> properties
										to define the range of the gauge and to allow users to edit its value.
										Next, it sets the <b>value</b> and <b>valueChanged</b> properties to create
									a two-way binding for the gauge's value.</p>
									<p>Then it sets the <b>format</b>, <b>thumbSize</b>, and <b>showRanges</b>
										properties to define the appearance of the gauge. Finally, the markup sets
										the thickness of the <b>face</b> and <b>pointer</b> ranges, and extra ranges
										that will control the color of the <b>value</b> range depending on the gauge's
									current value.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module">
								<a name="lineargauge" class="tsd-anchor"></a>
								<h3><span class="tsd-flag ts-flagConst">Const</span> LinearGauge</h3>
								<div class="tsd-signature tsd-kind-icon">Linear<wbr>Gauge<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">WjForwardRefExoticComponent</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">LinearGaugeProps</span><span class="tsd-signature-symbol">&gt;</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>React component for the <a href="../classes/wijmo_gauge.lineargauge.html">wijmo.gauge.LinearGauge</a> control.</p>
									</div>
									<p>The <b>linear-gauge</b> component may contain
									a <a href="wijmo_react_gauge.html#range">wijmo.react.gauge.Range</a> child component.</p>
									<p>The component supports all properties and events of the pure JavaScript <a href="../classes/wijmo_gauge.lineargauge.html">wijmo.gauge.LinearGauge</a> control it represents.</p>
									<p>The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
										You can use this event to perform further initialization in addition to setting properties in JSX.
									The signature of the handler function is the same as any other Wijmo event handlers.</p>
									<p>The example below shows how to instantiate and initialize a
									<a href="../classes/wijmo_gauge.lineargauge.html">wijmo.gauge.LinearGauge</a> control in JSX:</p>
									<pre>&lt;Wj.LinearGauge
  min={ 0 } max={ 1000 } step={ 50 } isReadOnly={ false }
  value={ this.state.view.currentItem.sales }
  valueChanged={ this.salesChanged }
  format="c0" thumbSize={ 20 } showRanges={ false }
  face={​{ thickness:0.5 }}
  pointer={​{ thickness:0.5 }}
  ranges={[
      { min: 0, max: 333, color: 'red' },
      { min: 333, max: 666, color: 'gold' },
      { min: 666, max: 1000, color: 'green' }
  ]} /&gt;</pre>
									<p>The code <b>min</b>, <b>max</b>, <b>step</b>, and <b>isReadOnly</b> properties
										to define the range of the gauge and to allow users to edit its value.
										Next, it sets the <b>value</b> and <b>valueChanged</b> properties to create
									a two-way binding for the gauge's value.</p>
									<p>Then it sets the <b>format</b>, <b>thumbSize</b>, and <b>showRanges</b>
										properties to define the appearance of the gauge. Finally, the markup sets
										the thickness of the <b>face</b> and <b>pointer</b> ranges, and extra ranges
										that will control the color of the <b>value</b> range depending on the gauge's
									current value.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module">
								<a name="radialgauge" class="tsd-anchor"></a>
								<h3><span class="tsd-flag ts-flagConst">Const</span> RadialGauge</h3>
								<div class="tsd-signature tsd-kind-icon">Radial<wbr>Gauge<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">WjForwardRefExoticComponent</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">RadialGaugeProps</span><span class="tsd-signature-symbol">&gt;</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>React component for the <a href="../classes/wijmo_gauge.radialgauge.html">wijmo.gauge.RadialGauge</a> control.</p>
									</div>
									<p>The <b>radial-gauge</b> component may contain
									a <a href="wijmo_react_gauge.html#range">wijmo.react.gauge.Range</a> child component.</p>
									<p>The component supports all properties and events of the pure JavaScript <a href="../classes/wijmo_gauge.radialgauge.html">wijmo.gauge.RadialGauge</a> control it represents.</p>
									<p>The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
										You can use this event to perform further initialization in addition to setting properties in JSX.
									The signature of the handler function is the same as any other Wijmo event handlers.</p>
									<p>The example below shows how to instantiate and initialize a
									<a href="../classes/wijmo_gauge.radialgauge.html">wijmo.gauge.RadialGauge</a> control in JSX:</p>
									<pre>&lt;Wj.RadialGauge
  min={ 0 } max={ 1000 } step={ 50 } isReadOnly={ false }
  value={ this.state.view.currentItem.sales }
  valueChanged={ this.salesChanged }
  format="c0" thumbSize={ 20 } showRanges={ false }
  face={​{ thickness:0.5 }}
  pointer={​{ thickness:0.5 }}
  ranges={[
      { min: 0, max: 333, color: 'red' },
      { min: 333, max: 666, color: 'gold' },
      { min: 666, max: 1000, color: 'green' }
  ]} /&gt;</pre>
									<p>The code <b>min</b>, <b>max</b>, <b>step</b>, and <b>isReadOnly</b> properties
										to define the range of the gauge and to allow users to edit its value.
										Next, it sets the <b>value</b> and <b>valueChanged</b> properties to create
									a two-way binding for the gauge's value.</p>
									<p>Then it sets the <b>format</b>, <b>thumbSize</b>, and <b>showRanges</b>
										properties to define the appearance of the gauge. Finally, the markup sets
										the thickness of the <b>face</b> and <b>pointer</b> ranges, and extra ranges
										that will control the color of the <b>value</b> range depending on the gauge's
									current value.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module">
								<a name="range" class="tsd-anchor"></a>
								<h3><span class="tsd-flag ts-flagConst">Const</span> Range</h3>
								<div class="tsd-signature tsd-kind-icon">Range<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">WjForwardRefExoticComponent</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">RangeProps</span><span class="tsd-signature-symbol">&gt;</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>React component for the <a href="../classes/wijmo_gauge.range.html">wijmo.gauge.Range</a> class.</p>
									</div>
									<p>The <b>range</b> component should be contained in
										one of the following components:
										<a href="wijmo_react_gauge.html#lineargauge">wijmo.react.gauge.LinearGauge</a>
										, <a href="wijmo_react_gauge.html#bulletgraph">wijmo.react.gauge.BulletGraph</a>
									or <a href="wijmo_react_gauge.html#radialgauge">wijmo.react.gauge.RadialGauge</a>.</p>
									<p>The component supports all properties and events of the pure JavaScript <a href="../classes/wijmo_gauge.range.html">wijmo.gauge.Range</a> class it represents.</p>
									<p>The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
										You can use this event to perform further initialization in addition to setting properties in JSX.
									The signature of the handler function is the same as any other Wijmo event handlers.</p>
								</div>
							</section>
						</section>
					</div>