Hi,
the export of a gantt to HTML5 seems not working well.
Export Gantt HTML5 JScript
Export Gantt HTML5 JScript
- Attachments
-
- TeechartHtml5Gantt.zip
- (60.17 KiB) Downloaded 1635 times
Re: Export Gantt HTML5 JScript
Hello,
I've reproduced the problem so I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1727
Thanks for reporting it.
I've reproduced the problem so I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1727
Thanks for reporting it.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Export Gantt HTML5 JScript
Hi,
thanks for your reply.
We look at the java script and we see that axes are inverted.
It seems not difficult to correct it. Do you think you could send us a patch?
It's very important for us, when do you think we can have a patch?
thanks for your reply.
We look at the java script and we see that axes are inverted.
It seems not difficult to correct it. Do you think you could send us a patch?
It's very important for us, when do you think we can have a patch?
Re: Export Gantt HTML5 JScript
Hello Menant,
We aren't sure when you fix the problem. But, when we find a fix for it, we contact immediately with you.
Thanks in advance
We aren't sure when you fix the problem. But, when we find a fix for it, we contact immediately with you.
Thanks in advance
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Export Gantt HTML5 JScript
You can get a copy of the calculated Axis Increment before exporting the Chart.
Eg.
The above code tests successfully with the example.
Regards,
Marc Meumann
Eg.
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;
Regards,
Marc Meumann
Steema Support