Watermark for Chart

Tried to use Annotation to set the watermark for chart.


I had two issues

1) I wasnt able to set the text to Binding

2) Annotation is Above Charts. How to set the Z order or send the annotation to back of chart

Is there a better way to set watermark

Image_2606_1720828501889


2 Replies 1 reply marked as answer

PD Praveen D July 13, 2024 02:08 AM UTC

Found this on one of the example uploaded in forum

\Below XAML works

 <chart:SfCartesianChart.PlotAreaBackgroundView >

     <AbsoluteLayout >

         <Label Text="{Binding Path= Symbol}"


       FontSize="80"

       FontAttributes="Bold"

       TextColor="Gray"

       Margin="10,0,0,0"

       AbsoluteLayout.LayoutBounds="0.5,0.5,-1,-1"

       AbsoluteLayout.LayoutFlags="PositionProportional"

       Opacity="0.3" />

     </AbsoluteLayout>

 </chart:SfCartesianChart.PlotAreaBackgroundView>


Marked as answer

NT Nitheeshkumar Thangaraj Syncfusion Team July 15, 2024 11:21 AM UTC

Hi Praveen,

 

We appreciate your findings on adding a watermark behind the chart using PlotAreaBackgroundView. Do you still need to place the annotation as a watermark at the back of the chart?

 

Regarding, Z order support for annotation in .Net Maui SfCartesianChart. We have already created the feature request and add it to in our request list. You can status or progress of the support in the following feedback link.

 

Feedback: Providing Z-Order support for annotations in .NET MAUI SfCartesianChart

We will prioritize the features in every release based on the demands, and we do not have an immediate plan to implement this since we committed to already planned work. So, this feature will be available for any of our upcoming releases.

 

Please cast your vote to make it count, and if you have any more specifications or suggestions for the feature request, you can add them as a comment in the feedback portal.

 

Please let us know if you need further assistance or have any other questions. Thank you!

 

Regards,

Nitheeshkumar.

 


Loader.
Up arrow icon