This is a migrated thread and some comments may be shown as answers.

LinearGauge UI glitch when trying to scroll.

3 Answers 88 Views
Gauges (RadialGauge, LinearGauge, BulletGraph)
This is a migrated thread and some comments may be shown as answers.
Raviesh
Top achievements
Rank 1
Raviesh asked on 30 May 2016, 12:56 PM

Hello

I have created a LinearGauge that is in scrollable windows form, on scrolling the UI of Gauge distorts in random manner. I have attached the screenshot alongwith to understand what exactly is happening to the gauge on scrolling. Please help me at the earliest regarding the issue.

Thanks in advance.

Raviesh

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 31 May 2016, 06:36 AM
Hi ,

Thank you for writing.

I was able to reproduce the issue by adding the gauge to a RadScrollablePanel. I have logged it in our Feedback Portal. You can track the item for status changes and add your vote for it here.

To workaround this, you need to create custom elements and override the IsInVisibleClipBounds method. For example:
public class MyTicks : Telerik.WinControls.UI.Gauges.LinearGaugeTicks
{
    protected override bool IsInVisibleClipBounds(Rectangle clipRectangle)
    {
        return true;
    }
}

Your Telerik Points have been updated for this report.

Should you have any other questions do not hesitate to ask.
 
Regards,
Dimitar
Telerik
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
0
Raviesh
Top achievements
Rank 1
answered on 31 May 2016, 07:59 AM

Hi Dimitar

I am not sure how and where exactly will I override this property, can you please tell me with some example.

Thanks

Raviesh

 

0
Raviesh
Top achievements
Rank 1
answered on 31 May 2016, 09:57 AM

Hello Dimitar

It worked fine.I am marking the solution as answer.

Thanks

Raviesh

 

Tags
Gauges (RadialGauge, LinearGauge, BulletGraph)
Asked by
Raviesh
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Raviesh
Top achievements
Rank 1
Share this question
or