Hello,
I am trying to make a line grid, the labels I have are DateTimes and are long and this cause problems because I cannot make them fully visible.
I would like the text to wrap to multiple lines (break the dateTime to date and time, 19/05/2021/newLine1:51).
At first, I tried by playing with the margins to make the labels visible.
I also read this post, but the solution did not work for my case
https://www.infragistics.com/community/forums/f/ignite-ui-for-jquery/95152/word-wrap-within-an-axis-label
Here is the code I use
Hi,
You can add a LabelExtent to give the chart some margin or LabelAngle to direct the labels away from each other if they're overlapping on the Axis but you cannot unfortunately wrap the text. You could add another axis and break up the labels but I would suggest submitting a new idea on this behalf.
You can suggest new product ideas for future versions (or vote for existing ones) at <https://www.infragistics.com/community/ideas>. Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you. Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it.
Let me know if you have any questions.
Hello Michael,
Thanks for your answer!
So there is no any way I can at least show the whole label text?
Have you checked my attached code?
I would start with applying an angle to the labels.
I have already tried to play with the angle but the result I get is not "nice".
One possible solution is to use an additional xAxis and break-up the labels. But I would strongly submit a new product idea.