I try to show a radial line series. But I find the label is cut.
I saw a similar post talk about this. But I don't find the explain of LabelSettings of axis.
Could you explain following properties:
NumericRadiusAxis.RadiusExtentScale
AxisLabelSettings.Extent AxisLabelSettings.Location And it looks AxisLabelSettings.Location is read only. I use 19.2.90 package
Hello Shengjie,
What I can see from your image is that the label being cut off is of CategoryAngleAxis but not of NumericRadiusAxis.You will be able to move the CategoryAngleAxis label text horizontally by setting AxisLabelSettings.Extent property like below.
AxisLabelSettings settings = new AxisLabelSettings(); settings.Extent = 0; categoryAngleAxis1.LabelSettings = settings;
Since you cannot set negative values for Extent, you may want to consider setting a smaller value to NumericRadiusAxis.RadiusExtentScale or making the text multiline for further adjustments.
Please take a look at the attached sample where I attempted to show the full label text by setting both AxisLabelSettings.Extent and NumericRadiusAxis.RadiusExtentScale.
6648.WpfApp1.zip
I tried your setting. The length is not enough.
I find following properties:
LabelSettings.TextWrapping
LabelSettings.LabelPanelStyle
Are they helpful?
You can make the label multiline by inserting a newline character where you want to wrap the text.I have created a sample of the CategoryAngleAxis label in three lines.
WpfApp1_multiline.zip
I hope I can set a width to the label. Then the label will wrap the string automatically by the width. Is it possible?
Unfortunately, it is currently not possible to set a fixed width to the label.
AxisLabelSettings.Extent and NumericRadiusAxis.RadiusExtentScale properties are the only options to adjust the positioning of the labels at this moment.
You can suggest other possibilities to avoid clipped labels as new product ideas for future versions (or vote for existing ones) at www.infragistics.com/.../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. You can also link back to this thread for additional details.Thank you in advance to submitting your product idea.