Internationalization in ASP.NET Linear Gauge

17 Feb 20221 minute to read

Globalization is the process of designing and developing a component that works in different cultures. Internationalization is used to globalize the number content in Linear Gauge component using Format property in Linear Gauge. It has static text on some features such as

  • Axis label
  • Tooltip

The static text on above features can be changed to any culture such as Arabic, Deutsch and French. To know more about the globalization in ASP.NET Core components, refer here.

Numeric Format

The text in axis labels and tooltip can be displayed in the numeric format such as currency, percentage and so on. To know more about the numeric formats in axis labels, refer here. In the below example, the axis label is displayed in the currency format.

@using Syncfusion.EJ2.LinearGauge

<ejs-lineargauge id="linear" Format="c">
    <e-lineargauge-axes>
        <e-lineargauge-axis>
        </e-lineargauge-axis>
    </e-lineargauge-axes>
</ejs-lineargauge>

Linear Gauge with currency label format