Page 1 of 2

HTML5 export missing settings

Posted: Wed Oct 03, 2012 7:27 am
by 16562340
I have a chart that I export to HTML5.

TeeSaveToJavascriptFile(Chart1, 'rr.html', 0, 0);


It has 2 series where the first is hidden.
The series is not gradient
The legend is does not have shadow
The legend is transparent

Here is the settings that are missing then I export the chart:

Series1.visible=false;
Series1.format.gradient = false;
Chart1.legend.format.shadow.visible = false;

This I did not find:
Chart1.legend.format.transparent = false;

It may be other settings missing to?

I use XE2 with latest version of Teechart

Jørgen

Re: HTML5 export missing settings

Posted: Wed Oct 03, 2012 9:25 am
by yeray
Hi Jørgen,

Note the Javascript version is quite new and thus the exportations from the different versions to it.
So yes, there are probably more properties that are still not considered in it.
Please, don't hesitate to let us know anyone you may suspect it's missing and we'll try to implement them in future releases.

Thanks in advance.

Re: HTML5 export missing settings

Posted: Wed Oct 03, 2012 11:39 am
by 16562340
would you add the missing settings in my post in the next release?


Jørgen

Re: HTML5 export missing settings

Posted: Thu Oct 04, 2012 8:09 am
by yeray
Hi Jørgen,

They should be already. I'll send you a testing SourceCode installer to the mail account you have registered in this forum.

Re: HTML5 export missing settings

Posted: Mon Oct 08, 2012 12:21 pm
by 16562340
I downloaded the file, but it did not change the export

Here are more settings missing:

Chart1.zoom.enabled=false;
Chart1.scroll.enabled=false;

Series2.format.gradient = false;
Chart1.legend.format.shadow.visible = false;


Chart1.title.format.font.shadow.visible=false;
Series2.format.shadow.visible=false;

Series1.visible=false;

Chart1.walls.back.visible=false;
Chart1.panel.transparent=true;


This I did not find
Chart1.legend.symbol.shadow.visible = false;
and
Chart1.legend.format.transparent = false;


Jørgen

Re: HTML5 export missing settings

Posted: Tue Oct 09, 2012 10:53 am
by yeray
Hi Jørgen,

I'll send you the actual TeeJavascript.pas and TeeChart-min.js so you can test the latest changes.
We'll be very glad to hear about your tests.

Re: HTML5 export missing settings

Posted: Wed Oct 10, 2012 12:03 pm
by 16562340
Now it is much better!

Added attachment with some issues/missing settings.


Jørgen

Re: HTML5 export missing settings

Posted: Wed Oct 10, 2012 12:18 pm
by 16562340
Here is one more question.

Can the series be transparent?

Jørgen

Re: HTML5 export missing settings

Posted: Mon Oct 15, 2012 11:26 am
by 16562340
More issues:

borders,stacked series, axis value

Jørgen

Re: HTML5 export missing settings

Posted: Mon Oct 22, 2012 10:52 am
by yeray
Hi Jørgen,

Thank you very much for the tests!
Just note a tee file or a simple delphi project would let us check all the properties more easily.

Re: HTML5 export missing settings

Posted: Mon Oct 22, 2012 2:02 pm
by 16562340
Here are 3 teefiles with html5 exports

Re: HTML5 export missing settings

Posted: Mon Nov 05, 2012 2:01 pm
by 16562340
Any progress on this?

Jørgen

Re: HTML5 export missing settings

Posted: Tue Nov 13, 2012 10:29 am
by yeray
Hi Jørgen,

Excuse us for the delay here.
We've implemented a few more enhancements like the null values.
I'll send the actual js to the mail account you have registered to this forum for testing purposes.

Re: HTML5 export missing settings

Posted: Tue Nov 13, 2012 11:40 am
by 16562340
Maybe a little better

If you export a chart from vcl null values are still exported as 0 so the changes in teechart.js doesn't help.



First focused series is still black

Re: HTML5 export missing settings

Posted: Fri Nov 23, 2012 12:17 pm
by 16562340
I need an estimated time for a then you have a working version of the export.

The current version can not be used.

Jørgen