# Rotating graphic is changing sizes at random

**URL:** <https://forum.inductiveautomation.com/t/rotating-graphic-is-changing-sizes-at-random/71822>\
**Category:** Ignition\
**Tags:** vision, ignition81\
**Created:** [March 30, 2023, 12:33pm UTC](https://forum.inductiveautomation.com/t/rotating-graphic-is-changing-sizes-at-random/71822 "2023-03-30T12:33:52Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [May 4, 2023, 1:22pm UTC](https://forum.inductiveautomation.com/t/rotating-graphic-is-changing-sizes-at-random/71822/21 "2023-05-04T13:22:56Z")

</div>

Honestly, if I were going to do this, I would use a paintable canvas and draw the entire thing.

Here is an example from sometime ago that does something similar (although I don't think you need to deal with the mouse), perhaps it can provide some insight.

> [@Circular Slider in canvas](https://forum.inductiveautomation.com/t/circular-slider-in-canvas/26254/2):
>
> Had to brush up on my Vector Algebra to get it, but the below code will accomplish what I believe you are wanting. I was unable to use your project file as I believe you have a newer version than I do. Hopefully the following will help get you where your trying to go. I added the following custom properties to the Paintable Canvas object: value - stores the current unscaled angle of the slider button length - a value from 20 to 359 degrees ( I force the limits in the propertyChange event, an…

Maybe, I will throw something together later today if I get a chance.

---

_[View the full topic](https://forum.inductiveautomation.com/t/rotating-graphic-is-changing-sizes-at-random/71822)._
