Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fill all States #1

Closed
tarek903 opened this issue Jan 15, 2017 · 4 comments
Closed

Fill all States #1

tarek903 opened this issue Jan 15, 2017 · 4 comments

Comments

@tarek903
Copy link

hi Amrata,

i was wondering is there a way to fill all states till the last one (currently fill all before current Index)

thanks in advance

@amratab
Copy link
Owner

amratab commented Jan 16, 2017

You can mark the last point as completedTillIndex to fill it.
progressBar.numberOfPoints = 5
progressBar.completedTillIndex = 4

@tarek903
Copy link
Author

@amratab still doesn't fill the last state

progressBarWithoutLastState.numberOfPoints = 4
progressBarWithoutLastState.completedTillIndex = 3

screen shot 2017-01-16 at 8 07 26 pm

@amratab
Copy link
Owner

amratab commented Jan 17, 2017

Can you briefly explain what is your exact requirement. Do you want all the circles to be filled and look same and not indicate the last state differently? If thats the case, give same values for progressRadius and radius and define lastStateOuterCircleLineWidth as 0.
progressBar.radius = 25
progressBar.progressRadius = 25
progressBar.lastStateOuterCircleLineWidth = 0

But if you do need to show the last state differently later, then I don't think there is a way to show them all filled in the beginning without showing last one separately.

@tarek903
Copy link
Author

ok i got it, thanks alot really grateful for your answering time ,hope you all the best

@amratab amratab closed this as completed Jan 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants