Completed
Last Updated: 17 Nov 2014 06:24 by ADMIN
ADMIN
Created by: Stefan
Comments: 1
Category: RadialGauge, LinearGauge, BulletGraph
Type: Feature Request
11
This request concerns adding a new control called RadGauge to RadControls for WinForms. Similar controls for Silverlight can be observed at this link - http://demos.telerik.com/silverlight/#Gauge/Gallery/LinearScale

Completed
Last Updated: 12 Sep 2019 09:32 by ADMIN
Release R3 2019 (LIB 2019.2.819)

Please run the attached sample project and follow the steps illustrated in the attached gif file. The following exception occurs:

System.ArgumentException
  HResult=0x80070057
  Message=Rectangle '{X=0,Y=35,Width=156.3333,Height=0}' cannot have a width or height equal to 0.
  Source=System.Drawing
  StackTrace:
   at System.Drawing.Drawing2D.LinearGradientBrush..ctor(RectangleF rect, Color color1, Color color2, Single angle, Boolean isAngleScaleable)
   at System.Drawing.Drawing2D.LinearGradientBrush..ctor(RectangleF rect, Color color1, Color color2, Single angle)
   at Telerik.WinControls.UI.Gauges.LinearGaugeBrushFactory.CreateBrush(GaugeVisualElement owner, GaugeBrushType type)
   at Telerik.WinControls.UI.Gauges.LinearGaugeBar.Paint(Graphics graphics, Rectangle boundingRectangle)
   at Telerik.WinControls.UI.Gauges.LinearGaugeBar.PaintElement(IGraphics graphics, Single angle, SizeF scale)
   at Telerik.WinControls.RadElement.DoOwnPaint(IGraphics graphics, Single angle, SizeF scale)
   at Telerik.WinControls.RadElement.Paint(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadItem.PaintOverride(IGraphics screenRadGraphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintChild(RadElement child, IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.VisualElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.Paint(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadItem.PaintOverride(IGraphics screenRadGraphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintChild(RadElement child, IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.VisualElement.PaintChildren(IGraphics graphics, Rectangle clipRectange, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadElement.Paint(IGraphics graphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadItem.PaintOverride(IGraphics screenRadGraphics, Rectangle clipRectangle, Single angle, SizeF scale, Boolean useRelativeTransformation)
   at Telerik.WinControls.RadControl.OnPaint(PaintEventArgs e)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at Telerik.WinControls.RadControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

IMPORTANT: If both colors are changed at design time and you set the Value of RadLinearGauge to 0, this will provoke a similar error leading Visual Studio to crash.

Workaround: specify a minimum width/height for the gauge:

this.radLinearGauge1.MinimumSize = new Size(1, (int)this.linearGaugeBar1.Offset+1);

 

 

Completed
Last Updated: 21 Mar 2018 14:01 by ADMIN
To reproduce:
- Place a gauge on the form.
- Add panel over it.
- The gauge elements can be selected (see attached). 
Completed
Last Updated: 15 Aug 2017 10:20 by ADMIN
The attached video shows how this can be reproduced.

Workaround:
class MyLabel : RadialGaugeSingleLabel
{
    private RadRadialGaugeElement owner;
    protected override void OnParentChanged(RadElement previousParent)
    {
        base.OnParentChanged(previousParent);
        this.owner = (RadRadialGaugeElement) this.Parent;
    }
    public override GraphicsPath Path
    {
        get
        {
            GraphicsPath path = new GraphicsPath();
            float fontSizePercentage = this.Font.Size;
            var gaugeSize = (RectangleF)this.owner.GetType().GetProperty("GaugeSize", BindingFlags.Instance | BindingFlags.NonPublic).GetValue(this.owner, null)  ;

            if (this.AutoSize)
            {
                fontSizePercentage = (gaugeSize.Width) * (this.LabelFontSize / 100f);
                if (fontSizePercentage <0)
                {
                    return path;

                }
            }
            return base.Path;
        }
    }
}
Completed
Last Updated: 05 Aug 2016 09:29 by ADMIN
How to reproduce:
Open the attached project, change the name of the RadLinearGauge located on the first page. Save and Run the project. The gauges on the other pages will change their orientation to horizontal

Workaround:
Prior to rebuilding or running the application select in the VS designer each of the pages of RadPageView
Completed
Last Updated: 02 Jun 2016 14:10 by ADMIN
To reproduce:
- Add RadLienarGauge to a scrollable panel.
- Start the application and scroll.
- You will notice that some elements are not painted correctly.

Workaround:
- Override the IsInVisibleClipBounds in each used element:

public class MyTicks : Telerik.WinControls.UI.Gauges.LinearGaugeTicks
{
    protected override bool IsInVisibleClipBounds(Rectangle clipRectangle)
    {
        return true;
    }
}
Completed
Last Updated: 01 Nov 2023 11:25 by ADMIN
Release R3 2023 (LIB 2023.3.1101)
Created by: Jackson
Comments: 1
Category: RadialGauge, LinearGauge, BulletGraph
Type: Bug Report
0
LinearGaugeNeedleIndicator.cs >> LineLenght property, LenghtPercentage property
Completed
Last Updated: 21 Jun 2018 14:10 by ADMIN
To reproduce:
- Make sure there are atlest tow design asemblies in your GAC
- Create a new version and drop a gauge on the form.
- Visual Studio needs to be restarted.

Completed
Last Updated: 05 Jan 2018 07:12 by ADMIN
ADMIN
Created by: Dimitar
Comments: 0
Category: RadialGauge, LinearGauge, BulletGraph
Type: Bug Report
0
The attched video shows how you can reproduce this. 
Completed
Last Updated: 14 Jun 2016 05:27 by ADMIN
Workaround: create a custom LinearGaugeLabels. Check the attached project for implementation.
Completed
Last Updated: 30 Jan 2015 12:04 by ADMIN
The designer is retrieving the assemblies names using the FullName property and when the name cointas some charters an exception is thrown.
This is why the gallery is not loaded in the designer.