/// <summary>
        /// Draw a legend key entry for this <see cref="OHLCBarItem"/> at the specified location
        /// </summary>
        /// <param name="g">
        /// A graphic device object to be drawn into.  This is normally e.Graphics from the
        /// PaintEventArgs argument to the Paint() method.
        /// </param>
        /// <param name="pane">
        /// A reference to the <see cref="ZedGraph.GraphPane"/> object that is the parent or
        /// owner of this object.
        /// </param>
        /// <param name="rect">The <see cref="RectangleF"/> struct that specifies the
        /// location for the legend key</param>
        /// <param name="scaleFactor">
        /// The scaling factor to be used for rendering objects.  This is calculated and
        /// passed down by the parent <see cref="ZedGraph.GraphPane"/> object using the
        /// <see cref="PaneBase.CalcScaleFactor"/> method, and is used to proportionally adjust
        /// font sizes, etc. according to the actual size of the graph.
        /// </param>
        override public void DrawLegendKey(Graphics g, GraphPane pane, RectangleF rect,
                                           float scaleFactor)
        {
            float pixBase, pixHigh, pixLow, pixOpen, pixClose;

            if (pane._barSettings.Base == BarBase.X)
            {
                pixBase  = rect.Left + rect.Width / 2.0F;
                pixHigh  = rect.Top;
                pixLow   = rect.Bottom;
                pixOpen  = pixHigh + rect.Height / 3;
                pixClose = pixLow - rect.Height / 3;
            }
            else
            {
                pixBase  = rect.Top + rect.Height / 2.0F;
                pixHigh  = rect.Right;
                pixLow   = rect.Left;
                pixOpen  = pixHigh - rect.Width / 3;
                pixClose = pixLow + rect.Width / 3;
            }

            Axis  baseAxis = BaseAxis(pane);
            float halfSize = _stick.GetBarWidth(pane, baseAxis, scaleFactor);

            using (Pen pen = new Pen(_stick.Color, _stick._width))
            {
                _stick.Draw(g, pane, pane._barSettings.Base == BarBase.X, pixBase, pixHigh,
                            pixLow, pixOpen, pixClose, halfSize, scaleFactor, pen,
                            _stick.RisingFill,
                            _stick.RisingBorder, null);
            }
        }