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 1960

Summary: Export Axis StartPosition and EndPosition when exporting to Javascript
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: ExportAssignee: yeray alonso <yeray>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: 22.170619   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=18&t=16751#p74508
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2017-12-13 10:11:33 EST
Axis StartPosition or EndPosition aren't exported when exporting a chart to Javascript. Ie:

uses Series, TeeJavascript;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.View3D:=False;
  Chart1.Legend.Alignment:=laBottom;
  Chart1.Axes.Left.EndPosition:=50;
  Chart1.Axes.Right.StartPosition:=50;

  Chart1.AddSeries(TLineSeries).FillSampleValues(10);
  with Chart1.AddSeries(TBarSeries) do
  begin
    Marks.Hide;
    FillSampleValues(10);
  end;

  Chart1[1].VertAxis:=aRightAxis;

  TeeSaveToJavascriptFile(Chart1, 'E:\tmp\exports\twoAxes.htm');
end;