|
<SfLinearGauge AllowMargin="false" Orientation="Orientation.Horizontal">
<LinearGaugeAxes>
<LinearGaugeAxis Maximum="100" Minimum="0"></LinearGaugeAxis>
</LinearGaugeAxes>
</SfLinearGauge> |
Hello
Thanks for your answer , Is it possible to add allowmargin depending on device type, I want the property to work only for desktop devices (I am using ANgular 9)
Thanks in advance
|
[app.component.html]
<ejs-lineargauge [allowMargin]="allowMargin"> </ejs-lineargauge> [app.component.ts] ngOnInit() { this.allowMargin = Browser.isDevice ? true : false;
} |
Hello please is possible to enable this property for xamarin also?? I cant find it in xamarin leaner gauge control.
|
<gauge:SfLinearGauge>
<gauge:SfLinearGauge.Scales>
<gauge:LinearScale ScaleOffset="0"/>
</gauge:SfLinearGauge.Scales>
</gauge:SfLinearGauge> |