public App() { Variables.AddSeries(); Variables.AddTools(); Variables.AddThemes(); Variables.AddDash(); Variables.AddOther(); var mainTab = new TabbedPage() { Title = "TeeChart Xamarin Forms", }; var mainPage = new NavigationPage(mainTab); mainPage.BarBackgroundColor = Color.FromRgb(255, 255, 255); // FromRgb(0, 82, 160); mainPage.BarTextColor = Color.Black; var charts = GetChartStylesPage(mainPage); var tools = GetChartToolsPage(mainPage); var dash = GetChartDashPage(mainPage); var events = GetChartEventsPage(mainPage); mainTab.Children.Add(charts); if (!(Device.OS == TargetPlatform.Windows)) { mainTab.Children.Add(tools); } mainTab.Children.Add(dash); if (!(Device.OS == TargetPlatform.Windows)) { mainTab.Children.Add(events); } mainTab.BarBackgroundColor = Color.FromRgb(255, 255, 255); mainTab.BarTextColor = Color.Black; MainPage = mainPage; }
public App() { Variables.AddSeries(); Variables.AddTools(); Variables.AddThemes(); Variables.AddDash(); var mainTab = new TabbedPage() { Title = "TeeChart Xamarin Forms", }; var mainPage = new NavigationPage(mainTab); var charts = GetChartStylesPage(mainPage); var tools = GetChartToolsPage(mainPage); var dash = GetChartDashPage(mainPage); mainTab.Children.Add(charts); mainTab.Children.Add(tools); mainTab.Children.Add(dash); MainPage = mainPage; }