28 Jun 20171 minute to read

EjChart supports localization for its axis labels and tooltip. To render the chart with specific culture you have to refer the corresponding globalize culture script and need to specify the culture name in e-locale property of chart.

  • HTML
  • <html xmlns="http://www.w3.org/1999/xhtml" lang="en" ng-app="ChartApp">
            <title>Essential Studio for AngularJS: Chart</title>
            <!--CSS and Script file References -->
            <!--Refer french globalize culture script-->
        <script src="../scripts/cultures/globalize.culture.fr-FR.min.js"></script>
        <body ng-controller="ChartCtrl">
            <div id="container" ej-chart  e-locale="fr-FR">
            angular.module('ChartApp', ['ejangular'])
            .controller('ChartCtrl', function ($scope) {