I'm trying to draw a specific graph using RadChartView.
However, I couldn't find a way to remove the border line, which is marked with a red arrow in the attached image.
The background color must be Transparent.
Please tell me how to remove only those lines.
1 Answer, 1 is accepted
1
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 26 Oct 2022, 08:31 AM
Hello, JaeHa,
According to the provided screenshot, it wouldn't be easy to determine what is the exact setup for RadChartView that you have to observe the border around the axis labels. I suspect that you are setting the BorderColor for the horizontal axis:
In order to get rid of the border around the labels, you may use the following approach:
lineSeries.HorizontalAxis.BorderColor = Color.Red;
foreach (var item in lineSeries.HorizontalAxis.Children)
{
AxisLabelElement label = item as AxisLabelElement;
if (label==null)
{
continue;
}
label.BorderWidth = 0;
}
I hope this information helps.
Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.