开发者

Telerik RadChart autosize x-axis labels (non-numeric)

开发者 https://www.devze.com 2023-02-20 01:50 出处:网络
I have DataBind(ed) a RadChart, and the x-axis values are non-numeric (text).I have already added XAxis-Appearance-LabelAppearance-RotationAngle=\"45\" to better display the x-axis labels.I am unable

I have DataBind(ed) a RadChart, and the x-axis values are non-numeric (text). I have already added XAxis-Appearance-LabelAppearance-RotationAngle="45" to better display the x-axis labels. I am unable to find a way 开发者_开发问答to make the space that contains the x-axis labels autosize. Is this possible?

example (the rotation works, the others were my unsuccessful attempts at autosizing the label area):

<telerik:RadChart ID="RadChart1" runat="server" Width="600px">
<PlotArea XAxis-Appearance=LabelAppearance-Dimensions-AutoSize="true"
  XAxis-Appearance-LabelAppearance-RotationAngle="45"
  Appearance-Dimensions-AutoSize="true"
</Plot Area>
</telerik:RadChart>

Thanks!

0

精彩评论

暂无评论...
验证码 换一张
取 消