public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Examples;component/ChartView/Zooming.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.btnLoadChart = ((System.Windows.Controls.Button)(this.FindName("btnLoadChart"))); this.btnApplyZoom = ((System.Windows.Controls.Button)(this.FindName("btnApplyZoom"))); this.btnClear = ((System.Windows.Controls.Button)(this.FindName("btnClear"))); this.btnPrint = ((System.Windows.Controls.Button)(this.FindName("btnPrint"))); this.RadChart1 = ((Telerik.Windows.Controls.RadCartesianChart)(this.FindName("RadChart1"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Examples;component/ChartView/ChartViewAxesExample.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.btnLinearCategorical = ((System.Windows.Controls.Button)(this.FindName("btnLinearCategorical"))); this.btnCategoricalLinear = ((System.Windows.Controls.Button)(this.FindName("btnCategoricalLinear"))); this.btnLogarithmicCategorical = ((System.Windows.Controls.Button)(this.FindName("btnLogarithmicCategorical"))); this.btnCategoricalLogarithmic = ((System.Windows.Controls.Button)(this.FindName("btnCategoricalLogarithmic"))); this.btnLinearDateTimeContinuous = ((System.Windows.Controls.Button)(this.FindName("btnLinearDateTimeContinuous"))); this.btnDateTimeContinuousLinear = ((System.Windows.Controls.Button)(this.FindName("btnDateTimeContinuousLinear"))); this.btnLinearLinear = ((System.Windows.Controls.Button)(this.FindName("btnLinearLinear"))); this.btnLogarithmicLinear = ((System.Windows.Controls.Button)(this.FindName("btnLogarithmicLinear"))); this.btnLinearLogarithmic = ((System.Windows.Controls.Button)(this.FindName("btnLinearLogarithmic"))); this.btnLogarithmicLogarithmic = ((System.Windows.Controls.Button)(this.FindName("btnLogarithmicLogarithmic"))); this.btnLogarithmicDateTimeContinuous = ((System.Windows.Controls.Button)(this.FindName("btnLogarithmicDateTimeContinuous"))); this.btnDateTimeContinuousLogarithmic = ((System.Windows.Controls.Button)(this.FindName("btnDateTimeContinuousLogarithmic"))); this.btnDateTimeDateTime = ((System.Windows.Controls.Button)(this.FindName("btnDateTimeDateTime"))); this.btnDateTimeCategorical = ((System.Windows.Controls.Button)(this.FindName("btnDateTimeCategorical"))); this.btnCategoricalDateTime = ((System.Windows.Controls.Button)(this.FindName("btnCategoricalDateTime"))); this.btnCategoricalCategorical = ((System.Windows.Controls.Button)(this.FindName("btnCategoricalCategorical"))); this.txtVer1 = ((System.Windows.Controls.TextBlock)(this.FindName("txtVer1"))); this.txtVer2 = ((System.Windows.Controls.TextBlock)(this.FindName("txtVer2"))); this.txtHor1 = ((System.Windows.Controls.TextBlock)(this.FindName("txtHor1"))); this.txtHor2 = ((System.Windows.Controls.TextBlock)(this.FindName("txtHor2"))); this.RadChart1 = ((Telerik.Windows.Controls.RadCartesianChart)(this.FindName("RadChart1"))); }
private void OnChartLoaded(object obj) { employeeChart = obj as Telerik.Windows.Controls.RadCartesianChart; }