Rooh
asked on
MFC Chart Drawing Axis at bottom of the graph with timestamp ( 2D data visualization class )
Hi,
I was using the graph project by Paul Barvinko available at http://www.codeproject.com/Articles/425/A-2D-data-visualisation-class
. I wanted to do two things.
I wanted to draw the x-axis at the bottom of the graph where as it is now at the top.
Also I wanted to use datetime values in the axis which is now not possible since I am not able to relate it with LOG/Pixels.
Kindly help.
Thanks in advance,
Roopesh
I was using the graph project by Paul Barvinko available at http://www.codeproject.com/Articles/425/A-2D-data-visualisation-class
. I wanted to do two things.
I wanted to draw the x-axis at the bottom of the graph where as it is now at the top.
Also I wanted to use datetime values in the axis which is now not possible since I am not able to relate it with LOG/Pixels.
Kindly help.
Thanks in advance,
Roopesh
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
in my current environment i cannot open an unknown zip file.
also EE experts can only help but not do the work for you.
can you locate the functions where the x-axis was created and drawn? if yes, post the source code in a code block of your comment.
also the functions to provide data for the chart and to make the settings for scaling and labeling the axis would be interesting.
what do you mean by 'axis measurements' ?
Sara
also EE experts can only help but not do the work for you.
can you locate the functions where the x-axis was created and drawn? if yes, post the source code in a code block of your comment.
also the functions to provide data for the chart and to make the settings for scaling and labeling the axis would be interesting.
what do you mean by 'axis measurements' ?
Sara
ASKER
I could only change the size of the X axis drawing. I have tried span calculation not just for date and time but also for some other dimensions. I am not able to find a ratio with the axis measurements and the quantity I use.
Please see the attached code: https://www.dropbox.com/s/vbvotz8a91loijj/test_grafix_02.zip