Legend not being centered correctly

TeeChart for ActiveX, COM and ASP
Post Reply
Westwood
Newbie
Newbie
Posts: 4
Joined: Fri Aug 18, 2006 12:00 am

Legend not being centered correctly

Post by Westwood » Thu Aug 24, 2006 8:01 pm

With the legend position set to the top or bottom, the chart seems to be trying to center the legend horizontally according to the plot area. It clearly is not doing it correctly. It is more obvious when there is only one item in the legend.

I know that this can all be tweaked manually using positions and margins and so foth, but in our application we wish to only expose the legend position to the user.

Westwood
Newbie
Newbie
Posts: 4
Joined: Fri Aug 18, 2006 12:00 am

Legend.topPos = 0 fixes problem

Post by Westwood » Thu Aug 24, 2006 11:49 pm

I found that if I set the topPos to 0 that it centers correctly.

Post Reply