Page 1 of 1

Series marks outside of bar

Posted: Wed Jan 14, 2004 12:30 pm
by 8576535
Is there a way to get the series marks above the items they are marking? Or to put the axis labels inside the graph itself?

Essentially what I want to do is get a graph that looks like:

| Widgets
| ***********
| Wotsits
| *****
| Doobreys
| *******************
| Thingamebobs
| *************
+--------------------------------

Try as I might with Teechart Pro 6, I can't get it to work. If it can't be done, this is a must-do for version 7 as so many other charts I see can do this. I must be missing something!

Matthew

Posted: Wed Jan 14, 2004 12:53 pm
by Pep
Hi Mathew,

>Is there a way to get the series marks above the items they are >marking? Or to put the axis labels inside the graph itself?
Yes, you can customize the Marks positions using something like the following code :

Code: Select all

with Series1.Marks.Positions[0] do
begin
    Custom:=True;
    LeftTop.X:=100;
    LeftTop.Y:=150;
   { ... }
end;
Also, I think there's one example of this in the TeeChart Pro Demo Features Project.

Posted: Thu Jan 15, 2004 1:08 pm
by 8576535
Thanks, I'll have a play with that and see how it goes.

Matthew