ChartStripLine label not visible on NumericalAxis with OpposedPosition enabled - Branched from F198414

However, I noticed an issue with the ChartStripLine label on the NumericalAxis. I replaced mycustom LineAnnotation-based close price line with a ChartStripLine on the Y-axis:


```csharp

var stripLine = new ChartStripLine

{

    Start = lastClose,

    Width = yRange * 0.03,

    Label = lastClose.ToString(format),

    Background = new SolidColorBrush(Color.FromArgb(30, 160, 160, 160)),

};

CandleYAxis.StripLines.Add(stripLine);

```

The horizontal line renders correctly, but the Label text does not appear — neither on the axis edge nor inside the strip line area. We tried setting LabelHorizontalAlignment/LabelVerticalAlignment, but the label is still not visible.

I am using OpposedPosition="True" on the NumericalAxis. Does ChartStripLine.Label work with OpposedPosition? Is there an additional property we need to set to make the label visible?


1 Reply

PP Priyadharshini Periyasamy Syncfusion Team June 11, 2026 11:19 AM UTC

Hi Mehboob Meghani,

 

Thank you for reaching out to us.

 

We have checked this behavior from our end, but we were not able to reproduce the issue. The ChartStripLine.Label is rendering properly in our testing, including when using OpposedPosition = "True" on the NumericalAxis.

 

We verified this using both XAML and code-behind implementations. For your reference, we’ve included a sample that was tested successfully on our side.

 

Could you please review the shared sample, output image and check if the same approach works in your environment? If you are still facing the issue, we kindly request you to modify the sample to reproduce the problem on your end and share it back with us, along with the exact steps to reproduce.



 

This will help us investigate further and assist you more effectively.

 

Regards,

Priyadharshini P


Attachment: Sample_10f95f52.zip

Loader.
Up arrow icon