如何格式化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