Inverse axis

Greetings!

Is it possible to do inverse direction for linear gauge?

I would like to start axis from bottom in vertical orientation and it is by default from top.


4 Replies

ET Eswaran Thirugnanasambandam Syncfusion Team January 6, 2022 11:43 AM UTC

Hi Thilo Brosinsky, 
 
Your requirement can be achieved by setting the ScaleDirection property of LinearScale as Backward. Please find the code example below.  
[XAML] 
<gauge:SfLinearGauge Orientation="Vertical"> 
    <gauge:SfLinearGauge.MainScale> 
        <gauge:LinearScale ScaleDirection="Backward" 
                                            … >                                       
. . . 
</gauge:SfLinearGauge> 
 
  
Output: 
 
We have prepared sample for the same. Please get it from the attachment. 
 
Please refer to the below user guide link for more information about the ScaleDirection property of the LinearScale. 
 
Regards, 
Eswaran 



ET Eswaran Thirugnanasambandam Syncfusion Team January 6, 2022 12:36 PM UTC

Hi Thilo Brosinsky, 
 
Please get the sample from the below link: 
 
Regards, 
Eswaran 



TB Thilo Brosinsky January 6, 2022 01:40 PM UTC

Thank you very much!


It worked like a charm!



ET Eswaran Thirugnanasambandam Syncfusion Team January 7, 2022 06:09 AM UTC

Hi Thilo Brosinsky, 
 
We are glad to hear that the provided solution has achieved your  requirement. Please get in touch with us if you would require any further assistance.  
 
Regards, 
Eswaran 


Loader.
Up arrow icon