Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Fri, 5 Sep 2008 12:26:04 -0700,    group: microsoft.public.word.drawing.graphics        back       


How to change the line color on radar chart   
How can I change the line color of a series in a radar chart?  The chart is 
built using MS Graph and I am using the following code to change the marker 
style but can not find how to change the line.  Any help would be greatly 
appreciated!

Set oShape = docFinal.InlineShapes.AddOLEObject(ClassType:="MSGraph.Chart", 
DisplayAsIcon:=False, Range:=myRange)
Set oChart = oShape.OLEFormat.Object

code to load values...

With oChart.SeriesCollection(1)
    .HasDataLabels = False
    .HasLeaderLines = False
    .MarkerSize = 10
    .MarkerBackgroundColor = RGB(255, 0, 0)  ' red
    .MarkerForegroundColor = RGB(255, 0, 0)  ' red
 End With
date: Fri, 5 Sep 2008 12:26:04 -0700   author:   JWS315

Re: How to change the line color on radar chart   
What version of Word?  Maybe I'm not understanding what you want... but 
can't you just right click with the cursor over the line... (while "IN" the 
graph) and select FORMAT GRIDLINES ... and change the color?

(This works in 2000 & 2003) -- and it is so easy ... so maybe I'm not 
"getting it".



-- 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kathryn Groves


"JWS315"  wrote in message 
news:A0B145B7-E6BC-47BB-A00B-64B4F1064769@microsoft.com...
> How can I change the line color of a series in a radar chart?  The chart 
> is
> built using MS Graph and I am using the following code to change the 
> marker
> style but can not find how to change the line.  Any help would be greatly
> appreciated!
>
> Set oShape = 
> docFinal.InlineShapes.AddOLEObject(ClassType:="MSGraph.Chart",
> DisplayAsIcon:=False, Range:=myRange)
> Set oChart = oShape.OLEFormat.Object
>
> code to load values...
>
> With oChart.SeriesCollection(1)
>    .HasDataLabels = False
>    .HasLeaderLines = False
>    .MarkerSize = 10
>    .MarkerBackgroundColor = RGB(255, 0, 0)  ' red
>    .MarkerForegroundColor = RGB(255, 0, 0)  ' red
> End With
date: Fri, 5 Sep 2008 22:55:24 -0400   author:   Kate G.

Re: How to change the line color on radar chart   
Kathryn,

I need to make the change via vba code since the chart is being generated 
through automation from Access.  I found the property for the marker but 
can't seem to find the associated line property.  Should I post this question 
in the programming forum versus this forum?

Thanks

Jerry

"Kate G." wrote:

> What version of Word?  Maybe I'm not understanding what you want... but 
> can't you just right click with the cursor over the line... (while "IN" the 
> graph) and select FORMAT GRIDLINES ... and change the color?
> 
> (This works in 2000 & 2003) -- and it is so easy ... so maybe I'm not 
> "getting it".
> 
> 
> 
> -- 
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Kathryn Groves
> 
> 
> "JWS315"  wrote in message 
> news:A0B145B7-E6BC-47BB-A00B-64B4F1064769@microsoft.com...
> > How can I change the line color of a series in a radar chart?  The chart 
> > is
> > built using MS Graph and I am using the following code to change the 
> > marker
> > style but can not find how to change the line.  Any help would be greatly
> > appreciated!
> >
> > Set oShape = 
> > docFinal.InlineShapes.AddOLEObject(ClassType:="MSGraph.Chart",
> > DisplayAsIcon:=False, Range:=myRange)
> > Set oChart = oShape.OLEFormat.Object
> >
> > code to load values...
> >
> > With oChart.SeriesCollection(1)
> >    .HasDataLabels = False
> >    .HasLeaderLines = False
> >    .MarkerSize = 10
> >    .MarkerBackgroundColor = RGB(255, 0, 0)  ' red
> >    .MarkerForegroundColor = RGB(255, 0, 0)  ' red
> > End With 
> 
> 
>
date: Sat, 6 Sep 2008 07:10:00 -0700   author:   JWS315

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us