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.
Hi. Looks like you are referring to the Axis Extent property. Here change the Axis.X.Extent to a smaller value.
Ah, that is why I couldn't find it. It's called Extent. Ok, thank you very much mister Kraft.