Open danilorago opened 3 years ago
Hello,
You can use the function yLabelFormat()
to solve this problem.
The value provided to Morris would be the standard values as shown in your example, but then the function yLabelFormat()
could format the value in the way you want. You can read more about this function in the help: http://morrisjs.github.io/morris.js/lines.html
I'm trying to use Morris to create a graph, and it's almost everything working. My issue is that I have to use the brazilian format with number. Should be "1.234,00" instead "1,234.00". Someone knows how to change? I tried a lot of times but I couldn't find a way... I tried to use the function format_number with PHP, but when I change to the brazilian format the graph don't open.