Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a VB6 app that creates some SeriesCollections in a chart
chtChart.Chart.SeriesCollection.NewSeries where chtChart is defined as Dim chtChart As Excel.ChartObject I need to know how to tell the chart that the new series is a vertical bar or a horizontal line. I've been unsuccessfull in identifying this property when playing around in Excel. Any help you can give me is most appreciated. Thanks, Paul Willman |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
do you mean whether the chart is to be a Column Chart or a Bar Chart?
Are you talking about the whole chart or is it a mixed chart or are you talking about something else, where the line might be an indicator of a goal value or the current date as an example. -- Regards, Tom Ogilvy "Paul Willman" wrote in message ... I have a VB6 app that creates some SeriesCollections in a chart chtChart.Chart.SeriesCollection.NewSeries where chtChart is defined as Dim chtChart As Excel.ChartObject I need to know how to tell the chart that the new series is a vertical bar or a horizontal line. I've been unsuccessfull in identifying this property when playing around in Excel. Any help you can give me is most appreciated. Thanks, Paul Willman |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
ActiveChart.SeriesCollection(2).ChartType = xlLineMarkers
ActiveChart.SeriesCollection(2).ChartType = xlColumnClustered would be the basic approach. -- Regards, Tom Ogilvy "Paul Willman" wrote in message ... Sorry, Tom, let me be a bit clearer. I'm not worried about the chart type - the chart type is a custom line/column chart, where you have one or more lines crossing from left to right and one or more columns rising from the bottom, each indicating a specific data range. When I add a new series to the chart, i'm trying to figure out how to tell the data series whether it is a column or a line. I hope this better describes my issue. Thanks, Paul "Tom Ogilvy" wrote: do you mean whether the chart is to be a Column Chart or a Bar Chart? Are you talking about the whole chart or is it a mixed chart or are you talking about something else, where the line might be an indicator of a goal value or the current date as an example. -- Regards, Tom Ogilvy "Paul Willman" wrote in message ... I have a VB6 app that creates some SeriesCollections in a chart chtChart.Chart.SeriesCollection.NewSeries where chtChart is defined as Dim chtChart As Excel.ChartObject I need to know how to tell the chart that the new series is a vertical bar or a horizontal line. I've been unsuccessfull in identifying this property when playing around in Excel. Any help you can give me is most appreciated. Thanks, Paul Willman |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SeriesCollection - Incorrect ColorIndex Assigned to Chart | Charts and Charting in Excel | |||
Excel Chart SeriesCollection Formula | Excel Discussion (Misc queries) | |||
Chart: range info from seriescollection? | Charts and Charting in Excel | |||
Chart SeriesCollection. Problem changing from Excel 2000 to 2002 | Excel Programming | |||
Strange behavior Chart.SeriesCollection(n).Values property | Excel Programming |