how to wrap the text of axis in code behind of RAD HTML CHART

Thread is closed for posting
2 posts, 0 answers
  1. avinash
    avinash  avatar
    9 posts
    Member since:
    Apr 2014

    Posted 12 May 2014 Link to this post

    hi, i have dynamically creted a radhtmlchart in code behind , now i want to wrap the text of chart tiltle or axis title using C#

    i have tried like this

    // ChartTitle.TextBlock.Appearance.AutoTextWrap
             // Axis.Appearance.TextAppearance.AutoTextWrap
             // RadHtmlChart1.PlotArea.YAxis.TitleAppearance = Telerik.Charting.Styles.AutoTextWrap.True;
             // RadHtmlChart1.ChartTitle.Appearance.Align = Telerik.Charting.Styles.AutoTextWrap.True;
            // RadHtmlChart1.PlotArea.YAxis.TitleAppearance.tex = Telerik.Charting.Styles.AutoTextWrap.True;
             // RadHtmlChart1.PlotArea.YAxis.TitleAppearance.TextStyle=Telerik.Web.UI.HtmlCha
           // RadHtmlChart1.ChartTitle.Appearance.TextStyle=Telerik.Web.UI.HtmlChart.TextStyles.

    but none of them work .

    any help ?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 12 May 2014 in reply to avinash Link to this post

    Hi avinash,

    Text wrapping is not available in RadHtmlChart because SVG itself does not support line breaks in text elements. As a work around please have a look into this thread.

Back to Top