Page 1 of 1

Side All, Labels on Axis X

Posted: Tue Jun 08, 2010 6:15 am
by 10553604
I try to represent few series in MultipleBar = SideAll.
Unfortunatelly I see the problem I've presented on attached screenshot.

What can I do to show labels on axis X for every serie?
I didn't found any info about it here.

Thanks.

Re: Side All, Labels on Axis X

Posted: Tue Jun 08, 2010 6:18 am
by 10553604
I use Delphi 2009 and TeeChart Pro 8.06, I have tried it in 8.07 also...

Re: Side All, Labels on Axis X

Posted: Tue Jun 08, 2010 10:32 am
by yeray
Hi SSchmahl,

We would need some extra information to reproduce the problem here:
- How many TBarSeries do you have?
- How are you adding all the series values and labels?
- Are you setting any particular bottom axis LabelStyle?

Re: Side All, Labels on Axis X

Posted: Thu Jun 10, 2010 9:44 am
by 10553604
Hi Yeray,

There are three (3) series. I've created a Dataset for test purpose and all of these series use the DataSet.

DataSet has fields DateName, Value.

I've configured every Serie to use DateName for Labels, Value for Bar.

Styles for Bottom Axis :
Labels : Visible, Round First, Label on Axis, Angle=90, Style=Auto
All other Values - by default.

Re: Side All, Labels on Axis X

Posted: Fri Jun 11, 2010 10:58 am
by yeray
Hi SSchmahl,

Could you please send us a simple example project we can run as-is to reproduce the problem here?

Thanks in advance.

Re: Side All, Labels on Axis X

Posted: Mon Jun 14, 2010 7:15 am
by 10553604
Hi,

look in attachment.
You'll need JCL Memory DataSet to compile this project. You have to compile and start program, there is nothing to see in design-time.


The Diagram is cut from our real project.

I couldn't attach compiled program due to size restriction.

Thanks.

Re: Side All, Labels on Axis X

Posted: Mon Jun 14, 2010 7:16 am
by 10553604
I forgott to attach a file, sorry.

Re: Side All, Labels on Axis X

Posted: Tue Jun 15, 2010 10:50 am
by yeray
Hi SSchmahl,
SSchmahl wrote:You'll need JCL Memory DataSet to compile this project
Please try to send us a simple example that doesn't need any additional component, only the components that come with the IDE.

Re: Side All, Labels on Axis X

Posted: Tue Jun 15, 2010 11:32 am
by 10553604
OK, here is example with TCLientDataSet.

Re: Side All, Labels on Axis X

Posted: Tue Jun 15, 2010 3:30 pm
by yeray
Hi SSchmahl,

Having several bar series, by default, the first series' labels are drawn in the bottom axis. But when you have MultiBar=mbSideAll, certainly it would be nice if all the series' labels could be drawn in the bottom axis without any intervention, so I've added it to the wish list to be implemented in future releases (TV52014973).

In the meanwhile you could use custom labels as follows:

Code: Select all

  tmpPos:=0;
  DBChart.Axes.Bottom.Items.Clear;
  for i:=0 to DBChart.SeriesCount-1 do
  begin
    for j:=0 to DBChart[i].Count-1 do
    begin
      DBChart.Axes.Bottom.Items.Add(tmpPos,DBChart[i].Labels.Labels[j]);
      Inc(tmpPos);
    end;
  end;

Re: Side All, Labels on Axis X

Posted: Wed Jun 16, 2010 10:21 am
by 10553604
Hi,
thanks, it works...

Where could I see this wish list and what can I use this number (TV52014973) for?

Thanks a lot anyway. :)

Re: Side All, Labels on Axis X

Posted: Wed Jun 16, 2010 1:49 pm
by yeray
Hi SSchmahl,
SSchmahl wrote:thanks, it works...
I'm happy to hear that!
SSchmahl wrote:Where could I see this wish list and what can I use this number (TV52014973) for?
I'm afraid there isn't a public issue tracking system where you can see the status of the tickets. We use these numbers to identify the bugs, feature requests, and enhancements in our internal database and we use to tell them to the customers interested so that they will be able to find them in the release notes.

So I recommend you to be aware at this forum or subscribe to our RSS news feed for new release announcements and what's implemented on them.