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 2184

Summary: Export Line and FastLine Stairs to JavaScript
Product: .NET TeeChart Reporter: yeray alonso <yeray>
Component: ExportingAssignee: yeray alonso <yeray>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: Line Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2019-04-23 10:35:58 EDT
Stairs aren't exported to TeeChartJS. Ie:

    private void CreateLineStairs()
    {
      var series = new Line(tChart1.Chart);
      series.FillSampleValues();
      series.Stairs = true;
    }

    private void CreateFastLineStairs()
    {
      var series = new FastLine(tChart1.Chart);
      series.FillSampleValues();
      series.Stairs = true;
    }

    private void exportToJS()
    {
      tChart1.Draw();

      string path = @"E:\tmp\NETChartToJS";
      string fullHtml = path + @"\index.html";

      tChart1.Export.Image.JScript.Save(fullHtml);

      Process.Start(fullHtml);
    }