Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 512

Summary: NumericGauge is embedded in CircularGauge doesn't show any value
Product: .NET TeeChart Reporter: sandra pazos <sandra>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED WORKSFORME    
Severity: major CC: chris, nagai
Priority: High    
Version: TeeChart.NET 2013 4.1.2013.11080   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2013-12-10 07:48:01 EST
The NumericGague is embedded in CircurlarGague doesn't show any value when NumericGauge is visible.
private void InitializeChart()
    {
      var circularGauge1 = new  Steema.TeeChart.Styles.CircularGauge(tChart1.Chart);
      circularGauge1.Value = 100;
      circularGauge1.TotalAngle = 240;
    }
Comment 1 sandra pazos 2013-12-10 08:04:10 EST
There is an error in previous code I have attached. Please, use next code to do the test:

   private void InitializeChart()
    {
      var circularGauge1 = new Steema.TeeChart.Styles.CircularGauge(tChart1.Chart);
      circularGauge1.NumericGauge.Visible= true; 
      circularGauge1.Value = 100;
      circularGauge1.TotalAngle = 240;
    }
Comment 2 christopher ireland 2014-01-09 10:23:11 EST
I think I might have fixed this previously and not marked this as fixed, however, the code below produces the expected chart with the latest sources.
Comment 3 Shinobu Nagai 2014-02-17 01:32:11 EST
I downloaded and installed the latest version of TeeChart for .NET v2014 4.1.2014.02061. I created a new project, placed a TChart component on a form, opened Chart Editor, added a CircularGauge, displayed a NumericGauge in it and ran the project, but NumericGauge wasn't displayed in the CircularGauge.
Therefore, it's not fixed yet with the latest version.
Could you please check it again with your installer?
Comment 4 christopher ireland 2014-02-17 03:28:57 EST
No, I'm afraid it is incorrect to say that this defect is not fixed in version 4.1.2014.02061 of TeeChart.NET. The original defect was that the following code did not render a NumericGauge:

private void InitializeChart()
    {
      var circularGauge1 = new Steema.TeeChart.Styles.CircularGauge(tChart1.Chart);
      circularGauge1.NumericGauge.Visible= true; 
      circularGauge1.Value = 100;
      circularGauge1.TotalAngle = 240;
    }

In version 4.1.2014.02061 of TeeChart.NET, this code does render a NumericGauge, therefore this defect is closed. I have opened a new defect here:
http://bugs.teechart.net/show_bug.cgi?id=576

which reflects this different problem of CircularGauge's NumericGauge not rendering having been created at designtime.