void PnlPrice_Resize(object sender, EventArgs e)
{
XLeft = spcLeft;
XRight = pnlPrice.ClientSize.Width - spcRight;
chartWidth = Math.Max(XRight - XLeft, 0);
YTop = spcTop;
YBottom = pnlPrice.ClientSize.Height - spcBottom;
YBottomText = pnlPrice.ClientSize.Height - spcBottom * 5 / 8 - 4;
pnlPrice.Invalidate();
return;
}