CircularGauge problems

Hi,

 

I have a couple of problems with the CircularGauge.

I am using Visual Studio 2015 Professional and Visual Basic for UWP.

 

1: I think the GaugeHeader is difficult to place correctly via GaugeHeaderPosition

 

2: The header is placed on top off the needle so that the header will cover the needle.

 

3: When I start the debugging several times after another the CircularGauge crashes (not Visual Studio). Close VS and restart the CircularGauge works again.

 

4: I have trouble to translate the following XAML to VB. I prefer to setup most of the CircularGauge in VB

 

5: In the error list of VS the following appears.


BC40000 'Public Overloads Property GaugeType As CircularGaugeTypes' is obsolete: 'GaugeType is obsolete as of version 16.1.0.0. Use Scale's StartAngle & EndAngle properties to rotate the scale.'.



Thank you in advance,


Henrik


                    <Gauges:CircularScale.RimStroke>

                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">

                            <GradientStop Color="#FF464646" Offset="0.243"/>

                            <GradientStop Color="White" Offset="1"/>

                        </LinearGradientBrush>

                    </Gauges:CircularScale.RimStroke>


Microsoft Visual Studio Professional 2015

Version 14.0.25431.01 Update 3


Microsoft .NET Framework


Version 4.7.02556


 


Installed Version: Professional


 


Visual Basic 2015   00322-40000-00000-AA587


Microsoft Visual Basic 2015


 


Visual C# 2015   00322-40000-00000-AA587


Microsoft Visual C# 2015


 


Visual C++ 2015   00322-40000-00000-AA587


Microsoft Visual C++ 2015


 


Windows Phone SDK 8.0 - ENU   00322-40000-00000-AA587


Windows Phone SDK 8.0 - ENU


 


Application Insights Tools for Visual Studio Package   7.0.20622.1


Application Insights Tools for Visual Studio


 


ASP.NET and Web Tools 2015.1 (Beta8)   14.1.11107.0


ASP.NET and Web Tools 2015.1 (Beta8)


 


ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0


For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563


 


ASP.NET Web Frameworks and Tools 2013   5.2.40314.0


For additional information, visit http://www.asp.net/


 


Common Azure Tools   1.8


Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.


 


JavaScript Language Service   2.0


JavaScript Language Service


 


JavaScript Project System   2.0


JavaScript Project System


 


Microsoft Azure Mobile Services Tools   1.4


Microsoft Azure Mobile Services Tools


 


NuGet Package Manager   3.4.4


NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.


 


PreEmptive Analytics Visualizer   1.2


Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.


 


SQL Server Data Tools   14.0.60519.0


Microsoft SQL Server Data Tools


 


Syncfusion Reference Manager   16.1.0.24


A useful add-in for adding and migrating Syncfusion Assembly References for Windows Forms, WPF, and Silverlight projects.


 


Syncfusion UWP Project Templates   16.1.0.24


Project to create an Universal Windows Application using Syncfusion Products.


 


Syncfusion WPF Project Templates   16.1.0.24


Provides Project Templates to add Syncfusion WPF Project along with corresponding configurations.


 


Syncfusion.VSExtension.Troubleshooter   16.1.0.24


Add-in for Troubleshooting the Syncfusion projects.


 


Syncfusion.WindowsForms.Package   16.1.0.24


Provides Item/Project Templates to add Syncfusion Windows Forms Item/Project along with corresponding configurations.


 


TypeScript   1.8.36.0


TypeScript tools for Visual Studio


 

Visual Studio Tools for Universal Windows Apps   14.0.




3 Replies

SG Sri Gayathri Gopalakrishnan Syncfusion Team March 19, 2018 12:43 PM UTC

Hi Henrik, 
 
Query1: Regarding Gauge Header 
 
We have analyzed your query, and by default GaugeHeader is placed in the top left side(x=0, y=0).  Gauge header can be customized using GaugeHeaderPosition. When GaugeHeaderPosition property is set, need to set HeaderAlignment property as Custom. Value for GaugeHeaderPosition should be specified in offset value (value should be 0 to 1). Gauge center position is (0.5,0.5) and right bottom is (1,1). We can arrange the header position based on our need by specifying offset value.   
 
CodeSnippet: 
 
<syncfusion:SfCircularGauge GaugeHeaderPosition="0.45,0.8" HeaderAlignment="Custom"> <syncfusion:SfCircularGauge.GaugeHeader> 
<TextBlock Text="Temperature (K)" Height="20" Width="150" FontSize="20" Foreground="White"/>  
</syncfusion:SfCircularGauge.GaugeHeader> </syncfusion:SfCircularGauge> 
 
 
Please refer our UG Document for further reference, 
 
 
Query2: When I start the debugging several times after another the CircularGauge crashes (not Visual Studio). Close VS and restart the CircularGauge works again. 
 
We have tried all the possible scenarios and we have prepared sample based on your scenario. Please download our test sample from the below link, 
 
 
Since we are not aware on the exact scenario on which the reported issue is reproduced, we would like to know the following details, which will be helpful in further analysis and provide you the solution sooner. 
     -  Modify the attached sample to replicate your scenario 
     -  Or provide any Call Stack or replication procedure  
    This will be helpful in further analysis and to provide the solution sooner. 
Query3:  I have trouble to translate the following XAML to VB. I prefer to setup most of the CircularGauge in VB 
 
We have analyzed your query and we have prepared sample based on your code snippet in VB. Please download our sample from the below link, 
 
 
Screenshot
 
 
 
Query4: BC40000 'Public Overloads Property GaugeType As CircularGaugeTypes' is obsolete: 'GaugeType is obsolete as of version 16.1.0.0. Use Scale's StartAngle & EndAngle properties to rotate the scale.' 
 
In last release (volume 1, 2018), we have marked GaugeType property as obsolete. Hence it is shown in warning list. Instead setting GaugeType, StartAngle and SweepAngle can be used to customize Gauge Position.  
 
Regards, 
Sri Gayathri. G 
 



HL Henrik Lauridsen March 22, 2018 12:40 PM UTC

Thank you for the fast reply and help


SG Sri Gayathri Gopalakrishnan Syncfusion Team March 23, 2018 05:19 AM UTC

Hi Henrik, 
 
Thanks for your response, we are glad that the issue has been resolved and please get back to us if you need any other assistance. 
Regards, 
Sri Gayathri. G 


Loader.
Up arrow icon