-
October 5th, 2009, 04:22 PM
#1
Gradient Chart
Hi,
I want to create a chart that has gradient color representing the actual values. For example, I have values for every point within a circle:
r = 2, angle = 10 degrees : x = 100
r = 2, angle = 30 degrees : x = 150
r = 3, angle = 50 degrees : x = 180
......
I want to display this in something similar to a pie chart but with gradient coloring.
I'm looking to do this in MFC. Is there any available codes that I can look at? Either single point color gradient or gradient blending is good (the latter is preferred of course).
TIA.
-
October 5th, 2009, 04:27 PM
#2
Re: Gradient Chart
I know GTK+ has a color picker widget, so I suspect MFC and most of the others do as well.
-
October 5th, 2009, 04:28 PM
#3
-
October 5th, 2009, 04:33 PM
#4
Re: Gradient Chart
Thanks. I will look into those.
Is there any special requirement for GDI+? (like .NET framework, etc.) because I try not to rely on those.
-
October 6th, 2009, 08:06 AM
#5
Re: Gradient Chart
GDI+ is included in WinXP and later IIRC. Win2K has a free update from MS for GDI+, but no .NET dependencies are required.
-
October 7th, 2009, 04:18 PM
#6
Re: Gradient Chart
what control are you using for charting?
-
October 8th, 2009, 11:35 AM
#7
Re: Gradient Chart
I have not decided yet. I am still looking for a good one. Do you have any suggestion?
-
October 8th, 2009, 11:58 AM
#8
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|