I'm creating a bar chart using Oracle JET and trying to format the Y axis labels as percentage. When I use the Number Converter factory, it automatically multiplies the values by 100. Is there some way to prevent it?
Method 1:
var percentConverter =
oj.Validation.converterFactory(oj.ConverterFactory.CONVERTER\_TYPE\_NUMBER).
createConverter(
{
style : 'percent'
})
Method 2:
var percentConverter =
oj.Validation.converterFactory(oj.ConverterFactory.CONVERTER\_TYPE\_NUMBER).
createConverter(
{
pattern : '#%'
});
In both the above methods, if the Y axis tick labels are 0 to 100, I see 0% to 10000%.
