public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/TestChart;component/Page.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.cmbIndicators = ((System.Windows.Controls.ComboBox)(this.FindName("cmbIndicators"))); this.btnAddIndicator = ((System.Windows.Controls.Button)(this.FindName("btnAddIndicator"))); this.btnAddBar = ((System.Windows.Controls.Button)(this.FindName("btnAddBar"))); this.btnAddTick = ((System.Windows.Controls.Button)(this.FindName("btnAddTick"))); this.btnStartTickTimer = ((System.Windows.Controls.Button)(this.FindName("btnStartTickTimer"))); this.btnZoomIn = ((System.Windows.Controls.Button)(this.FindName("btnZoomIn"))); this.btnZoomOut = ((System.Windows.Controls.Button)(this.FindName("btnZoomOut"))); this.btnResetZoom = ((System.Windows.Controls.Button)(this.FindName("btnResetZoom"))); this.btnAddCustomIndicator = ((System.Windows.Controls.Button)(this.FindName("btnAddCustomIndicator"))); this.btnIntTests = ((System.Windows.Controls.Button)(this.FindName("btnIntTests"))); this._stockChartX = ((ModulusFE.StockChartX)(this.FindName("_stockChartX"))); this.AccordionItemLineStudies = ((System.Windows.Controls.AccordionItem)(this.FindName("AccordionItemLineStudies"))); this.cmbLineStudies = ((System.Windows.Controls.ComboBox)(this.FindName("cmbLineStudies"))); this.colorPicker = ((ModulusFE.Controls.ColorPicker)(this.FindName("colorPicker"))); this.btnAddLineStudy = ((System.Windows.Controls.Button)(this.FindName("btnAddLineStudy"))); this.AccordionItemChartTools = ((System.Windows.Controls.AccordionItem)(this.FindName("AccordionItemChartTools"))); this.btnDeleteCurrentObject = ((System.Windows.Controls.Button)(this.FindName("btnDeleteCurrentObject"))); this.btnToggleSideVolumeBars = ((System.Windows.Controls.Button)(this.FindName("btnToggleSideVolumeBars"))); this.btnToggleDarvasBoxes = ((System.Windows.Controls.Button)(this.FindName("btnToggleDarvasBoxes"))); this.cmbPriceStyles = ((System.Windows.Controls.ComboBox)(this.FindName("cmbPriceStyles"))); this.psStandard = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psStandard"))); this.psKagi = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psKagi"))); this.psEquiVolume = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psEquiVolume"))); this.psCandleVolume = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psCandleVolume"))); this.psEquiVolumeShadow = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psEquiVolumeShadow"))); this.pfPointAndFigure = ((System.Windows.Controls.ComboBoxItem)(this.FindName("pfPointAndFigure"))); this.psRenko = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psRenko"))); this.psThreeLineBreak = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psThreeLineBreak"))); this.psHeikinAshi = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psHeikinAshi"))); this.btnApplyPriceStyle = ((System.Windows.Controls.Button)(this.FindName("btnApplyPriceStyle"))); this.btnIndProps = ((System.Windows.Controls.Button)(this.FindName("btnIndProps"))); this.btnUserIndicator = ((System.Windows.Controls.Button)(this.FindName("btnUserIndicator"))); this.btnSaveAsImage = ((System.Windows.Controls.Button)(this.FindName("btnSaveAsImage"))); this.cmbSerType = ((System.Windows.Controls.ComboBox)(this.FindName("cmbSerType"))); this.btnSave = ((System.Windows.Controls.Button)(this.FindName("btnSave"))); this.btnLoad = ((System.Windows.Controls.Button)(this.FindName("btnLoad"))); this.AccordionItemOtherTools = ((System.Windows.Controls.AccordionItem)(this.FindName("AccordionItemOtherTools"))); this.btnSmallDataSetChart = ((System.Windows.Controls.Button)(this.FindName("btnSmallDataSetChart"))); this.btnTicket4360 = ((System.Windows.Controls.Button)(this.FindName("btnTicket4360"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/HCM401kData;component/Chart/ctlChart.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.brdFocusBorder = ((System.Windows.Controls.Border)(this.FindName("brdFocusBorder"))); this._stockChartX = ((ModulusFE.StockChartX)(this.FindName("_stockChartX"))); this.txtSymbol = ((System.Windows.Controls.TextBlock)(this.FindName("txtSymbol"))); this.brdrNoData = ((System.Windows.Controls.Border)(this.FindName("brdrNoData"))); this.txtInfo = ((System.Windows.Controls.TextBlock)(this.FindName("txtInfo"))); }
internal ChartPanel_HeatMap(StockChartX chartX) { _chartX = chartX; _isHeatMap = true; #if WPF ResourceDictionary resourceDictionary = new ResourceDictionary { Source = new Uri("/ModulusFE.StockChartX;component/Themes/Brushes.xaml", UriKind.RelativeOrAbsolute) }; Background = (Brush)resourceDictionary["HatchBrush"]; #else Background = Brushes.White; #endif }
private static void OnInfoPanelFontSizeChanged(DependencyObject sender, DependencyPropertyChangedEventArgs eventArgs) { StockChartX chartX = (StockChartX)sender; chartX._panelsContainer.EnforceInfoPanelUpdate(); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/TestChart;component/Page.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.btnRefresh = ((System.Windows.Controls.Button)(this.FindName("btnRefresh"))); this.cmbIndicators = ((System.Windows.Controls.ComboBox)(this.FindName("cmbIndicators"))); this.btnAddIndicator = ((System.Windows.Controls.Button)(this.FindName("btnAddIndicator"))); this.btnAddBar = ((System.Windows.Controls.Button)(this.FindName("btnAddBar"))); this.btnAddTick = ((System.Windows.Controls.Button)(this.FindName("btnAddTick"))); this.btnStartTickTimer = ((System.Windows.Controls.Button)(this.FindName("btnStartTickTimer"))); this.btnZoomIn = ((System.Windows.Controls.Button)(this.FindName("btnZoomIn"))); this.btnZoomOut = ((System.Windows.Controls.Button)(this.FindName("btnZoomOut"))); this.btnResetZoom = ((System.Windows.Controls.Button)(this.FindName("btnResetZoom"))); this.btnAddCustomIndicator = ((System.Windows.Controls.Button)(this.FindName("btnAddCustomIndicator"))); this.btnMoveLeft = ((System.Windows.Controls.Button)(this.FindName("btnMoveLeft"))); this.btnMoveRight = ((System.Windows.Controls.Button)(this.FindName("btnMoveRight"))); this._stockChartX = ((ModulusFE.StockChartX)(this.FindName("_stockChartX"))); this.cmbLineStudies = ((System.Windows.Controls.ComboBox)(this.FindName("cmbLineStudies"))); this.colorPicker = ((ModulusFE.Controls.ColorPicker)(this.FindName("colorPicker"))); this.btnAddLineStudy = ((System.Windows.Controls.Button)(this.FindName("btnAddLineStudy"))); this.btnDeleteCurrentObject = ((System.Windows.Controls.Button)(this.FindName("btnDeleteCurrentObject"))); this.btnIndProps = ((System.Windows.Controls.Button)(this.FindName("btnIndProps"))); this.btnQuietAddIndicator = ((System.Windows.Controls.Button)(this.FindName("btnQuietAddIndicator"))); this.btnSaveAsImage = ((System.Windows.Controls.Button)(this.FindName("btnSaveAsImage"))); this.radioButtonLinear = ((System.Windows.Controls.RadioButton)(this.FindName("radioButtonLinear"))); this.radioButtonSemiLog = ((System.Windows.Controls.RadioButton)(this.FindName("radioButtonSemiLog"))); this.checkBoxSideVolumeBars = ((System.Windows.Controls.CheckBox)(this.FindName("checkBoxSideVolumeBars"))); this.checkBoxDarvasBoxes = ((System.Windows.Controls.CheckBox)(this.FindName("checkBoxDarvasBoxes"))); this.checkBoxTickBox = ((System.Windows.Controls.CheckBox)(this.FindName("checkBoxTickBox"))); this.checkBoxMouseZoomArea = ((System.Windows.Controls.CheckBox)(this.FindName("checkBoxMouseZoomArea"))); this.radioButtonInfoPanelMouse = ((System.Windows.Controls.RadioButton)(this.FindName("radioButtonInfoPanelMouse"))); this.radioButtonInfoPanelFixed = ((System.Windows.Controls.RadioButton)(this.FindName("radioButtonInfoPanelFixed"))); this.radioButtonInfoPanelHidden = ((System.Windows.Controls.RadioButton)(this.FindName("radioButtonInfoPanelHidden"))); this.cmbPriceStyles = ((System.Windows.Controls.ComboBox)(this.FindName("cmbPriceStyles"))); this.psStandard = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psStandard"))); this.psBarChart = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psBarChart"))); this.psLine = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psLine"))); this.psBarHLC = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psBarHLC"))); this.psCandleChart = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psCandleChart"))); this.psKagi = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psKagi"))); this.psEquiVolume = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psEquiVolume"))); this.psCandleVolume = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psCandleVolume"))); this.psEquiVolumeShadow = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psEquiVolumeShadow"))); this.pfPointAndFigure = ((System.Windows.Controls.ComboBoxItem)(this.FindName("pfPointAndFigure"))); this.psRenko = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psRenko"))); this.psThreeLineBreak = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psThreeLineBreak"))); this.psHeikinAshi = ((System.Windows.Controls.ComboBoxItem)(this.FindName("psHeikinAshi"))); this.btnApplyPriceStyle = ((System.Windows.Controls.Button)(this.FindName("btnApplyPriceStyle"))); this.cmbSerType = ((System.Windows.Controls.ComboBox)(this.FindName("cmbSerType"))); this.btnSave = ((System.Windows.Controls.Button)(this.FindName("btnSave"))); this.btnLoad = ((System.Windows.Controls.Button)(this.FindName("btnLoad"))); this.btnAltStyle = ((System.Windows.Controls.Button)(this.FindName("btnAltStyle"))); this.btnStyleInfoPanel = ((System.Windows.Controls.Button)(this.FindName("btnStyleInfoPanel"))); this.btnSmallDataSetChart = ((System.Windows.Controls.Button)(this.FindName("btnSmallDataSetChart"))); this.btnCloseLineChart = ((System.Windows.Controls.Button)(this.FindName("btnCloseLineChart"))); this.btnTicket4132 = ((System.Windows.Controls.Button)(this.FindName("btnTicket4132"))); this.btnTicket4360 = ((System.Windows.Controls.Button)(this.FindName("btnTicket4360"))); this.btnTicket4489 = ((System.Windows.Controls.Button)(this.FindName("btnTicket4489"))); this.btnTicket4541 = ((System.Windows.Controls.Button)(this.FindName("btnTicket4541"))); this.btnTicket4601 = ((System.Windows.Controls.Button)(this.FindName("btnTicket4601"))); this.btnCalendarV2 = ((System.Windows.Controls.Button)(this.FindName("btnCalendarV2"))); this.btnTicket4560 = ((System.Windows.Controls.Button)(this.FindName("btnTicket4560"))); this.btnTicket4580 = ((System.Windows.Controls.Button)(this.FindName("btnTicket4580"))); this.btnTicket4638 = ((System.Windows.Controls.Button)(this.FindName("btnTicket4638"))); this.btnTicket4679 = ((System.Windows.Controls.Button)(this.FindName("btnTicket4679"))); }
private static void OnScaleAlignmentChanged(DependencyObject sender, DependencyPropertyChangedEventArgs eventArgs) { StockChartX chartX = (StockChartX)sender; chartX.SetYAxes(); }
private static void OnURILicenseKeyPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs eventArgs) { StockChartX stockChartX = (StockChartX)sender; stockChartX.DecryptURILicenseKey(); }