Currently, I am facing the problem of implementing a slider in SAPUI5 in the same way as the Threshold-Slider from Webdynpro, which looks like this.

How do you do this? It is very dynamic, the scale (there may be 5 values, there may be 3 values, etc.), the descriptions depend on the scale value ...
Currently, I find Slider in the API, but I doubt it can be implemented with it ... any ideas?
06/18/2015: I'm currently working on the sap.ui.commons.Slider extension, what I got right now is far from what I'm trying to achieve:
- When clicking on the slider, change the background color using the visualization tool (each value should have a different color
- A text box on the right side and a link on the left side (more important details, coloring is more important).
What i got ...
sap.ui.commons.Slider.extend("my.Slider", { renderer : { renderInnerAttributes : function(oRm, oControl) { console.log(oRm); // try to find out, what I re-style console.log(oControl); // try to find out, what I re-style oRm.addStyle('background-color', '#ffff00'); // no effect }, } }); var oSlider6 = new my.Slider({ id : 'Slider6', tooltip : 'Slider6', width : '500px', min : 1, max : 4, value : 0, totalUnits : 4, smallStepWidth : 1, stepLabels : true, labels : [ "Bad", "Medium", "Good", "Very Good" ] }); return oSlider6;
css slider sapui5
zyrex
source share