[reportlab-users] Can you change the color of the barLabels

Johnson, Patricia reportlab-users@reportlab.com
Tue, 25 Mar 2003 16:12:55 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------=_NextPartTM-000-b92058a8-cb25-4de9-9583-2808589e031c
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C2F313.4DD83B60"

------_=_NextPart_001_01C2F313.4DD83B60
Content-Type: text/plain

Is there any way to change the color of the bar labels.  The default color
is black but I'd like them to match the bar colors.

I've tried all of the following without success:

	hbc.barLabels.boxFillColor = colors.blue	
	hbc.barLabels.boxStrokeColor = colors.blue
	hbc.barLabels[0].strokeColor = colors.blue	
	hbc.barLabels.lineStrokeColor = colors.blue
	hbc.barLabels.fillColor = colors.blue
	hbc.barLabels.color = colors.blue

Thanks all.



------_=_NextPart_001_01C2F313.4DD83B60
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2654.89">
<TITLE>Can you change the color of the barLabels</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Is there any way to change the color =
of the bar labels.&nbsp; The default color is black but I'd like them =
to match the bar colors.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I've tried all of the following =
without success:</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">hbc.barLabels.boxFillColor =3D =
colors.blue&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">hbc.barLabels.boxStrokeColor =3D colors.blue</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">hbc.barLabels[0].strokeColor =3D =
colors.blue&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">hbc.barLabels.lineStrokeColor =3D colors.blue</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">hbc.barLabels.fillColor =3D colors.blue</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Arial">hbc.barLabels.color =3D colors.blue</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks all.</FONT>
</P>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C2F313.4DD83B60--

------=_NextPartTM-000-b92058a8-cb25-4de9-9583-2808589e031c--