Export Gantt HTML5 JScript
Posted: Wed Dec 21, 2016 11:12 am
Hi,
the export of a gantt to HTML5 seems not working well.
the export of a gantt to HTML5 seems not working well.
Steema Software - Customer Support Forums
http://493266.hkjq7.group/support/
http://493266.hkjq7.group/support/viewtopic.php?f=18&t=16380
Code: Select all
procedure TForm4.Button1Click(Sender: TObject);
var
JavascriptExportFormat: TJavascriptExportFormat;
begin
inherited;
Chart1.Axes.Bottom.Increment := Chart1.Axes.Bottom.CalcIncrement;
JavascriptExportFormat := TJavascriptExportFormat.Create;
JavascriptExportFormat.Panel := Chart1;
JavascriptExportFormat.CanvasName := 'canvas' + intToStr(Tag);
JavascriptExportFormat.JScript.SaveToFile('GanttTest.html');
end;