public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/PhoneApp3;component/AreaChartDemo.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.AreaChart = ((Syncfusion.UI.Xaml.Charts.SfChart)(this.FindName("AreaChart"))); this.axis1 = ((Syncfusion.UI.Xaml.Charts.CategoryAxis)(this.FindName("axis1"))); this.AreaSeries = ((Syncfusion.UI.Xaml.Charts.AreaSeries)(this.FindName("AreaSeries"))); }
protected override DependencyObject CloneAxis(DependencyObject obj) { var categoryAxis = new CategoryAxis(); categoryAxis.Interval = this.Interval; categoryAxis.LabelPlacement = this.LabelPlacement; categoryAxis.IsIndexed = this.IsIndexed; categoryAxis.AggregateFunctions = this.AggregateFunctions; obj = categoryAxis; return(base.CloneAxis(obj)); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/batteryBetter;component/AreaChart.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.AreaChart = ((Syncfusion.UI.Xaml.Charts.SfChart)(this.FindName("AreaChart"))); this.axis1 = ((Syncfusion.UI.Xaml.Charts.CategoryAxis)(this.FindName("axis1"))); this.AreaSeries = ((Syncfusion.UI.Xaml.Charts.AreaSeries)(this.FindName("AreaSeries"))); }