Answered by:
C++/CX XAML How To Create Simple Pie Chart

Question
-
Hi all,
How do I create a simple Pie Chart Control in a blank C++/XAML Windows Store App from scratch? What would be a nice approach without relying on third-party XAML controls? Any help on this would be greatly appreciated. Thanks! Something that looks like this:
- Edited by Raymart Atienza [MCTS] Monday, September 22, 2014 2:29 AM
Monday, September 22, 2014 2:28 AM
Answers
-
Yes, you can draw them using XAML. That's why I recommend that you research what other people have already done in the WPF space, as it's going to be very similar.
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.- Marked as answer by Jamles HezModerator Thursday, October 16, 2014 10:35 AM
Friday, October 3, 2014 5:09 PMModerator
All replies
-
I recommend that you research XAML pie charts written in WPF and try porting them over. If you have questions about an API which doesn't translate well, please ask a question about it.
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.Monday, September 22, 2014 12:27 PMModerator -
Isn't there a way to do it by just drawing using XAML?Wednesday, September 24, 2014 7:08 AM
-
Yes, you can draw them using XAML. That's why I recommend that you research what other people have already done in the WPF space, as it's going to be very similar.
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.- Marked as answer by Jamles HezModerator Thursday, October 16, 2014 10:35 AM
Friday, October 3, 2014 5:09 PMModerator