[flexcoders] Re: alternating row color in bar chart -- Problems

2007-09-27 Thread Mark
Thank you, that was it, here's how it looks for anyone running into 
the same thing:

mx:Array id=bge
mx:GridLines direction=horizontal 
horizontalShowOrigin=false
mx:horizontalFill
   mx:SolidColor color=#EEF3F7 alpha=1/
/mx:horizontalFill
/mx:GridLines
/mx:Array




--- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] 
wrote:

  
 
  
 
  
 
 It's probably the horizontal (vertical? Can't remember) origin 
line.
 Look at the style options for gridline to see how to disable the
 horizontal origin from being drawn.
 
  
 
 Ely.
 
  
 
  
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Mark
 Sent: Thursday, September 27, 2007 5:48 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] alternating row color in bar chart -- 
Problems
 
  
 
 I have a barChart that is using mx:DateTimeAxis for my 
 horzontalAxis. I have my backgroundElements set to an Array that 
 looks like...
 
 mx:Array id=bge
 mx:GridLines direction=horizontal
 mx:horizontalFill
 mx:SolidColor color=#EEF3F7 alpha=1/
 /mx:horizontalFill
 /mx:GridLines
 /mx:Array
 
 It works but the last row has a line right across the middle. 
 Everything I've tried to get rid of it doesn't work. Has anyone 
seen 
 this, and if so gotten rid of it?
 
 Thanks,
 Mark





[flexcoders] Re: alternating row color in bar chart

2007-03-07 Thread Mark
I was able to get the alternating row color but now I also get an 
extra line right in the middle of the last bar item.  It falls 
behind the bar but right down the middle of that area.  Has anyone 
else seen this happen?  I also tried using the ActionScript methond 
of adding the color and got the same result.

Here's how I'm doing the color --

mx:Array id=bge
 mx:GridLines direction=horizontal
mx:horizontalStroke
mx:Stroke weight=1 color=#C2D1E1/
/mx:horizontalStroke
mx:horizontalFill
mx:SolidColor color=#EEF3F7 alpha=1/
/mx:horizontalFill
 /mx:GridLines
/mx:Array
!-- --
mx:BarChart id=barchart1 width=100% height=100% 
dataProvider={chartData} showDataTips=true 
dataTipFunction=formatDataTip backgroundElements={bge} 
itemClick=getInfo(event.hitData.item)

...

/mx:BarChart






--- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] 
wrote:

  
  
 Mark -- the gridlines class, which defines the background 
gridlines for
 the chart, supports alternating row colors.  Look at the 
documentation
 for GridLines for more information.
  
 off the top of my head, it would look something like:
  
 BarChart
   backgroundElements
  GridLines horizontalFill=#FF
 horizontalAlternateFill=#00FF00 horizontalChangeCount=1 /
   /backgorundElements
 /BarChart
  
  
 Ely.
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Mark
 Sent: Thursday, February 22, 2007 8:12 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] alternating row color in bar chart
 
 
 
 I'm using a bar chart that can get pretty long so I'd like to 
 alternate the background row color. Is this something I can do, 
and 
 if so, is there an example or maybe point me in the right 
direction on 
 how to go about doing it?





[flexcoders] Re: alternating row color in bar chart

2007-02-22 Thread Mark
Yep, that did the trick thanks for your help Ely



Mark


--- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] 
wrote:

  
  
 Mark -- the gridlines class, which defines the background 
gridlines for
 the chart, supports alternating row colors.  Look at the 
documentation
 for GridLines for more information.
  
 off the top of my head, it would look something like:
  
 BarChart
   backgroundElements
  GridLines horizontalFill=#FF
 horizontalAlternateFill=#00FF00 horizontalChangeCount=1 /
   /backgorundElements
 /BarChart
  
  
 Ely.
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Mark
 Sent: Thursday, February 22, 2007 8:12 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] alternating row color in bar chart
 
 
 
 I'm using a bar chart that can get pretty long so I'd like to 
 alternate the background row color. Is this something I can do, 
and 
 if so, is there an example or maybe point me in the right 
direction on 
 how to go about doing it?