Microcharts
Microcharts copied to clipboard
Fill available width (Xamarin Forms)
Hi,
I just started playing with Microcharts and trying to put one in a ListView's HeaderTemplate. Looks fine except that I can't get it to stretch horizontally; to make it use the whole available width.
What can I do?
I have the same issue, for now I am using WidthRequest property.
Same issue does not obey the fill parameter
Same
Does anyone know of a fix for this yet? 👍
Hello! still an issue? if so, please provide all relevant information -> xamarin version, os, os version, microcharts version, and respective code (or at least snippets). Thanks!
Still an issue for me!
- Xamarin Version: Xamarin Forms 3.4.0.1009999
- OS: Android and iOS (issue on both)
- iOS Version: 12.1.4
- Android Version: Android Pie (will get exact version later)
- Microcharts Version: Latest Stable (0.7.1)
The issue happens with the sample code:
var entries = new[]
{
new Microcharts.Entry(200)
{
Label = "January",
ValueLabel = "200"
},
new Microcharts.Entry(400)
{
Label = "February",
ValueLabel = "400"
},
new Microcharts.Entry(-100)
{
Label = "March",
ValueLabel = "-100"
}
};
var chart = new BarChart() { Entries = entries };
this.chartView.Chart = chart;
Thanks!