pbodavula Posted September 7, 2012 Report Share Posted September 7, 2012 Hi, I am using below code to set section properties for horizontal gauge with trial version. double trcMin = this.ParseReportDataObject(metricsLookup["XXX"], "Min"); double trcMax = this.ParseReportDataObject(metricsLookup["XXX"], "Max");if (!trcMin.Equals(double.NaN) && !trcMax.Equals(double.NaN) && trcMin != trcMax) { this.horizontalGauge.Scales[0].Sections[0].Min = trcMin; this.horizontalGauge.Scales[0].Sections[0].Max = trcMax;this.horizontalGauge.ToolTip = this.horizontalGaugeTRC.ToolTip + string.Format(XXX, groupByName, trcMin, trcMax); } else if (trcMin == trcMax) { this.horizontalGauge.MainScale.Sections[0].Visible = false;this.horizontalGauge.ToolTip = this.horizontalGaugeTRC.ToolTip + string.Format(FACTOR_LEVEL_TOOLTIP, groupByName, trcMin, trcMax); } else{ this.horizontalGaugeTRC.MainScale.Sections[0].Visible = false; } My problem here is even when min and max are same, though i set sections[0] visible property to false, the section is showing up in the horizontal gauge.Please let me know is there any fix for this. Thanks Padmaja Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.