Search code examples
pchart

Pchart 2.0 large data description


I have a bar chart, I want to show a description in the abscissa instead of the value of each bar. The description is very large and I want to know how to set a width for that description.

This is what I'm getting enter image description here

And this is what I want enter image description here

Thanks in advance.


Solution

  • I found one way to do this, just add "\n" where you need to break the string. I hope this help other people. If anybody know a better way to do it, add comments :)