I didn’t have my laptop at this time… I was thinking to work when you come online but unfortunately i m outside and ig you don’t mind plz try it on your side too… As i m outside… And if i wait to go home and use then you will be offline and i will have to wait one day again… Today i posted this issue in morning and no one even give it a touch so plzz
Yeah i only want to show the colured progress with a given value actually i m working on a blood donation app so i want to show numbrr of blood units given / total required
And i want to show it in this circular slider
Glad to help in this good cause.
The solution I’m going to try is to add one parameter to the circularslider procedure to specify which canvas you want to update. Then replace the specific blocks for canvas1 with the generic ones and use the canvas parameter there.
Sounds a little complicated but it’s easy. You’ll see.
Lucky for you I got a little carried away and did something cool with this.
This is a little demo I made:
This is how you call the procedure, I think the parameters are self explanatory:
When you call the procedure, it will draw the circular progress indicator in the specified canvas with the specified parameters. You just need to make sure the canvas is a perfect square (not rectangular).
This indicator does not allow for dragging, I guess I can add that but I don’t have the time right now. It is only for displaying values, not for selecting it.
And the demo aia. You don’t need all the blocks in the aia in your project. You only need the procedure in the above image, the rest are for demo only. I hope it is useful to you and anyone else who needs it.