MFC SeriesCollection question

M

Mardigin

How do I write

ActiveChart.SeriesCollection(1).XValues = "={""Date
08102003"","" Date 08102003""}"

in MFC?

Here is my code for the chartwiz..

this->m_xlChart->ChartWizard(var, // Source.
COleVariant((short)3), // Gallery: 2d Column.
COleVariant((short)2), // Format.
COleVariant((short)2), // PlotBy xlColumns.
COleVariant((short)0), // CategoryLabels.
COleVariant((short)1), // SeriesLabels.
COleVariant((short)TRUE), // HasLegend.
COleVariant("MyChart"), // Title.
COleVariant("Date"), // CategoryTitle.
COleVariant("UNITS"), // ValueTitles.
covOptional
);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top