I was wondering if it is possible to add labels to the Slider widget? I would like to add tick marks and labels and change the default font. I’ve included a picture of something similar to what I would like to do (thanks to Photoshop). If it is possible how would I do this in HTML, CSS or in python itself?
What might work although I’ve never tried it would be:
use a dropdown box as the input for your chart
use a custom template to render everything - esp. with the new components method that’s coming out in 0.9.1 that lets you arrange items however you want
in the custom template, use css to hide the dropdown and then use whatever slider you want and whatever js you want and make that js update the dropdown.
Sorry if this is not what you were hoping for.
I guess the short answer to your question is: in your own html & css, not in python.
Bird
···
On Mon, Jun 29, 2015 at 4:50 PM, Mark Warfel [email protected] wrote:
I was wondering if it is possible to add labels to the Slider widget? I would like to add tick marks and labels and change the default font. I’ve included a picture of something similar to what I would like to do (thanks to Photoshop). If it is possible how would I do this in HTML, CSS or in python itself?
Thank you for the help,
Mark
–
You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
What might work although I’ve never tried it would be:
use a dropdown box as the input for your chart
use a custom template to render everything - esp. with the new components method that’s coming out in 0.9.1 that lets you arrange items however you want
in the custom template, use css to hide the dropdown and then use whatever slider you want and whatever js you want and make that js update the dropdown.
Sorry if this is not what you were hoping for.
I guess the short answer to your question is: in your own html & css, not in python.
Bird
On Mon, Jun 29, 2015 at 4:50 PM, Mark Warfel [email protected] wrote:
I was wondering if it is possible to add labels to the Slider widget? I would like to add tick marks and labels and change the default font. I’ve included a picture of something similar to what I would like to do (thanks to Photoshop). If it is possible how would I do this in HTML, CSS or in python itself?
Thank you for the help,
Mark
–
You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].