Not show decimal point

Hello,

in my Linear Gauge not showing the decimal point.

My code:

<SfLinearGauge Orientation="Syncfusion.Blazor.LinearGauge.Orientation.Horizontal" Height="@Height" Width="@Width" Background="transparent" Format="n2">

                                                        <LinearGaugeAnnotations>

                                                            <LinearGaugeAnnotation ZIndex="1"

                                                                                   HorizontalAlignment="Syncfusion.Blazor.LinearGauge.Placement.Center"

                                                                                   VerticalAlignment="Syncfusion.Blazor.LinearGauge.Placement.None">

                                                                <ContentTemplate>

                                                                    <div class="custom-annotation">WHR @OutRisultatiWhr</div>

                                                                </ContentTemplate>

                                                            </LinearGaugeAnnotation>

                                                        </LinearGaugeAnnotations>

                                                        <LinearGaugeTitleStyle FontWeight="499" FontFamily="inherit" />

                                                        <LinearGaugeAxes>

                                                            <LinearGaugeAxis Minimum="0" Maximum="3" OpposedPosition="true">

                                                                <LinearGaugeLine Width="0" />

                                                                <LinearGaugeMajorTicks Interval="0.5" Height="7" Width="1" />

                                                                <LinearGaugeMinorTicks Interval="0.1" Height="3" />

                                                                <LinearGaugeAxisLabelStyle UseRangeColor="true">

                                                                    <LinearGaugeAxisLabelFont FontFamily="inherit"></LinearGaugeAxisLabelFont>

                                                                </LinearGaugeAxisLabelStyle>


Thank


Attachment: Capture_e22c09.zip

1 Reply

IR Indumathi Ravi Syncfusion Team May 20, 2022 02:29 PM UTC

Hi Luigi,


Thank you for contacting Syncfusion support.


We are unable to reproduce the reported issue with the provided code snippet in the Linear Gauge component. The decimal value is rendered in the axis of the Linear Gauge. Please find the sample application and screen shot, in which we tried to reproduce the reported issue, below.


https://www.syncfusion.com/downloads/support/directtrac/general/ze/LinearDecimalSample1225129027

Please modify the above sample to reproduce the reported issue and share the same to us. It will be helpful for us to analyze and assist you further.


Regards,

Indumathi R.


Loader.
Up arrow icon