# wijmo.vue2.gauge Module

## Content

<div class="content__tsd">
						<div style="display:flex;justify-content:space-between;align-items:center">
							<h1>
								wijmo.vue2.gauge Module
							</h1>
						</div>
						<section class="tsd-comment">
							<div class="tsd-comment">
								<div class="lead">
									<p>Contains Vue 2 and 3 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_vue2_gauge.html#wjbulletgraph" class="tsd-kind-icon">Wj<wbr>Bullet<wbr>Graph</a></li>
											<li class="tsd-kind-variable tsd-parent-kind-external-module"><a href="wijmo_vue2_gauge.html#wjlineargauge" class="tsd-kind-icon">Wj<wbr>Linear<wbr>Gauge</a></li>
											<li class="tsd-kind-variable tsd-parent-kind-external-module"><a href="wijmo_vue2_gauge.html#wjradialgauge" class="tsd-kind-icon">Wj<wbr>Radial<wbr>Gauge</a></li>
											<li class="tsd-kind-variable tsd-parent-kind-external-module"><a href="wijmo_vue2_gauge.html#wjrange" class="tsd-kind-icon">Wj<wbr>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="wjbulletgraph" class="tsd-anchor"></a>
								<h3>WjBulletGraph</h3>
								<div class="tsd-signature tsd-kind-icon">Wj<wbr>Bullet<wbr>Graph<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Vue component for the <a href="../classes/wijmo_gauge.bulletgraph.html">wijmo.gauge.BulletGraph</a> control.</p>
									</div>
									<p>The <b>wj-bullet-graph</b> component may contain
									a <a href="wijmo_vue2_gauge.html#wjrange">wijmo.vue2.gauge.WjRange</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 markup.
									The signature of the handler function is the same as any other Wijmo event handlers.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-external-module">
								<a name="wjlineargauge" class="tsd-anchor"></a>
								<h3>WjLinearGauge</h3>
								<div class="tsd-signature tsd-kind-icon">Wj<wbr>Linear<wbr>Gauge<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Vue component for the <a href="../classes/wijmo_gauge.lineargauge.html">wijmo.gauge.LinearGauge</a> control.</p>
									</div>
									<p>The <b>wj-linear-gauge</b> component may contain
									a <a href="wijmo_vue2_gauge.html#wjrange">wijmo.vue2.gauge.WjRange</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 markup.
									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 using Vue markup:</p>
									<pre>&lt;wj-linear-gauge
    :min="0" :max="1000" :step="50" :is-read-only="false"
    format="c0" :thumb-size="20"
    :show-ranges="false"
    :value="sales"
    :value-changed="salesChanged"&gt;
    &lt;wj-range wj-property="face" :thickness="0.5"&gt;
    &lt;/wj-range&gt;
    &lt;wj-range wj-property="pointer" :thickness="0.5"&gt;
    &lt;/wj-range&gt;
    &lt;wj-range :min="0" :max="333" color="red"&gt;
    &lt;/wj-range&gt;
    &lt;wj-range :min="333" :max="666" color="gold"&gt;
    &lt;/wj-range&gt;
    &lt;wj-range :min="666" :max="1000" color="green"&gt;
    &lt;/wj-range&gt;
&lt;/wj-linear-gauge&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 binds the gauge's <b>value</b> property to a <b>sales</b> variable
									in the controller.</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="wjradialgauge" class="tsd-anchor"></a>
								<h3>WjRadialGauge</h3>
								<div class="tsd-signature tsd-kind-icon">Wj<wbr>Radial<wbr>Gauge<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Vue component for the <a href="../classes/wijmo_gauge.radialgauge.html">wijmo.gauge.RadialGauge</a> control.</p>
									</div>
									<p>The <b>wj-radial-gauge</b> component may contain
									a <a href="wijmo_vue2_gauge.html#wjrange">wijmo.vue2.gauge.WjRange</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 markup.
									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 using Vue markup:</p>
									<pre>&lt;wj-radial-gauge
    :min="0" :max="1000" :step="50" :is-read-only="false"
    format="c0" :thumb-size="12" :show-text="Value"
    :show-ranges="false"
    :value="sales"
    :value-changed="salesChanged"&gt;
    &lt;wj-range wj-property="face" :thickness="0.5"&gt;
    &lt;/wj-range&gt;
    &lt;wj-range wj-property="pointer" :thickness="0.5"&gt;
    &lt;/wj-range&gt;
    &lt;wj-range :min="0" :max="333" color="red"&gt;
    &lt;/wj-range&gt;
    &lt;wj-range :min="333" :max="666" color="gold"&gt;
    &lt;/wj-range&gt;
    &lt;wj-range :min="666" :max="1000" color="green"&gt;
    &lt;/wj-range&gt;
&lt;/wj-radial-gauge&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 binds the gauge's <b>value</b> property to a <b>sales</b> variable
									in the controller.</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="wjrange" class="tsd-anchor"></a>
								<h3>WjRange</h3>
								<div class="tsd-signature tsd-kind-icon">Wj<wbr>Range<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Vue component for the <a href="../classes/wijmo_gauge.range.html">wijmo.gauge.Range</a> class.</p>
									</div>
									<p>The <b>wj-range</b> component should be contained in
										one of the following components:
										<a href="wijmo_vue2_gauge.html#wjlineargauge">wijmo.vue2.gauge.WjLinearGauge</a>
										, <a href="wijmo_vue2_gauge.html#wjbulletgraph">wijmo.vue2.gauge.WjBulletGraph</a>
									or <a href="wijmo_vue2_gauge.html#wjradialgauge">wijmo.vue2.gauge.WjRadialGauge</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 markup.
									The signature of the handler function is the same as any other Wijmo event handlers.</p>
								</div>
							</section>
						</section>
					</div>