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 - Export Line and FastLine Stairs to JavaScript
Summary: Export Line and FastLine Stairs to JavaScript
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Exporting (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: yeray alonso
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-23 10:35 EDT by yeray alonso
Modified: 2019-04-23 10:37 EDT (History)
0 users

See Also:
Chart Series: Line
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 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);
    }