W jaki sposób sformatować ticks w moim jqplot, aby obsłużyć zmianę pomiędzy i. i "" w zależności od regionu, w którym się znajduję.JQPlot - tagi formatowania oparte na regionie
Na przykład.
- Europejska - 1.000,00
- US - 1.000,00
- Pozostałe 1 000,00
Mój przykład inicjalizacji jqplot wygląda ....
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'
}
},
}
});
Spojrzałem za pośrednictwem dokumentacji, ale nie jestem pewien, jakie słowa kluczowe muszę szukać ... każda pomoc byłaby doceniana
Uczenie się, że mogę ustawić $ .jqplot.sprintf.thousandsSeparator i $ .jqplot.sprintf.decimalMark rozwiązałem dla mojej strony niemieckiej. Wielkie dzięki! – alfonx