public override void OnBeforePaint(NPanel panel, NPanelPaintEventArgs eventArgs)
            {
                NChart    chart      = panel as NChart;
                NRange1DD rulerRange = chart.Axis(StandardAxis.PrimaryY).Scale.RulerRange;

                NLabel label = new NLabel();

                label.Location                   = new NPointL(new NLength(100, NRelativeUnit.ParentPercentage), new NLength(0, NRelativeUnit.ParentPercentage));
                label.ContentAlignment           = ContentAlignment.BottomLeft;
                label.TextStyle.FontStyle.EmSize = new NLength(10);
                label.Text = " Min[" + rulerRange.Begin + "] Max[" + rulerRange.End + "]";

                chart.ChildPanels.Add(label);
                chart.RecalcLayout(eventArgs.Context);
            }