charts[XConvertTo] command problem

Get help and support using chartsEngine for LiveCode.

Moderators: heatherlaine, BvG

Post Reply
drOrganized
Posts: 24
Joined: Tue Dec 04, 2007 7:02 pm
Location: Saratoga Springs

charts[XConvertTo] command problem

Post by drOrganized » Tue Apr 20, 2010 2:31 am

If anyone can help, I can't seem to get from seconds to short date with this command:

set the charts["dataIncludesX"] of tChart to true
set the charts["XConvertsTo"] of tChart to the short date

Instead, I just get the seconds depicted along the x axis? See attachment
chart_problem.jpg
chart_problem.jpg (13.97 KiB) Viewed 7135 times
Also the text of the y Axis is cut off.

What could I have missed?

Thanks,
M~

malte
Posts: 1098
Joined: Thu Feb 23, 2006 8:34 pm
Location: Ostenfeld germany
Contact:

Re: charts[XConvertTo] command problem

Post by malte » Tue Apr 20, 2010 9:28 am

Hi,

syntax should be:

set the charts["XConvertsTo"] of tChart to "short date"

otherwise rev will evalute to the current short date.

Hope that helps,

Malte

Post Reply

Return to “chartsEngine”