+ Reply to Thread
Results 1 to 2 of 2

Graphing Plotting Dash Lines certain Data Scatter Plot

  1. #1
    Registered User
    Join Date
    08-08-2008
    Location
    east coast
    Posts
    10

    Graphing Plotting Dash Lines certain Data Scatter Plot

    I am graphing time versus data and have made a linear XY Scatter Plot with solid lines. However for certain points, future in time, I would like to make the solid lines into dash lines.

    I can't seem to figure out the VBA command to make the line solid or dash.

    So far I have:

    Range("A1:B4").Select
    Range("B4").Activate
    Charts.Add
    ActiveChart.ChartType = xlXYScatterSmooth
    ActiveChart.SetSourceData Source:=Sheets("Sheet1").Range("A1:B4"), PlotBy:= _
    xlColumns
    ActiveChart.Location Where:=xlLocationAsObject, Name:="Sheet1"
    With ActiveChart
    .HasTitle = False
    .Axes(xlCategory, xlPrimary).HasTitle = False
    .Axes(xlValue, xlPrimary).HasTitle = False
    End With
    Thanks

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Graphing Plotting Dash Lines certain Data Scatter Plot

    No code solution
    http://www.andypope.info/ngs/ng45.htm
    Cheers
    Andy
    www.andypope.info

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1