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 - Export Axis StartPosition and EndPosition when exporting to Javascript
Summary: Export Axis StartPosition and EndPosition when exporting to Javascript
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Export (show other bugs)
Version: 22.170619
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: yeray alonso
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-13 10:11 EST by yeray alonso
Modified: 2017-12-13 10:12 EST (History)
0 users

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 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;