-
-
Notifications
You must be signed in to change notification settings - Fork 508
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
How to use two values? #761
Comments
Hi, it is impossible to have 2 different set of values at the same time, but instead you could use "custom marks" technique to show additional line of values at the bottom. Example: http://ionden.com/a/plugins/ion.rangeSlider/showcase.html#a_marks |
Hi, Somehow I managed to change your code and made it work like how I wanted. in ionRangeSlider I am passing one more option top_labels which is the array of the top labels in my case I want to show the price of the number of users. and I made changes in two places.
It is not a very clean way to do things, it's just a hack to make it work. ### Thanks for this awesome plugin. |
Great that you figured it out. 2.x branch will not receive any new features. I'm slowly working on 3.x and it will have plenty of them. |
I have one array with count of users and other array with cost of that user.
example:
var users = [20, 50, 100, 250, 500]
var cost = [5, 15, 30, 50, 90]
It means when someone selects 20 users the label at the top should show 5, when someone selects 100 the top small icon should show 50.
the horizontal x would the users and the top small icon place should show the cost, I have used prettify and passed it a function but somehow it is changing the horizontal values to the cost.
I can directly change the text inside the html using On change method. but i m looking for some cleaner way of doing this.
Urgent help is required.
The text was updated successfully, but these errors were encountered: