如何格式化jqplot中的刻度以處理和之間的變化。和「」取決於我所在的地區。JQPlot - 基於區域的格式刻度
例如。
- 歐洲 - 1.000,00
- 美國 - 1,000.00
- 其他1 000,00
我的例子jqplot初始化貌似....
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'
}
},
}
});
我看着通過文檔,但我不知道我需要尋找什麼關鍵字...任何幫助,將不勝感激
瞭解到我可以只設置$ .jqplot.sprintf.thousandsSeparator和 $ .jqplot.sprintf.decimalMark解決了它對於我的德語版頁面。非常感謝! – alfonx