Click here to Skip to main content
14,735,834 members
Please Sign up or sign in to vote.
3.00/5 (1 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.

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)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900