Exploring, modeling, predicting and reporting with SAS Visual Analytics and SAS Visual Statistics

Range Slider

Accepted Solution Solved
Reply
Contributor
Posts: 24
Accepted Solution

Range Slider

Slider1.PNGIs there any way to get the text "Age in Days" displayed along the slider.I mean Vertically/parallel to the slider.I hope I am clear enough. 


Accepted Solutions
Solution
‎01-17-2016 11:25 PM
Super User
Posts: 1,208

Re: Range Slider

Sorry I misunderstood your original question. I thought you wanted the text box to be on the side rather than the actual text values to be parallel. Unfortunately there isn't an option to do what you want for a range slider.

 

To remove the decimals, ensure the Age in Days format has no decimals. Select Age in Days from the data pane and in the data pane properties window (lower left corner) there is format. Click the format type and specify 0 for decimals.

 

Kind Regards,

Michelle

View solution in original post


All Replies
Super User
Posts: 1,208

Re: Range Slider

Unfortunately there isn't an option to change the position for the label.

 

If you are using a precision layout for the section instead of the default tiled layout then you can have a text object positioned where ever you want (even on top of another object). If you are not sure how to change the layout, go to the properties tab in the right pane and select the section from the dropdown list so you are looking at the properties for the section. Here you can change it from Tiled to Precision.

 

Kind Regards,

Michelle

 

Contributor
Posts: 24

Re: Range Slider

Hi Michelle ,

 

Thanks a lot for your quick reply. Well I tried it but the text object remain 'HORIZONTAL' and the text in it is displayed as it was displayed earlier (as shown in my attachment).Well no worries i will keep it horizontal.

There's another query..

The column in my dataset has only whole number values but the slider show decimal as well.I thik there is no sense in showing a variable such as 'age in days' in decimal value.How could I restict the values to be shown only as whole numbers on range slider.

 

Regards

 

Attachment
Solution
‎01-17-2016 11:25 PM
Super User
Posts: 1,208

Re: Range Slider

Sorry I misunderstood your original question. I thought you wanted the text box to be on the side rather than the actual text values to be parallel. Unfortunately there isn't an option to do what you want for a range slider.

 

To remove the decimals, ensure the Age in Days format has no decimals. Select Age in Days from the data pane and in the data pane properties window (lower left corner) there is format. Click the format type and specify 0 for decimals.

 

Kind Regards,

Michelle

Contributor
Posts: 24

Re: Range Slider

Hi Michelle ,

Thanks for showing me where to look for and change the things..Just to add ...The format for age in days was Numeric with decimals=0 but even then decimal values were appearing in  the slider.It tried format=float and it is working fine.

 

Regards

Pratik Singh

Super User
Posts: 1,208

Re: Range Slider

Great to hear it is working as you expect now and thanks for reporting back.

 

Kind Regards,

Michelle

Community Manager
Posts: 422

Re: Range Slider

Hi pratikjageera,

 

I'm glad everything is working for you now! Feel free to "accept as solution" the solution that worked or "like" a helpful response. This helps out other community members if they run into the same issue.

 

Best,

Anna


Contributor
Posts: 24

Re: Range Slider

Hi Anna ,

 

Will do for sure Smiley Happy

 

Regards

Pratik

Post a Question
Discussion Stats
  • 7 replies
  • 484 views
  • 2 likes
  • 3 in conversation