Exemple #1
0
        private void LegendItemOrder_EditValueChanged(object sender, EventArgs e)
        {
            if (InSetup)
            {
                return;
            }

            string txt = LegendItemOrder.Text;

            txt = Lex.CompressCapitalizedName(txt);
            View.LegendItemOrder =
                (DevExpress.XtraCharts.LegendDirection)Enum.Parse(typeof(DevExpress.XtraCharts.LegendDirection), txt);
            View.ConfigureRenderingControl();
        }
Exemple #2
0
        private void LegendVerticalAlignment_EditValueChanged(object sender, EventArgs e)
        {
            if (InSetup)
            {
                return;
            }

            string txt = LegendAlignmentVertical.Text;

            txt = Lex.CompressCapitalizedName(txt);
            View.LegendAlignmentVertical =
                (DevExpress.XtraCharts.LegendAlignmentVertical)Enum.Parse(typeof(DevExpress.XtraCharts.LegendAlignmentVertical), txt);
            View.ConfigureRenderingControl();
        }