load datetime line data

TeeChart for JavaScript for the HTML5 Canvas
Post Reply
BillCII
Newbie
Newbie
Posts: 4
Joined: Thu Feb 09, 2012 12:00 am

load datetime line data

Post by BillCII » Wed Aug 15, 2012 5:56 pm

I have been struggling with inputting line data. An example of XML, text, URL input for lines, especially with dates on the X axis, would be very much appreciated. Ultimately I am looking to output line series data from TChart VCL that could be read by TChart Javascript. XML output of line series data from TChart VCL does not seem to be readable by XML input in TChart Javascript.
Tchart VCL XML output:
series title="Total" type="Line" color="#FF0000">
<points count="76">
<point text="03/03/03" X="37683" Y="30"/>
<point text="03/10/03" X="37690" Y="32"/>
<point text="03/17/03" X="37697" Y="36"/>
<point text="03/24/03" X="37704" Y="38"/>
...
</points>
</series

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

Re: load datetime line data

Post by Yeray » Fri Aug 17, 2012 11:29 am

Hi Bill,

It would probably be simpler to export your VCL Chart directly to Javascript (TeeSaveToJavascriptFile() function from the TeeJavascript unit). Have you tried it?
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

BillCII
Newbie
Newbie
Posts: 4
Joined: Thu Feb 09, 2012 12:00 am

Re: load datetime line data

Post by BillCII » Fri Aug 17, 2012 2:40 pm

I will definitely try this. I need to upgrade my Delphi 2006 installation and programs from tchart 8.06 to 2012 first. But I will still need to know the best way (does not need to be XML) to read lineseries data with date on the x axis into tchart javascript.

Post Reply