HTML5 export missing settings

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
jls
Newbie
Newbie
Posts: 56
Joined: Mon May 07, 2012 12:00 am
Location: Norway

HTML5 export missing settings

Post by jls » Wed Oct 03, 2012 7:27 am

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

Yeray
Site Admin
Site Admin
Posts: 9587
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: HTML5 export missing settings

Post by Yeray » Wed Oct 03, 2012 9:25 am

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

jls
Newbie
Newbie
Posts: 56
Joined: Mon May 07, 2012 12:00 am
Location: Norway

Re: HTML5 export missing settings

Post by jls » Wed Oct 03, 2012 11:39 am

would you add the missing settings in my post in the next release?


Jørgen

Yeray
Site Admin
Site Admin
Posts: 9587
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: HTML5 export missing settings

Post by Yeray » Thu Oct 04, 2012 8:09 am

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

jls
Newbie
Newbie
Posts: 56
Joined: Mon May 07, 2012 12:00 am
Location: Norway

Re: HTML5 export missing settings

Post by jls » Mon Oct 08, 2012 12:21 pm

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
Attachments
rrr.zip
(1.01 KiB) Downloaded 833 times

Yeray
Site Admin
Site Admin
Posts: 9587
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: HTML5 export missing settings

Post by Yeray » Tue Oct 09, 2012 10:53 am

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

jls
Newbie
Newbie
Posts: 56
Joined: Mon May 07, 2012 12:00 am
Location: Norway

Re: HTML5 export missing settings

Post by jls » Wed Oct 10, 2012 12:03 pm

Now it is much better!

Added attachment with some issues/missing settings.


Jørgen
Attachments
Tee2.zip
(295.55 KiB) Downloaded 844 times

jls
Newbie
Newbie
Posts: 56
Joined: Mon May 07, 2012 12:00 am
Location: Norway

Re: HTML5 export missing settings

Post by jls » Wed Oct 10, 2012 12:18 pm

Here is one more question.

Can the series be transparent?

Jørgen
Attachments
transparent.zip
(136.39 KiB) Downloaded 770 times

jls
Newbie
Newbie
Posts: 56
Joined: Mon May 07, 2012 12:00 am
Location: Norway

Re: HTML5 export missing settings

Post by jls » Mon Oct 15, 2012 11:26 am

More issues:

borders,stacked series, axis value

Jørgen
Attachments
Chart_HTML5.zip
(506.48 KiB) Downloaded 836 times

Yeray
Site Admin
Site Admin
Posts: 9587
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: HTML5 export missing settings

Post by Yeray » Mon Oct 22, 2012 10:52 am

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

jls
Newbie
Newbie
Posts: 56
Joined: Mon May 07, 2012 12:00 am
Location: Norway

Re: HTML5 export missing settings

Post by jls » Mon Oct 22, 2012 2:02 pm

Here are 3 teefiles with html5 exports
Attachments
Chart.zip
(18.48 KiB) Downloaded 833 times

jls
Newbie
Newbie
Posts: 56
Joined: Mon May 07, 2012 12:00 am
Location: Norway

Re: HTML5 export missing settings

Post by jls » Mon Nov 05, 2012 2:01 pm

Any progress on this?

Jørgen

Yeray
Site Admin
Site Admin
Posts: 9587
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: HTML5 export missing settings

Post by Yeray » Tue Nov 13, 2012 10:29 am

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

jls
Newbie
Newbie
Posts: 56
Joined: Mon May 07, 2012 12:00 am
Location: Norway

Re: HTML5 export missing settings

Post by jls » Tue Nov 13, 2012 11:40 am

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

jls
Newbie
Newbie
Posts: 56
Joined: Mon May 07, 2012 12:00 am
Location: Norway

Re: HTML5 export missing settings

Post by jls » Fri Nov 23, 2012 12:17 pm

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

Post Reply