Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Demo de utilização de Gráficos em aplicações Xamarin.Forms http://julianocustodio.com/graficos-xamarin-forms
using System.Collections.Generic;
using SkiaSharp;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
...
List<Microcharts.Entry> entries = new List<Microcharts.Entry>
{
new Microcharts.Entry(200)
{
Label = "Janeiro",
ValueLabel = "200",
Color = SKColor.Parse("#266489")
},
new Microcharts.Entry(250)
{
Label = "Fevereiro",
ValueLabel = "250",
Color = SKColor.Parse("#68B9C0")
},
new Microcharts.Entry(100)
{
Label = "Março",
ValueLabel = "100",
Color = SKColor.Parse("#90D585")
},
new Microcharts.Entry(150)
{
Label = "Abril",
ValueLabel = "150",
Color = SKColor.Parse("#e77e23")
}
};
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment