public Balance_Chart()
{
Text = Language.T("Balance / Equity Chart");
Icon = Data.Icon;
AcceptButton = btnClose;
// Button Close
btnClose = new Button();
btnClose.Parent = this;
btnClose.Text = Language.T("Close");
btnClose.DialogResult = DialogResult.Cancel;
btnClose.UseVisualStyleBackColor = true;
// Balance chart
balanceChart = new Small_Balance_Chart();
balanceChart.Parent = this;
balanceChart.MouseMove += new MouseEventHandler(BalanceChart_MouseMove);
balanceChart.MouseLeave += new EventHandler(BalanceChart_MouseLeave);
balanceChart.ShowDynamicInfo = true;
balanceChart.SetChartData();
balanceChart.InitChart();
// Label Dynamic Info
lblDynInfo = new Label();
lblDynInfo.Parent = this;
lblDynInfo.ForeColor = LayoutColors.ColorControlText;
lblDynInfo.BackColor = Color.Transparent;
}