Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I try to create a chart using Office Chart Component 9. I set the type of the WCChart object as chChartTypeScatterLine, WCSeries object1 as chChartTypeScatterSmoothLineMarkers. WCSeries object2 as chChartTypeScatterSmoothLine. But the type applied to series 2 is always set to series object 1. void CImageCalibChartCtrl::ChangeType() { CWCCharts aCharts = myChartCollection.GetCharts(); CWCChart aChart = aCharts.GetItem(COleVariant((short)0)); aChart.Select(); aChart.GetSeriesCollection().GetItem(COleVariant(( short)0)).Select(); aChart.GetSeriesCollection().GetItem(COleVariant(( short)0)).SetType(22); aChart.GetSeriesCollection().GetItem(COleVariant(( short)1)).Select(); aChart.GetSeriesCollection().GetItem(COleVariant(( short)1)).SetType(23); } I do not get any effect of calling Select() method. Thanks and Regards, Vinodh Kumar P |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
In Office 2007 can't see chart series values unless chart unprotec | Charts and Charting in Excel | |||
using office 2007 chart in office 2003 | Charts and Charting in Excel | |||
doubt | Excel Worksheet Functions | |||
I have a doubt! | Excel Discussion (Misc queries) | |||
some doubt | Excel Worksheet Functions |