This is a migrated thread and some comments may be shown as answers.

x axis labels tooltip

1 Answer 46 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Rahul Khinvasara
Top achievements
Rank 1
Rahul Khinvasara asked on 08 Apr 2008, 06:19 AM
I want to provide different tooltip for labels lying on x axis. How to achieve this functionality?

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 11 Apr 2008, 08:01 AM
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"
    <Series> 
        <telerik:ChartSeries Name="Series 1"
            <Items> 
                <telerik:ChartSeriesItem Name="Item 1" YValue="4"
                </telerik:ChartSeriesItem> 
                <telerik:ChartSeriesItem Name="Item 2" YValue="2"
                </telerik:ChartSeriesItem> 
                <telerik:ChartSeriesItem Name="Item 3" YValue="5"
                </telerik:ChartSeriesItem> 
                <telerik:ChartSeriesItem Name="Item 4" YValue="1"
                </telerik:ChartSeriesItem> 
                <telerik:ChartSeriesItem Name="Item 5" YValue="7"
                </telerik:ChartSeriesItem> 
            </Items> 
        </telerik:ChartSeries> 
    </Series> 
    <PlotArea> 
        <XAxis AutoScale="false" MinValue="1" MaxValue="5"
            <Items> 
                <telerik:ChartAxisItem Value="1" ActiveRegion-Tooltip="Item1"
                </telerik:ChartAxisItem> 
                <telerik:ChartAxisItem Value="2" ActiveRegion-Tooltip="Item2"
                </telerik:ChartAxisItem> 
                <telerik:ChartAxisItem Value="3" ActiveRegion-Tooltip="Item3"
                </telerik:ChartAxisItem> 
                <telerik:ChartAxisItem Value="4" ActiveRegion-Tooltip="Item4"
                </telerik:ChartAxisItem> 
                <telerik:ChartAxisItem Value="5" ActiveRegion-Tooltip="Item5"
                </telerik:ChartAxisItem> 
            </Items> 
        </XAxis> 
    </PlotArea> 
</telerik:RadChart> 




All the best,
Manuel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Chart (Obsolete)
Asked by
Rahul Khinvasara
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or