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 1240

Summary: Series dataformats not reflected in Data tab of Chart Editor
Product: .NET TeeChart Reporter: christopher ireland <chris>
Component: EditorsAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: normal CC: nagai, narcis
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description christopher ireland 2015-06-16 11:55:28 EDT
Running the following code and opening the Data tab demonstrates the issue:


    private void InitializeChart()
    {
      tChart1.Aspect.View3D = false;

      CultureInfo ci = new CultureInfo("en-US");
      Thread.CurrentThread.CurrentCulture = ci;
      Thread.CurrentThread.CurrentUICulture = ci;

      DateTime now = DateTime.Now;
      Line line = new Line(tChart1.Chart);
      line.TreatNulls = TreatNullsStyle.DoNotPaint;
      Random rnd = new Random();
      line.DateTimeFormat = "yyyy-MM-d HH:mm:ss";
      line.ValueFormat = "0.###E+0";
      tChart1.Axes.Bottom.Labels.Angle = 90;
      tChart1.Axes.Bottom.Labels.DateTimeFormat = line.DateTimeFormat;

      line.DefaultNullValue = double.NaN;

      for (int i = 0; i < 50; i++)
      {
        now = now.AddMinutes(5);
        if (i % 5 == 0)
          line.Add(now, double.NaN, Color.Transparent);
        else
          line.Add(now, rnd.NextDouble());
      }
    }
Comment 1 narcĂ­s calvet 2015-10-16 05:00:26 EDT
Actually, Y values format is reflected but X values date time format, changed via bottom axis label format is not reflected in the chart editor. The user asks if there is any possibility to make them display in the Data tab by changing from Chart Editor.