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 - Series dataformats not reflected in Data tab of Chart Editor
Summary: Series dataformats not reflected in Data tab of Chart Editor
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Editors (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-16 11:55 EDT by christopher ireland
Modified: 2015-10-16 05:00 EDT (History)
2 users (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.