Click here to Skip to main content
13,047,502 members (62,983 online)
Rate this:
Please Sign up or sign in to vote.
See more:

I am trying to use the date class to draw a graph in c++/cli

what I have is a pre-existing matrix globally defined as private: array^ moist_matx;

when I tried to do

XDate dato(moist_matx[i,0],moist_matx[i,1],moist_matx[i,2]); //date
double x = (double)dato;

I would get the I can't to convert from Int32 to int

I then tried to use the XDate dato instead of my matrix but it just gives me one point on the graph as I am not doing the i index in the dayI am doing
XDate dato (year,month,day) and I am inputing the year,month and day I have.

Please tell me how I can fix it.

Posted 28-Aug-12 2:58am
Legor 28-Aug-12 9:16am
You should ask something like this on the ZedGraph Forums. You'll probably get a better and faster answer there.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 28 Aug 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100