Add Custom Text to Chart

2 posts, 0 answers
  1. Adam
    Adam avatar
    1 posts
    Member since:
    Mar 2016

    Posted 23 May Link to this post

    I have a need to add custom text to graphs which are completely independent of the title or legend -- for instance, perhaps a "Generated Date" in the upper-left corner.  I have seen some examples of customizing legends or titles using the KendoUI API.  I am not familiar with this, but even so the examples show customizing other parts of the graph that already exist.

    Any examples or documentation or hints available for this scenario?


  2. Marin Bratanov
    Marin Bratanov avatar
    3551 posts

    Posted 25 May Link to this post

    Hello Adam,

    I believe the closest feature is called Notes and you can monitor its status here:

    You can use is through the underlying Kendo Chart widget in the meantime:

    Alternatively, you can use the Title of the chart and place it to the left or right, something like:

    <telerik:RadHtmlChart ID="RadHtmlChart1" runat="server">
        <ChartTitle Text="my custom message">
            <Appearance Position="Top" Align="Right"></Appearance>

    Yet another approach is to add a <span> or <div> element next to the chart and position it over the chart via CSS (position: absolute; and set appropriate top, left, bottom and/or right values).


    Marin Bratanov
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. DevCraft R3 2016 release webinar banner
Back to Top