[Kimchi-devel] [Wok][PATCH v2 3/7] Multi-Culture support - Add locale in format settings in wok.line-chart.js

pkulkark at linux.vnet.ibm.com pkulkark at linux.vnet.ibm.com
Thu May 5 07:02:25 UTC 2016


From: Pooja Kulkarni <pkulkark at linux.vnet.ibm.com>

co-authored by: Archana Singh <archus at linux.vnet.ibm.com>

This patch includes the locale in format setting
for line-chart widget.

Signed-off-by: Pooja Kulkarni <pkulkark at linux.vnet.ibm.com>
---
 ui/js/src/wok.line-chart.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ui/js/src/wok.line-chart.js b/ui/js/src/wok.line-chart.js
index e0113f3..12744af 100644
--- a/ui/js/src/wok.line-chart.js
+++ b/ui/js/src/wok.line-chart.js
@@ -79,7 +79,8 @@ wok.widget.LineChart = function(params) {
                     formatSettings = {
                         base: series['base'],
                         unit: series['unit'],
-                        fixed: series['fixed']
+                        fixed: series['fixed'],
+                        locale: series['locale']
                     };
                 }
             });
-- 
2.1.0




More information about the Kimchi-devel mailing list