SFRadialAxis issue with Microsoft.Maui.Controls

Hi all,

I have  many logs during debug as listed below.

Can you check why?

thanks


[0:] Microsoft.Maui.Controls.Element: Warning: Syncfusion.Maui.Gauges.RadialAxis is already a child of Microsoft.Maui.Controls.Grid. Remove Syncfusion.Maui.Gauges.RadialAxis from Microsoft.Maui.Controls.Grid before adding to Syncfusion.Maui.Gauges.SfRadialGauge.

[0:] Microsoft.Maui.Controls.Element: Warning: Syncfusion.Maui.Gauges.RadialAxis is already a child of Microsoft.Maui.Controls.Grid. Remove Syncfusion.Maui.Gauges.RadialAxis from Microsoft.Maui.Controls.Grid before adding to Syncfusion.Maui.Gauges.SfRadialGauge.

[0:] Microsoft.Maui.Controls.Element: Warning: Syncfusion.Maui.Gauges.RadialAxis is already a child of Microsoft.Maui.Controls.Grid. Remove Syncfusion.Maui.Gauges.RadialAxis from Microsoft.Maui.Controls.Grid before adding to Syncfusion.Maui.Gauges.SfRadialGauge.

[0:] Microsoft.Maui.Controls.Element: Warning: Syncfusion.Maui.Gauges.RadialAxis is already a child of Microsoft.Maui.Controls.Grid. Remove Syncfusion.Maui.Gauges.RadialAxis from Microsoft.Maui.Controls.Grid before adding to Syncfusion.Maui.Gauges.SfRadialGauge.

[0:] Microsoft.Maui.Controls.Element: Warning: Syncfusion.Maui.Gauges.RadialAxis is already a child of Microsoft.Maui.Controls.Grid. Remove Syncfusion.Maui.Gauges.RadialAxis from Microsoft.Maui.Controls.Grid before adding to Syncfusion.Maui.Gauges.SfRadialGauge.

[0:] Microsoft.Maui.Controls.Element: Warning: Syncfusion.Maui.Gauges.RadialAxis is already a child of Microsoft.Maui.Controls.Grid. Remove Syncfusion.Maui.Gauges.RadialAxis from Microsoft.Maui.Controls.Grid before adding to Syncfusion.Maui.Gauges.SfRadialGauge.

[0:] Microsoft.Maui.Controls.Element: Warning: Syncfusion.Maui.Gauges.RadialAxis is already a child of Microsoft.Maui.Controls.Grid. Remove Syncfusion.Maui.Gauges.RadialAxis from Microsoft.Maui.Controls.Grid before adding to Syncfusion.Maui.Gauges.SfRadialGauge.

[0:] Microsoft.Maui.Controls.Element: Warning: Syncfusion.Maui.Gauges.RadialAxis is already a child of Microsoft.Maui.Controls.Grid. Remove Syncfusion.Maui.Gauges.RadialAxis from Microsoft.Maui.Controls.Grid before adding to Syncfusion.Maui.Gauges.SfRadialGauge.


8 Replies

VO Vishal Omprasad Syncfusion Team July 9, 2024 10:29 AM UTC

Hi Luca,

Regarding “SFRadialAxis issue with Microsoft.Maui.Controls”:
Based on the provided information, we have reviewed the reported query, but we are having difficulty to fully comprehend the details.

To assist you better, could you please provide additional information? Specifically, we require:

  1. A code snippet (or) a simple sample that illustrates the issue.

  2. A video/screenshot displaying the problem.

  3. A clear explanation of the issue you are facing.

Having these details will enable us to validate and resolve your query more effectively. We appreciate your understanding on this.

Regards,
Vishal O.



LU Luca July 9, 2024 01:49 PM UTC

Hi,

let me explain better.

I have a SFlist and as template I have a grid with inside a SfRadialGauge

Here an example

            <slistview:SfListView IsScrollingEnabled="False"

                                  ItemsSource="{Binding Items}"

                                      SelectionBackground="Transparent"

                  ItemSize="120" HorizontalOptions="StartAndExpand" VerticalOptions="StartAndExpand"

                                  Orientation="Vertical" ItemSpacing="0,0,0,10"

                   BackgroundColor="Transparent"

                >


                <slistview:SfListView.ItemTemplate>

                    <DataTemplate>

                        <ViewCell>

                            <Grid >

                                <Grid.ColumnDefinitions>

                                    <ColumnDefinition Width="120" />

                                </Grid.ColumnDefinitions>

                                <Grid.RowDefinitions>

                                    <RowDefinition Height="150"></RowDefinition>

                                </Grid.RowDefinitions>

                                <Border StrokeThickness="0" Padding="0"

                                   >

                                    <gauge:SfRadialGauge HeightRequest="100" VerticalOptions="Center" HorizontalOptions="Center" BackgroundColor="Red" InputTransparent="True" >


                                        <gauge:SfRadialGauge.Axes>

                                            <gauge:RadialAxis ShowTicks="False" ShowLabels="False" Minimum="0" Maximum="100" BackgroundColor="Transparent">

                                                <gauge:RadialAxis.AxisLineStyle>

                                                    <gauge:RadialLineStyle Fill="Black" ThicknessUnit="Pixel" Thickness="7"/>

                                                </gauge:RadialAxis.AxisLineStyle>

                                                <gauge:RadialAxis.Pointers>

                                                    <gauge:RangePointer CornerStyle="EndCurve" Fill="Yellow" PointerWidth="7" PointerOffset="0" EnableAnimation="False" AnimationDuration="0.8" Value="50" />

                                                </gauge:RadialAxis.Pointers>


                                            </gauge:RadialAxis>

                                        </gauge:SfRadialGauge.Axes>

                                    </gauge:SfRadialGauge>


                                </Border>

                            </Grid>


                        </ViewCell>

                    </DataTemplate>

                </slistview:SfListView.ItemTemplate>


            </slistview:SfListView>




IR Indumathi Ravichandran Syncfusion Team July 12, 2024 06:06 AM UTC

Hi Luca,


We have found and fixed the warning “SFRadialAxis issue with Microsoft.Maui.Controls” in the output window. We will include this issue fix in our upcoming weekly nuget release and let you know once the release is rolled out. We appreciate your patience until then.


Regards,

Indumathi R



DB Daniel Blackmon July 22, 2024 05:35 AM UTC

When this be released? I am blocked on this no matter what I try.



VO Vishal Omprasad Syncfusion Team July 22, 2024 08:53 AM UTC

Hi Daniel,

As we mentioned earlier, we have found and fixed the reported warning regarding the “SFRadialAxis issue with Microsoft.Maui.Controls” in the output window. This fix will be included in our 2024 Volume 2 Service Pack release update, which is tentatively scheduled for July 24, 2024. We appreciate your patience until then.

Disclaimer: Inclusion of the solution in the 2024 Volume 2 Service Pack release may change due to other factors including but not limited to QA checks and works reprioritization.

Regards,
Vishal O.



VO Vishal Omprasad Syncfusion Team July 24, 2024 01:03 PM UTC

Hi Daniel,

We have fixed the reported issue “warning in output window regarding SfRadialAxis with Microsoft.Maui.Controls” and included the fix in our 2024 Volume 2 Service Pack release update version 26.2.4 which is available for download in nuget.org.

Root-cause: The RadialAxis element already has a Grid layout as its parent.

We thank you for your support and appreciate your patience in waiting for this update. Please feel free to reach out to us if you would require any further assistance.

Regards,

Vishal O.



LU Luca July 25, 2024 07:11 PM UTC

thanks a lot!



PR Preethi Rajakandham Syncfusion Team July 26, 2024 04:30 AM UTC

Hi Luca,

You're welcome. 

We are glad that the provided response meets your requirement. Please let us know if you need further assistance. As always, we are happy to help you out.

Regards,

Preethi R 


Loader.
Up arrow icon