Windows Application

Live Chart’s (Solid Gauge) Demo in C# win form app

Live Chart's (solidGauge) In C#

 

Live Charts in C# is an opensource tool containing multiple chart controls like Line chats, Pie Chart, location  Chart e.t.c.

 In this tutorial we will learn How to create solidGauge   Chart in WinForm App C#.

Tools Required:
Visual Studio 2012 or later version.

Code Behind
solidGauge1.Uses360Mode = true;
solidGauge1.From = 0;
solidGauge1.To = 100;
solidGauge1.Value = 50;

solidGauge2.Uses360Mode = true;
solidGauge2.From = 0;
solidGauge2.To = 100;
solidGauge2.Value = 50;
solidGauge3.From = 0;
solidGauge3.To = 100;
solidGauge3.Value = 50;

solidGauge4.From = 0;
solidGauge4.To = 100;
solidGauge4.Value = 60;
solidGauge4.Base.LabelsVisibility = System.Windows.Visibility.Hidden;
solidGauge4.Base.GaugeActiveFill = new System.Windows.Media.LinearGradientBrush
{

GradientStops=new System.Windows.Media.GradientStopCollection
{
new System.Windows.Media.GradientStop(System.Windows.Media.Colors.Green,.5),
new System.Windows.Media.GradientStop(System.Windows.Media.Colors.Red,0),
new System.Windows.Media.GradientStop (System.Windows.Media.Colors.Blue,1)
}

};
Video Tutorial
Source Code

Thanks for visiting us. Please don’t forget to subscribe our official YouTube Channel  RashiCode

Leave a Reply

Your email address will not be published. Required fields are marked *