TLegendPalette

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Sam F
Newbie
Newbie
Posts: 45
Joined: Wed Sep 10, 2008 12:00 am

TLegendPalette

Post by Sam F » Tue Nov 24, 2009 2:23 am

Hi, I'm using the LegendPallette. I would like to have my LegendPallette only have numbers on its right side.
It seems if I specify Axis = laOther then the left of the coloured section of the palette seems to run off the boundary of the tool(see uploaded image).
If I instead leave Axis = laBoth and then turn off the left axis through the tool options, the LegendPallette displays how I want it. Unfortunately I can't figure out how to gain access to this property via the code(all my charts are dynamically created).
As in, the Axes property doesn't seem accessible (Axis, yes, Axes, no).

One way or another, I want to solve this issue. Suggestions?
Attachments
TLegendPallette.JPG
LegendPallette with left exceeding boundaries
TLegendPallette.JPG (9.55 KiB) Viewed 3275 times

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TLegendPalette

Post by Yeray » Tue Nov 24, 2009 8:52 am

Hi Sam,

I think you are looking for this:

Code: Select all

LegendPaletteTool.Chart.Axes.Left.Visible:=false;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply