How can I put the value close to the edge of Pie chart.
-
I have been thinking and figuring to put the value close to the curve or the edge of the pie chart. I know how the chart it drawing but it really to figure out how the position of X,Y moving. Anybody can help me with this problem? Thank you very much for all your help. Ps. my english so poor and hope you guy understand what I mean.
junior boy
-
I have been thinking and figuring to put the value close to the curve or the edge of the pie chart. I know how the chart it drawing but it really to figure out how the position of X,Y moving. Anybody can help me with this problem? Thank you very much for all your help. Ps. my english so poor and hope you guy understand what I mean.
junior boy
If you're drawing it yourself, you already know where the edge is. If you're not, what do you know ? The centre point and radius ? You can work it out from there easy enough.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
I have been thinking and figuring to put the value close to the curve or the edge of the pie chart. I know how the chart it drawing but it really to figure out how the position of X,Y moving. Anybody can help me with this problem? Thank you very much for all your help. Ps. my english so poor and hope you guy understand what I mean.
junior boy
Well, with a bunch of
sin
andcos
and a bit of multiplication, you can do it. Can you be more precise in your questions? :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
-
If you're drawing it yourself, you already know where the edge is. If you're not, what do you know ? The centre point and radius ? You can work it out from there easy enough.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
Thank you for your suggestion,Christian Graus. I coding it by my own and I know exactly where the center is but the problem is I can not put the value that go around the pie such as in MS.Exel. If you have any idea to suggest to me that will be very kind of you. Thank you for all replied.
junior boy