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
load datetime line data
Re: load datetime line data
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?
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,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: load datetime line data
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.