Profile Picture

Issue with Gauge scale -it's rounding

Posted By Ivan Orozco 14 Years Ago
Author
Message
Ivan Orozco
questionmark Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 4, Visits: 1

Good morning everyone.

After following this example:

http://forum.nevron.com/shwmessage.aspx?ForumID=1&MessageID=3592

I managed to create a similar gauge, but I have 2 issues with it:

First, I'm setting a range like this:

NGaugeAxis axis1 = (NGaugeAxis)m_RadialGauge1.Axes[0];

axis1.Range = new NRange1DD(35730,12420);

and then an indicator value like this:

m_Indicator1.Value = 8000;

and three colored sections going from 12420 to 16400 (green), 16400 to 21450 (yellow) and 21450 to 35730 (red)

As you can see from the image:

Issue #1: The range is created from 10000 to 40000, instead of 12420 to 35730

Issue #2: The range should have the larger value at the top (or left, depending on the orientation), that is, in reverse.

How can I fix this?

Thanks.



Attachments
GaugeScale.JPG (54 views, 4.00 KB)



Similar Topics


Reading This Topic