Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1365
Margin between X axis and Legend
posted

Dear experts,

I've found a lot of margins (A LOT), but somehow I keep missing how to descrease the margin between the X axis and the legend of my Ultrachart. These are the settings if that is important for my question:

            this.ultraChartRisks.ChartType = Infragistics.UltraChart.Shared.Styles.ChartType.ScatterChart;
            this.ultraChartRisks.ScatterChart.ConnectWithLines = true;
            this.ultraChartRisks.ScatterChart.IconSize = Infragistics.UltraChart.Shared.Styles.SymbolIconSize.Small;
            this.ultraChartRisks.Legend.Visible = true;
            this.ultraChartRisks.Legend.Location = Infragistics.UltraChart.Shared.Styles.LegendLocation.Bottom;
            this.ultraChartRisks.ColorModel.ModelStyle = Infragistics.UltraChart.Shared.Styles.ColorModels.CustomLinear;
            this.ChartColors = new Color[] { Color.Red, Color.Orange, Color.Green, Color.Blue, Color.Indigo, Color.Violet, Color.Teal };
            this.ultraChartRisks.ColorModel.CustomPalette = this.ChartColors;
            this.ultraChartRisks.Axis.X.RangeMin = 40;
            this.ultraChartRisks.Axis.X.RangeMax = 70;
            this.ultraChartRisks.Axis.X.TickmarkStyle = Infragistics.UltraChart.Shared.Styles.AxisTickStyle.DataInterval;
            this.ultraChartRisks.Axis.X.TickmarkInterval = 1;
            this.ultraChartRisks.Axis.X.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.VerticalRightFacing;
            this.ultraChartRisks.Axis.Y.RangeMin = 0;
            this.ultraChartRisks.Axis.Y.RangeMax = 50;

I find the space between my X axis and my Legend too big and I would like to make this space smaller. Thanks in advance for answering my question.

Parents Reply Children
No Data