Microcharts
Microcharts copied to clipboard
Donut Chart is not showing all the labels.
I have 5 labels but Donut Chart picks 4 label randomly and show and ignores last one
var entries = new Microcharts.Entry[]
{
new Microcharts.Entry(5)
{
Label = "A",
ValueLabel = "5",
Color = Common.Tools.GetValueTagColor("A")
},
new Microcharts.Entry(1)
{
Label = "B",
ValueLabel = "1",
Color = Common.Tools.GetValueTagColor("B")
},
new Microcharts.Entry(4)
{
Label = "C",
ValueLabel = "4",
Color = Common.Tools.GetValueTagColor("C")
},
new Microcharts.Entry(3)
{
Label = "D",
ValueLabel = "3",
Color = Common.Tools.GetValueTagColor("D")
},
new Microcharts.Entry(2)
{
Label = "F",
ValueLabel = "2",
Color = Common.Tools.GetValueTagColor("F")
}
};
chartView.Chart = new Microcharts.DonutChart()
{
Entries = entries,
Margin = 30,
LabelTextSize = 50,
HoleRadius = 0.5f,
MinValue = 1,
MaxValue = 5
};
@pakbaz Just for completeness, can you please provide some information about your project? i.e. Xamarin version, native or forms, is this issue specific to one platform, what does the view you're putting this in look like. That sort of thing.