# Questions regarding objects drawn with the Rectangle Tool

**URL:** <https://forum.inductiveautomation.com/t/questions-regarding-objects-drawn-with-the-rectangle-tool/6679>\
**Category:** Ignition\
**Created:** [June 10, 2013, 4:57pm UTC](https://forum.inductiveautomation.com/t/questions-regarding-objects-drawn-with-the-rectangle-tool/6679 "2013-06-10T16:57:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeffkrol](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jeffkrol/32/3339_2.png) [@jeffkrol](https://forum.inductiveautomation.com/u/jeffkrol)\
**Post date:** [June 10, 2013, 4:57pm UTC](https://forum.inductiveautomation.com/t/questions-regarding-objects-drawn-with-the-rectangle-tool/6679/1 "2013-06-10T16:57:51Z")

</div>

Hello,

I have two questions regarding objects drawn with the Rectangle Tool:

[ul]Can the stroke style be changed dynamically? I see that you can link it to a tag, but I’m insure of the format of such a tag

Can you assign styles to the rectangle object? I’m creating a template and when I click on the Styles “Dataset Viewer” a warning popup appears that says, “There is no data”.[/ul]

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![CPowell](https://avatars.discourse-cdn.com/v4/letter/c/a183cd/32.png) [@CPowell](https://forum.inductiveautomation.com/u/CPowell)\
**Post date:** [June 11, 2013, 4:14am UTC](https://forum.inductiveautomation.com/t/questions-regarding-objects-drawn-with-the-rectangle-tool/6679/2 "2013-06-11T04:14:51Z")

</div>

1. I don’t know how to do it.
2. First create a custom property to “drive” the style. Otherwise, you will have to use Angle, Height, Width, X, Y, or Data Quality. Unless you want that.  
Right click on the rectangle -\> Customizers -\> Style Customer (or Ctrl-2)  
Now select the Driving Property, then the properties you wish to change.  
Now you should not get the No Data Error any more.

Cheers,  
Chris

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [July 11, 2013, 11:54pm UTC](https://forum.inductiveautomation.com/t/questions-regarding-objects-drawn-with-the-rectangle-tool/6679/3 "2013-07-11T23:54:55Z")

</div>

The intent of binding the stroke of a rectangle would be to bind it to the stroke of other objects. That is all.
