Extjs Slider design

By Vidhya K [Slider## Design ##][1]

{
                    xtype: 'container',
                    layout: 'vbox',
                    pack: 'center',
                    margin: '50 0 0 40',
                    items: [{
                        xtype: 'container',
                        layout: 'hbox',
                        items: [{
                            xtype: 'slider',
                            width: 250,
                            name: 'mtu',
                            margin: '0 0 0 40',
                            labelSeparator: '',
                            labelAlign: 'top',
                            // maxValue: 1500,
                            //minValue: 536,
                            fieldLabel: getMessage("network.label.mtu"),
                            listeners: {
                                change: function(slider, newValue, thumb, eOpts) {
                                    var value = newValue.toString();
                                    slider.up('form').down('#mtuBytesSliderLabel').setText(value);
                                },
                                afterrender: function(slider) {
                                    slider.setMinValue(536);
                                    slider.setMaxValue(1500);
                                }
                            }
                        }, {
                            xtype: 'label',
                            margin: '35 0 0 10',
                            itemId: 'mtuBytesSliderLabel',
                            text: '',
                            style: 'font-size :20px; color :#e98a2f'
                        }]

If i slide the slider the right side should be in different color and left should be different.
The slider which i need is this..
![1]: https://i.stack.imgur.com/kt6zx.jpg

Source: Stack Overflow

    

Share it with your friends!

    Fatal error: Uncaught Exception: 12: REST API is deprecated for versions v2.1 and higher (12) thrown in /home/content/19/9652219/html/wp-content/plugins/seo-facebook-comments/facebook/base_facebook.php on line 1273