Plotting DateTime values

Hi,

 I am using the trial version of TDBADVChart on Delphi XE. to see if its suitable for our application.

 I need to plot DateTime values on the X-Axis and float values on the  Y axis. How can I set the date time format for the X Axis to display in the format 'dd/mm hh:nn'?  I am using a Line  Serie type.

I tried using the date time format and by providing the X Axis MajorUnitTimeFormat. , it does not work very well. The X Axis label that is printed for the  values always displays the full date time for e.g. '27/06/2011 15:34: 35'.
I would like it to display as '27/06 15:34'.

Also I do not think that the Chart is plotting the actual X values.

Can you provide some sample application that can do this?

In the following link you can find a sample project that demonstrates this. 


http://www.tmssoftware.net/public/Demo_12.zip

This is demonstrated with the TAdvChartView, buy can easily be converted to the TDBAdvChartView.

Kind Regards, 
Scheldeman Pieter

The link is dead. How about reposting the demo? I am having the same issue with time format x-axis.

We cleaned up the folder of demos we created for specific customers.
A similar technique is demonstrated here:

http://www.tmssoftware.com/site/advchart.asp?s=faq&show=293 

The DateTime demo link on that page is also dead.

Seems this file was also affected in the cleanup. We'll check this and will make this again available.

The file can be found at this location:


http://www.tmssoftware.com/download/XYChart.zip