We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How change label values

Hi!

I want know how change default label values of LinearGauge. 0 and 100 they´re default values, if i put minumum and maximum:
        outerScale = new LinearScale();
        outerScale.setMinimum(-90);
        outerScale.setMaximum(90);
it´s mapped in scale as -90 and 90, but labels not change and they´re 0 and 100 or other values as 0 and 180. It´s never start in other value different of 0.
¿How can I put a LinearGauge with scale -90 to 90?

Thanks!


4 Replies

VV Vignesh V Syncfusion Team March 7, 2016 12:09 PM UTC

Hi Jose,

We would like to inform that the issue “Unable to set label value apart from 0” has been already fixed in our 2015 Volume 4 Service pack 1 release and we were unable to reproduce in latest versions. Hence we request you to download latest version from the following link.

http://syncfusion.com/forums/122061/essential-studio-2015-volume-4-service-pack-release-v13-4-0-58-available-for-download

Regards,
Vignesh V


DE dencypriya October 1, 2016 06:53 AM UTC

Hiii jose...
i wanna share some coding about this thread..
Thread thr = new Thread(mTask);
    thr.start();
}

Runnable mTask = new Runnable() {
    public void run() {
        // just sleep for 30 seconds.
                    try {
                        Thread.sleep(3000);
                        runOnUiThread(done);
                    } catch (InterruptedException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                    }
        }
    };

    Runnable done = new Runnable() {
        public void run() {
                   // t.setText("done");
            }
        };

Android Training | openstack Training |vmware Training


CP Chozarajan Pandiyarajan Syncfusion Team October 3, 2016 11:50 AM UTC

Hi Jose/Dency Priya,

The below issue has been fixed in our 2015 Volume 4 SP 1 as mentioned earlier.

Regards,
Chozarajan P


SD Steve Diaz December 7, 2023 05:53 AM UTC

To customize label values in a LinearGauge with a scale from -90 to 90, set the tick marks and labels explicitly using library-specific methods. Check the documentation for details.


Loader.
Live Chat Icon For mobile
Up arrow icon