# Various Components' Display

**URL:** <https://forum.inductiveautomation.com/t/various-components-display/11082>\
**Category:** General Discussion\
**Created:** [January 21, 2016, 3:43am UTC](https://forum.inductiveautomation.com/t/various-components-display/11082 "2016-01-21T03:43:33Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ian](https://avatars.discourse-cdn.com/v4/letter/i/bb73d2/32.png) [@ian](https://forum.inductiveautomation.com/u/ian)\
**Post date:** [January 21, 2016, 3:43am UTC](https://forum.inductiveautomation.com/t/various-components-display/11082/1 "2016-01-21T03:43:33Z")

</div>

I would like to as a couple of things regarding the Components’ Display in Ignition:

1. Linear Scale

I have a Linear Scale like this (link (just in case: [postimg.org/image/w4ylleg3l/](http://postimg.org/image/w4ylleg3l/)).

In the linear scale, there is an indicator for “high” and “low” but how do we add a current value in the form of needle like indicator like the “high” and the “low” in the Linear Scale?

1. Meter

In the Meter, there are Tick Labels. Say, if we have Meter range from 0-100 and tick size of 20, then we will see 6 tick needles + labels correspond to the value of 0, 20, 40, 60, 80, and 100 respectively. My question is about the tick needles. How to change its size to make it shorter (its end is closer to the circumference of the meter circle)?

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [January 21, 2016, 8:31pm UTC](https://forum.inductiveautomation.com/t/various-components-display/11082/2 "2016-01-21T20:31:46Z")

</div>

1. You can use [Cell Update Binding](https://docs.inductiveautomation.com/display/DOC/Cell+Update+Binding) to make the indicators dynamic.

More to follow… 😉

EDIT: Here is an custom pallete with an example in it.

---

<div class="post-metadata">

**Author:** ![ian](https://avatars.discourse-cdn.com/v4/letter/i/bb73d2/32.png) [@ian](https://forum.inductiveautomation.com/u/ian)\
**Post date:** [January 22, 2016, 2:42am UTC](https://forum.inductiveautomation.com/t/various-components-display/11082/3 "2016-01-22T02:42:55Z")

</div>

Hi Jordan,

Many thanks! 😃 will check on the method you suggested. How about the Meter? Do you have any idea about it?

---

<div class="post-metadata">

**Author:** ![ian](https://avatars.discourse-cdn.com/v4/letter/i/bb73d2/32.png) [@ian](https://forum.inductiveautomation.com/u/ian)\
**Post date:** [January 26, 2016, 6:26am UTC](https://forum.inductiveautomation.com/t/various-components-display/11082/4 "2016-01-26T06:26:32Z")

</div>

Hi Jordan,

I downloaded the project and tried to run it. The name is “test1” and it contains nothing(?) in it. Did I download the right file?

---

<div class="post-metadata">

**Author:** ![ian](https://avatars.discourse-cdn.com/v4/letter/i/bb73d2/32.png) [@ian](https://forum.inductiveautomation.com/u/ian)\
**Post date:** [January 26, 2016, 8:10am UTC](https://forum.inductiveautomation.com/t/various-components-display/11082/5 "2016-01-26T08:10:52Z")

</div>

Hi Jordan,

In the end I follow your suggestion and making Cell Update Binding. At this moment, however, my Cell Update Binding does not have dynamic binding. But it is always bound to the Parent Windows' Custom Property which I named as pf.

```auto
[It looks like this: {Root Container.pf}]
```

And then, in this pf I bind it with indirect tag

```auto
A/B{1}/SomeElement1
```

where:

`A is my tag folder
B is my tag name
{1} refers to [b]Root Container.index[/b]
index is another Customer Property of my Parent Window
SomeElement1 is an element in the tag
`

To make it dynamic.

But this way I do it in two steps:

> [@](#):
>
> Linear Scale Cell -\> refer to pf -\> refer to tag indirectly

For some other Components' Value (such as Label or TextBox Component), I could directly refer it in one step with Indirect Tag to the `A/B{1}/SomeOtherElement:

> [@](#):
>
> Other Element -\> refer to tag indirectly

Is this design expected for Dynamic Cell Update Binding where the data is a DataTable? Or actually I miss a more decent way to do it in one step like what I did in other Components?

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [January 26, 2016, 12:07pm UTC](https://forum.inductiveautomation.com/t/various-components-display/11082/6 "2016-01-26T12:07:59Z")

</div>

[quote=“ian”]Hi Jordan,

I downloaded the project and tried to run it. The name is “test1” and it contains nothing(?) in it. Did I download the right file?[/quote]

import it into an existing project. This is a custom palette called ‘JC Dynamic Scale’, and should show up as an additional component set. (click on ‘Scale w/ dyn indicator’) 🙂

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [January 26, 2016, 12:12pm UTC](https://forum.inductiveautomation.com/t/various-components-display/11082/7 "2016-01-26T12:12:39Z")

</div>

[quote="ian"]Hi Jordan,

In the end I follow your suggestion and making Cell Update Binding. At this moment, however, my Cell Update Binding does not have dynamic binding. But it is always bound to the Parent Windows' Custom Property which I named as pf.

```auto
[It looks like this: {Root Container.pf}]
```

And then, in this pf I bind it with indirect tag

```auto
A/B{1}/SomeElement1
```

where:

`A is my tag folder
B is my tag name
{1} refers to [b]Root Container.index[/b]
index is another Customer Property of my Parent Window
SomeElement1 is an element in the tag
`

To make it dynamic.

But this way I do it in two steps:

> [@](#):
>
> Linear Scale Cell -\> refer to pf -\> refer to tag indirectly

For some other Components' Value (such as Label or TextBox Component), I could directly refer it in one step with Indirect Tag to the `A/B{1}/SomeOtherElement:

> [@](#):
>
> Other Element -\> refer to tag indirectly

Is this design expected for Dynamic Cell Update Binding where the data is a DataTable? Or actually I miss a more decent way to do it in one step like what I did in other Components?[/quote]

Actually, there is nothing wrong with the way you did it. I often do things this way, so that I can make a standard component with custom properties, then for each instance of the component I can just bind to the Custom Properties and not have to individually set up datasets, styles, etc.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [January 26, 2016, 12:14pm UTC](https://forum.inductiveautomation.com/t/various-components-display/11082/8 "2016-01-26T12:14:55Z")

</div>

Also to let you know, I haven’t been able to dig into the meter too much to see if you can adjust the ticks. Or at least nothing has jumped out at me yet. 😒

---

<div class="post-metadata">

**Author:** ![ian](https://avatars.discourse-cdn.com/v4/letter/i/bb73d2/32.png) [@ian](https://forum.inductiveautomation.com/u/ian)\
**Post date:** [January 27, 2016, 3:35am UTC](https://forum.inductiveautomation.com/t/various-components-display/11082/9 "2016-01-27T03:35:59Z")

</div>

I imported the project to the current project and yes, I can see the dynamic scale now. 😃

About the ticks: ok, thanks for the answer. Perhaps I will just use whatever is available as of now. ![:thumb_right:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/2026e28c0c425034352c1b75807edf956adc75f4.gif ":thumb\_right:")
