Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Create excel chart from LotusScript, change xlLine line weight

I need to adjust the line weight of an xlLine type chart from within
LotusScript. I cannot find any methods that control the line weight in VBA.
Everything I see concerning line weight deals with border, not the plotted
line. Any suggestions or help appreciated?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Create excel chart from LotusScript, change xlLine line weight

Roy,

In VBA, you change the series' Border.Weight to change the width of the
plotted line.

With ActiveSheet.ChartObjects("Chart
1").Chart.SeriesCollection(1).Border
.ColorIndex = 57
.Weight = xlThick
.LineStyle = xlContinuous
End With

You don't have much choice though: xlHairline, xlThin, xlMedium or xlThick.

HTH

Tim




"Roy Rumaner" <Roy wrote in message
...
I need to adjust the line weight of an xlLine type chart from within
LotusScript. I cannot find any methods that control the line weight in

VBA.
Everything I see concerning line weight deals with border, not the plotted
line. Any suggestions or help appreciated?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Create excel chart from LotusScript, change xlLine line weight

Thank you, I will try this out and see if it works. Hopefully it will
translate to LotusScript somehow.

Roy

"Tim Barlow" wrote:

Roy,

In VBA, you change the series' Border.Weight to change the width of the
plotted line.

With ActiveSheet.ChartObjects("Chart
1").Chart.SeriesCollection(1).Border
.ColorIndex = 57
.Weight = xlThick
.LineStyle = xlContinuous
End With

You don't have much choice though: xlHairline, xlThin, xlMedium or xlThick.

HTH

Tim




"Roy Rumaner" <Roy wrote in message
...
I need to adjust the line weight of an xlLine type chart from within
LotusScript. I cannot find any methods that control the line weight in

VBA.
Everything I see concerning line weight deals with border, not the plotted
line. Any suggestions or help appreciated?




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
excel 2007 line weight in legend does not match the chart JRob Charts and Charting in Excel 0 June 16th 08 01:06 AM
Change Box Line Weight - Excel 2007 RAH[_2_] Excel Discussion (Misc queries) 2 July 14th 07 12:46 AM
Weight loss line chart to monitor weight loss progress S Fox Charts and Charting in Excel 6 November 8th 05 05:10 PM
How can i change the default line weight in an excel chart NPG Charts and Charting in Excel 1 March 30th 05 03:57 AM
How can i change the default line weight in an excel chart Nigel Charts and Charting in Excel 0 March 30th 05 03:38 AM


All times are GMT +1. The time now is 06:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"