Sunday, September 05, 2010   
  Search   |   Print Page    
 
AngelOnLine.Net
   Ads ... Minimize  
     
    
   Blog_List Minimize  
     
  
   View_Blog Minimize  
Jun 19

Written by: Angelo
6/19/2008 7:26 AM

I've taken an open project on CodeProject (Aqua Gauge from Ambalavanar Thirugnanam), I'm fixing some bugs I've found (resize control, font, ...), I've extended the control adding all the properties needed for customize every single color, and I've Kryptonized an inherited version ...


I'm here:


Stay tuned, as far as I've a stable code, I'll post it here!

Angel

Tags:

18 comments so far...

Re: Gauge Control

Hi, Angelo, it is nice to see cool controls you've done so far. But may I ask that if I can incorporate them into the commercial application I work on? It seems that you place no explit license on them.

By Lex Y. Li on   6/20/2008 7:39 AM

Re: Gauge Control

Yes, you can include in your commercial application. If it's possible include my "credits" ...
Angel

By Angelo on   6/20/2008 7:41 AM

Re: Gauge Control

Added some functionalities and properties:


here is the list of the properties:
Ok, This are the updates (new properties):
-center point type: round, square
-center point size: normal, medium, small, smaller
-center point enable rotate: true, false (solidal)
-hand type: normal, medium, small
-minsize: the min size of the control (to avoid errors)

other public properties (I've exposed everything):
-CenterPointColor
-DialColor
-DialText
-DialTextFont
-DigitColor
-EnableTransparentBackGround
-ExternalRimColor
-Glossiness
-HandColor
-InternalRimColor
-Maxvalue
-MinVale
-NoOfDivision
-NoOfSubDivision
-RecommendedValue
-ShowDigitBackPanel
-ThickCalibrationColor
-ThinCalibrationColor
-ThresholdColor
-ThresholdPercent
-Value

gauge playground.

Angel

By Angelo on   6/20/2008 1:49 PM

Re: Gauge Control

Thanks Angelo, I first downloaded the Aqua Gauge from codeproject - saw your comment and will now continue working with your version. Thanks ! I will use them to create a dashboard for in my car ( using real-time car sensor data ).

Jochen

By Jochen on   8/28/2008 7:46 AM

Re: Gauge Control

Hi Angelo,
I've been looking for a gauge control like this for a little instrumentation project I am working on! I am a complete beginner to C# and .NET programming but have programmed in C and Visual Basic. I have a PIC micro which is measuring orientation using a mems accelerometer and sending the data to my PC over the serial port. I would like to display the data using a couple of your Gauge controls if thats possible? How do I download a copy of the control with source code if its available so that I can customise it and understand how it works. great looking control!
Cheers and Many thanks in advance!

Frank

By FrankC on   8/29/2008 5:39 PM

Re: Gauge Control

When do we get this? I liked the original aqua gauge, this will be so cool!

By dawmail333 on   9/1/2008 8:04 AM

Re: Gauge Control

now ...
this is the link ...

Angel

By Angelo on   9/1/2008 8:21 AM

Re: Gauge Control

Angel,

have you done a .dll that has the Guage as a control that can be added to visual studio? Also is it useable with the new krypton toolkit 3.0.6?

Thanks

Andy

By Andy on   10/13/2008 8:03 AM

Re: Gauge Control

I've Updated the links, so:

-Full (with Source Code)
-playground (w/o Source Code)

you can use the controls in VS, by selecting "Choose Items ..." on the toolbox and then choosing the dll ...

Angel

By Angelo on   10/13/2008 9:17 AM

Re: Gauge Control

Very Good. You are Great

By Mario Rossi on   3/1/2009 12:11 PM

Re: Gauge Control

Hi Angelo:

I'm having problems to open your projects with visual 2005.
Did you used a more moderm version ¿Wich framework are you working with?
Because I can not even execute your exe files

And finally does anyone know about a similar gauge for windows CE (compact framework)

Thanks

By Roberto on   3/1/2009 12:11 PM

Re: Gauge Control

Hey cant open all the files named with krypton. error appears that i am missing some component factory . krypton file. Appears the same on that group box and other extra controls.Help please

By NIKK on   3/1/2009 12:11 PM

Re: Gauge Control

Great job and thanks for sharing it with us
kind regards
Manuel

By Manuel on   5/13/2009 10:20 AM

Re: Gauge Control

Hi,

great stuff.
I would like to have a List of "RecommendedValue" so that I can define more ranges with different colors in one gauge.
for example to show somebodys Body Mass Index where every range gets an other color.
Is this possible ?

Robert

By Robert on   6/12/2009 4:05 PM

Re: Gauge Control

Hi, am having trouble compiling it with COM interop so I can use it with vb6, are you able to do it? I am really interested. Thank you.

By Marcio on   6/15/2009 5:10 PM

Re: Gauge Control

Very nice! I found Ambalavanar's original at CodeProject and Googled for updates.

There was some trouble compiling your entire project, but the AquaGauge compiled independently with no problems.

I added a property called "LeadingZeros" which is really a field width to apply leading zeros to. If set to 0 or 1, it will supress leading zeros (which was what I wanted).

In DisplayNumber()

/*
float shift = 0;
string num = number.ToString("000.00");
num.PadLeft(3, '0');
*/
//
// The minimum string length is 4 characters:
// "0.00". If the user wants leading zeros,
// prepend to acheive the desired width.
// The decimal point doesn't contribute to the width.
string num = number.ToString("0.00");
float shift = 0;

while((num.Length - 1) < _leadingzeros)
{
num = "0" + num;
}

// If the width is less than the original value,
// adjust the horizontal position to center.
if ((num.Length - 1) < 5)
{
shift = (5 - num.Length + 1)/2 * (width / 17);
}
//


Also, my version of the control is now AngelAquaGauge.

Mark

By markjuggles on   6/8/2010 10:43 AM

Re: Gauge Control

Hi Mark, I've update the toolkit including your mod.
Thank you
Angel

By Angelo on   6/8/2010 11:39 AM

Re: Gauge Control

Hi Angelo,

This control is great! But I cannot figure out how to turn the floating point decimal output into a regular integer value. For example, in stead of a value of 005.00 I would like a value like 5 or 33 or 66 without the decimal being displayed. My values will never be over 200. Do you have any ideas on how to acheive this? Any help would be very much appreciated! Thank you for all your hard work! -Thrice

By Thrice on   7/5/2010 8:24 AM

Your name:
Title:
Comment:
Add Comment    Cancel  
     
  
   Support the Site Minimize  
PayPal - The safer, easier way to pay online!
     
  
   Search_Blog Minimize  
     
    
   Blog_Archive Minimize