public ArticleVariantItemTemplate() { InitializeComponent(); var colors = new List <Color>(); colors.Add(Color.FromHex("#EBA068")); colors.Add(Color.FromHex("#FFD3B1")); ChartPie.ColorModel.Palette = Syncfusion.SfChart.XForms.ChartColorPalette.Custom; ChartPie.ColorModel.CustomBrushes = colors; BindingContext = new AuthorizationLineViewModel(new SampleCategory("ABC LTD")); }
public SamplesListFromCategoryPage(SampleCategory sampleCategory) { InitializeComponent(); Chart.Series[0].Opacity = .5; BindingContext = new AuthorizationLineViewModel(sampleCategory); }