Jump to content
Software FX Community

RE: BottomGap and X-Axis vertical legend


Software FX

Recommended Posts

To reduce the gap you just need to use the BottomGap property (after you pass the data and labels) 

I don't think you can change the way the labels are painted but I will post a workaround if otherwise.

Regards,

Juan Cegarra

Software FX, Inc.

http://support.softwarefx.com

-----Original Message-----

From: Christophe [ mailto:christophe.galibert@sanofi.com]

Posted At: Monday, January 10, 2000 11:36 AM

Posted To: Server

Conversation: BottomGap and X-Axis vertical legend

Subject: BottomGap and X-Axis vertical legend

Hi,

I try to use a multi-line vertical legend on my graph, formatting the string

as follows:

ChartFX1.Legend(0) = "Line 1" + Chr(13) + Chr(10) + "Line 2" and the "Not

AS_SINGLELINE" flag.

It (nearly) works, but there is a problem with the size of the BottomGap :

it seems to size it on the size of the whole string, not on the size of the

two shortest lines we created with "Chr(13) + Chr(10)", leaving a large

blank

space under the legend.

Is there a way to reduce the gap ?

Furthermore, i'd like the 2 lines vertical legend aligned with the middle of

the column (actually, the first line is aligned with the middle of the

column, and the following lines are on the right)

Thanks,

Christophe.

Link to comment
Share on other sites

To reduce the gap you just need to use the BottomGap property (after you pass the data and labels) 

I don't think you can change the way the labels are painted but I will post a workaround if otherwise.

Regards,

Juan Cegarra

Software FX, Inc.

http://support.softwarefx.com

-----Original Message-----

From: Christophe [ mailto:christophe.galibert@sanofi.com]

Posted At: Monday, January 10, 2000 11:36 AM

Posted To: Server

Conversation: BottomGap and X-Axis vertical legend

Subject: BottomGap and X-Axis vertical legend

Hi,

I try to use a multi-line vertical legend on my graph, formatting the string

as follows:

ChartFX1.Legend(0) = "Line 1" + Chr(13) + Chr(10) + "Line 2" and the "Not

AS_SINGLELINE" flag.

It (nearly) works, but there is a problem with the size of the BottomGap :

it seems to size it on the size of the whole string, not on the size of the

two shortest lines we created with "Chr(13) + Chr(10)", leaving a large

blank

space under the legend.

Is there a way to reduce the gap ?

Furthermore, i'd like the 2 lines vertical legend aligned with the middle of

the column (actually, the first line is aligned with the middle of the

column, and the following lines are on the right)

Thanks,

Christophe.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...