Radial Gauge, Pointer visibility

4 posts, 0 answers
  1. Hubert
    Hubert avatar
    14 posts
    Member since:
    Jul 2014

    Posted 10 Dec 2014 Link to this post

    Is it possible that since Q3 2014 

    $gauge->pointer(array('visible' => false))

    doesn't work anymore ?
  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2153 posts

    Posted 10 Dec 2014 Link to this post

    Hello Hubert,


    In Q3 2014 release, the Radial and Linear Gauges were completely rewritten using the new Kendo UI Drawing API. In the widget configuration there is no pointer.visible property to control the visibility of the pointers. As a workaround I would suggest to clear the pointer elements group, after the widget is initialized.
    E.g.
    $(function(){
       var rg = $("#gauge").data("kendoRadialGauge");
       rg.pointers[0].elements.clear();
    });

    Regards,
    Dimiter Madjarov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Hubert
    Hubert avatar
    14 posts
    Member since:
    Jul 2014

    Posted 11 Dec 2014 in reply to Dimiter Madjarov Link to this post

    I found this solution:

    $gauge->pointer(array(color' => 'transparent'));
  5. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2153 posts

    Posted 11 Dec 2014 Link to this post

    Hello Hubert,


    Thanks for the update. This is a possible solution too - specifying 'none' or 'transparent' color. 

    Regards,
    Dimiter Madjarov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready