Irregular distances on the X axis in 3D Bar graph

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Rob
Newbie
Newbie
Posts: 11
Joined: Fri Apr 02, 2004 5:00 am
Contact:

Irregular distances on the X axis in 3D Bar graph

Post by Rob » Mon Jul 12, 2004 11:15 am

Hello,

a 3D bar graph used to display a count per date (every 3 months) sets the bars per date apart with a distance in relation to the dates. If I change one of the dates to one week after the previous date the bars are very close, partially covering each other. How can I display the bars with REGULAR distances on the X axis?

BTW: I'm using Teechart 6 in the end-user forms of Quick Report.

Rob

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Jul 12, 2004 1:47 pm

Hi Rob,

the best way to solve this could be setting the axis labels style to "talText" and add the data using the XValue as a label (set the same XValue for the label).
Series1.AddXY(XDateTime,YValue,ZValue,DateToStr(XDateTime),clTeeColor);

Rob
Newbie
Newbie
Posts: 11
Joined: Fri Apr 02, 2004 5:00 am
Contact:

Post by Rob » Tue Jul 13, 2004 6:47 pm

Ehm... This seems gibberish to me! :?

I'm using the ENDUSER editor of TeeChart in a Delphi-written executable that is also in the enduser editor of QuickReport. That's then only part I can use.

It looks like your solution is a part of Delphi code. Is there a solution NOT using this code but the end-user system?

Rob

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu Jul 15, 2004 8:55 am

Hi Rob,

how're you adding the data ? You should be able to do the same through the Editor.

Post Reply