Click here to Skip to main content
15,914,013 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: need help with shell extensions tutorial Pin
jmkhael7-Oct-02 6:45
jmkhael7-Oct-02 6:45 
GeneralRe: need help with shell extensions tutorial Pin
Brakanjan7-Oct-02 6:57
Brakanjan7-Oct-02 6:57 
QuestionHow do i format a number with digit grouping? Pin
Redeemer-dk7-Oct-02 6:17
Redeemer-dk7-Oct-02 6:17 
AnswerRe: How do i format a number with digit grouping? Pin
Chris Richardson7-Oct-02 6:44
Chris Richardson7-Oct-02 6:44 
GeneralCTreeCtrl trouble Pin
google_4477-Oct-02 5:56
sussgoogle_4477-Oct-02 5:56 
GeneralRe: CTreeCtrl trouble Pin
Ravi Bhavnani7-Oct-02 6:18
professionalRavi Bhavnani7-Oct-02 6:18 
GeneralGrid will not scroll Pin
Shay Harel7-Oct-02 5:46
Shay Harel7-Oct-02 5:46 
GeneralProblems with ranges in Excel Pin
Anonymous7-Oct-02 5:37
Anonymous7-Oct-02 5:37 
I'm having a problem assinging discontinuous ranges to chart series.

For example the following code works if Xvaluesrange and valuesrange are continuous ranges but not if they are discontinuous:

ActiveChart.SeriesCollection(1).Xvalues = Xvaluesrange
ActiveChart.SeriesCollection(1).values = Yvaluesrange

This gives a "run-time error '1004' Unable to set the Xvalue of the Series class".

From the Excel interface it is possible to assign discontinuous ranges to chart series.


I think this is happening because the Xvalues and Yvalues properties are expecting arrays of values.
If the range I am providing is contiguous, Excel can convert it to an array of values on the fly.

I need to link the data series to the cells. I cannot use constant values neither in Xvaluesrange or YValuesrange.

I cannot use SetSourceData method because it doesn't preserve the existing chart series.

How can I assign discontinuous ranges to new chart series.


Thanks in advance,

Jose.
GeneralMFC Sockets design question Pin
User 66587-Oct-02 5:32
User 66587-Oct-02 5:32 
GeneralW2K vs Win9X child window creation w/ menu Pin
Tony Teveris7-Oct-02 4:48
Tony Teveris7-Oct-02 4:48 
Generalprocess handle to window HWND Pin
Liorsh7-Oct-02 4:34
Liorsh7-Oct-02 4:34 
GeneralRe: process handle to window HWND Pin
Iain Clarke, Warrior Programmer7-Oct-02 5:35
Iain Clarke, Warrior Programmer7-Oct-02 5:35 
GeneralAdding streams and files into MSWord compound file Pin
Mariusz Popiolek7-Oct-02 4:19
sussMariusz Popiolek7-Oct-02 4:19 
QuestionHDROP??? Pin
Nitron7-Oct-02 4:19
Nitron7-Oct-02 4:19 
AnswerRe: HDROP??? Pin
jmkhael7-Oct-02 4:26
jmkhael7-Oct-02 4:26 
AnswerRe: HDROP??? Pin
Michael Dunn7-Oct-02 4:28
sitebuilderMichael Dunn7-Oct-02 4:28 
AnswerRe: HDROP??? Pin
Ravi Bhavnani7-Oct-02 4:34
professionalRavi Bhavnani7-Oct-02 4:34 
AnswerThanx! Pin
Nitron7-Oct-02 4:37
Nitron7-Oct-02 4:37 
Generalstatic function question Pin
ns7-Oct-02 3:39
ns7-Oct-02 3:39 
GeneralRe: static function question Pin
Chris Losinger7-Oct-02 3:39
professionalChris Losinger7-Oct-02 3:39 
Generalanother static member question Pin
ns7-Oct-02 3:45
ns7-Oct-02 3:45 
GeneralRe: another static member question Pin
Ravi Bhavnani7-Oct-02 4:32
professionalRavi Bhavnani7-Oct-02 4:32 
QuestionPowerPoint 2002 Automation, anyone tried ? Pin
Braulio Dez7-Oct-02 3:14
Braulio Dez7-Oct-02 3:14 
AnswerRe: PowerPoint 2002 Automation, anyone tried ? Pin
jmkhael7-Oct-02 5:18
jmkhael7-Oct-02 5:18 
GeneralRe: PowerPoint 2002 Automation, anyone tried ? Pin
Braulio Dez7-Oct-02 5:50
Braulio Dez7-Oct-02 5:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.