x axis labels tooltip

Thread is closed for posting
2 posts, 0 answers
  1. Rahul Khinvasara
    Rahul Khinvasara avatar
    303 posts
    Member since:
    Aug 2007

    Posted 08 Apr 2008 Link to this post

    I want to provide different tooltip for labels lying on x axis. How to achieve this functionality?
  2. Giuseppe
    Giuseppe avatar
    2363 posts

    Posted 11 Apr 2008 Link to this post

    Hello Rahul Khinvasara,

    You can assign tooltips for the XAxis item labels by setting the ActionRegion.Tooltip property like this:
    <telerik:RadChart ID="RadChart1" runat="server"
            <telerik:ChartSeries Name="Series 1"
                    <telerik:ChartSeriesItem Name="Item 1" YValue="4"
                    <telerik:ChartSeriesItem Name="Item 2" YValue="2"
                    <telerik:ChartSeriesItem Name="Item 3" YValue="5"
                    <telerik:ChartSeriesItem Name="Item 4" YValue="1"
                    <telerik:ChartSeriesItem Name="Item 5" YValue="7"
            <XAxis AutoScale="false" MinValue="1" MaxValue="5"
                    <telerik:ChartAxisItem Value="1" ActiveRegion-Tooltip="Item1"
                    <telerik:ChartAxisItem Value="2" ActiveRegion-Tooltip="Item2"
                    <telerik:ChartAxisItem Value="3" ActiveRegion-Tooltip="Item3"
                    <telerik:ChartAxisItem Value="4" ActiveRegion-Tooltip="Item4"
                    <telerik:ChartAxisItem Value="5" ActiveRegion-Tooltip="Item5"

    All the best,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top