/// <summary> /// Shows the full account chart after clicking on it /// </summary> void SmallBalanceChart_MouseUp(object sender, MouseEventArgs e) { if (Data.IsData && Data.IsResult && e.Button == MouseButtons.Left) { Chart chart = new Chart(); chart.BarPixels = Configs.BalanceChartZoom; chart.ShowInfoPanel = Configs.BalanceChartInfoPanel; chart.ShowDynInfo = Configs.BalanceChartDynamicInfo; chart.ShowGrid = Configs.BalanceChartGrid; chart.ShowCross = Configs.BalanceChartCross; chart.ShowVolume = Configs.BalanceChartVolume; chart.ShowPositionLots = Configs.BalanceChartLots; chart.ShowOrders = Configs.BalanceChartEntryExitPoints; chart.ShowPositionPrice = Configs.BalanceChartCorrectedPositionPrice; chart.ShowBalanceEquity = Configs.BalanceChartBalanceEquityChart; chart.ShowFloatingPL = Configs.BalanceChartFloatingPLChart; chart.ShowIndicators = Configs.BalanceChartIndicators; chart.ShowAmbiguousBars = Configs.BalanceChartAmbiguousMark; chart.TrueCharts = Configs.BalanceChartTrueCharts; chart.ShowProtections = Configs.BalanceChartProtections; chart.ShowDialog(); Configs.BalanceChartZoom = chart.BarPixels; Configs.BalanceChartInfoPanel = chart.ShowInfoPanel; Configs.BalanceChartDynamicInfo = chart.ShowDynInfo; Configs.BalanceChartGrid = chart.ShowGrid; Configs.BalanceChartCross = chart.ShowCross; Configs.BalanceChartVolume = chart.ShowVolume; Configs.BalanceChartLots = chart.ShowPositionLots; Configs.BalanceChartEntryExitPoints = chart.ShowOrders; Configs.BalanceChartCorrectedPositionPrice = chart.ShowPositionPrice; Configs.BalanceChartBalanceEquityChart = chart.ShowBalanceEquity; Configs.BalanceChartFloatingPLChart = chart.ShowFloatingPL; Configs.BalanceChartIndicators = chart.ShowIndicators; Configs.BalanceChartAmbiguousMark = chart.ShowAmbiguousBars; Configs.BalanceChartTrueCharts = chart.TrueCharts; Configs.BalanceChartProtections = chart.ShowProtections; } else if (Data.IsData && Data.IsResult && e.Button == MouseButtons.Right) { Dialogs.Balance_Chart balanceChart = new Dialogs.Balance_Chart(); balanceChart.ShowDialog(); } return; }