winforms 如何删除Infragistics复合图表的边框?

wko9yo5t  于 2023-04-07  发布在  其他
关注(0)|答案(1)|浏览(112)

有谁知道如何删除这个复合图表上的黑色边框(Infragistics Winforms 2018.1)?

我尝试了所有的方法,但都不起作用:

this.Curva.Border.Color = Color.Transparent;
this.Curva.CompositeChart.ChartAreas[0].Border.Color = Color.Transparent;
columnLayer.ChartArea.Border.Thickness = 0;
chhqkbe1

chhqkbe11#

寒鸦,见:

AxisItem xAxisColumn = new AxisItem(this.Curva, AxisNumber.X_Axis);
AxisItem xAxisLine = new AxisItem(this.Curva, AxisNumber.X_Axis);

xAxisColumn.DataType = AxisDataType.String;
xAxisColumn.SetLabelAxisType = SetLabelAxisType.GroupBySeries;
xAxisColumn.Labels.ItemFormat = AxisItemLabelFormat.Custom;
xAxisColumn.Labels.SeriesLabels.Visible = true;
xAxisColumn.Labels.SeriesLabels.Orientation = TextOrientation.VerticalLeftFacing;
xAxisColumn.Labels.SeriesLabels.FormatString = "<SERIES_LABEL: ##.##>";

xAxisLine.DataType = AxisDataType.String;
xAxisLine.SetLabelAxisType = SetLabelAxisType.ContinuousData;
xAxisLine.Labels.Visible = false;

area.Axes.Add(xAxisColumn);
area.Axes.Add(xAxisLine);

相关问题