How can I can draw a simple chart in Windows Phone 8 or 8.1
without using an external library, I want to use C# + XAML code only.
I searched for a free library to do that on Windows Phone 8.1
(universal app) but I couldn't find any. All libraries I've found supported Windows Phone 8
or 7, not Windows Phone 8.1
.
I made in answer in this similar question How to do Chart on Windows Phone Universal App
It might be able to help you. Telerik has an API that costs money and Google have a free one where you can get Charts through http requests. Check my reply - you might wanna use one of these. My answer is not about drawing it through XAML / C# which can be quite comprehensive.
To Draw it yourself through code you probably wanna create a Custom Control. Here is a few links to get you started:
Using the default tools is very hard, you can use telerik controls, though
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With