Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2385
Label Location in Radial Chart
posted

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

Parents
No Data
Reply
  • 2155
    Offline posted

    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

Children