Làm cách nào để định dạng các dấu tích trong jqplot của tôi để xử lý thay đổi giữa, và. và "" tùy thuộc vào khu vực tôi đang ở.JQPlot - định dạng ve dựa trên khu vực
Ví dụ:
- châu Âu - 1.000,00
- Mỹ - 1,000.00
- khác 1 000,00
My dụ jqplot khởi trông giống như ....
plot3 = $.jqplot('saturationChart', lineArray,
{
title:m_Language.saturationChartName,
series:lineColor,
legend:{show:true, location:'se'},
// You can specify options for all axes on the plot at once with
// the axesDefaults object. Here, we're using a canvas renderer
// to draw the axis label which allows rotated text.
axes:{
xaxis:{
// label:'Minutes',
renderer: $.jqplot.LogAxisRenderer,
tickDistribution:'power',
labelRenderer: $.jqplot.CanvasAxisLabelRenderer,
labelOptions: {
//fontSize: '12pt'
},
},
yaxis:{
// label:'Megaohms',
renderer: $.jqplot.LogAxisRenderer,
tickDistribution:'power',
labelRenderer: $.jqplot.CanvasAxisLabelRenderer,
labelOptions: {
//fontSize: '12pt'
}
},
}
});
Tôi nhìn thông qua tài liệu nhưng tôi không chắc chắn những từ khóa tôi cần tìm ... bất kỳ trợ giúp nào sẽ được đánh giá cao
Tìm hiểu rằng tôi chỉ có thể đặt $ .jqplot.sprintf.thousandsSeparator và $ .jqplot.sprintf.decimalMark đã giải quyết nó cho trang chỉ có tiếng Đức của tôi. Cảm ơn rất nhiều! – alfonx