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

No way to add Tooltip to ToolTipManager

3 Answers 72 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
CSurieux
Top achievements
Rank 2
CSurieux asked on 14 Sep 2008, 03:38 PM
Hello,

I use a global TootlTipManager and add CliendID of controls to tooltipify in codebehind.
How could I add a serie item for which I haveadded a Tooltip ?
Il have tried with name, but its NOK, there is no clientID, I see that RadChart generates AREA HTMLtag but without ID or Name.

As I can't have 2 tooltip managers with one dedicated to general tooltipify action and one dedicated to some controls, any help welcome.

A little sup question, should I add a PointMArk or is it automatic as soon as I add a tooltip in an item region ?

Last one: I find no way to set orientation for items labels, got it for axix but found nothing for items.

Thanks
CS

3 Answers, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 17 Sep 2008, 07:41 AM
Hello Christian,

Indeed, RadChart does not render id's for the areas in the image map. I have notified our developers of this, the fix is expected with the next release. I am afraid the solution here would be to add a second RadTooltipManager for the time being. Please, accept our apologies for the inconvenience caused.

Onto your other questions -- the PointMark will not be shown automatically when the tooltip is added. You will need to set its Visible property to true. You can rotate the item labels -- the property is series.Appearance.LabelAppearance.RotationAngle. Here is an example:

<Series> 
            <telerik:ChartSeries Name="Series 1" Type="Line"
                <Appearance> 
                    <LabelAppearance RotationAngle="45"
                    </LabelAppearance> 
                    <PointMark Visible="True"
                    </PointMark> 
                </Appearance> 
                <Items> 
                    .... 
                </Items> 
            </telerik:ChartSeries> 
        </Series> 

Hope this helps.

Best regards,
Ves
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
CSurieux
Top achievements
Rank 2
answered on 17 Sep 2008, 08:41 AM
Hello Ves,

Thanks for usefull answer.
But concerning the second RadTooltipManager, I don't understand how to proceed : as it is impossible to have a manager that tootipify all by default and another which works only on selected items ?
I have already a forum exchange on this and did some try: the general manager breaks normal behavior of any other dedicated tooltipmanager.
May be I missed something ?

Concerning label orientation in series, I think that I have tryed it from codebehind and it was not working, I will do a second try.
I have another question: my x-axis label is writen half on the bottom border of the graph and so has its bottom part cut, how to put it a little upper in the graph without interfering with my units labels wich are small dates orientated 45° ( and overiding part of my x-axis lien ?) ?

Thanks
CS
0
Ves
Telerik team
answered on 19 Sep 2008, 08:15 AM
Hello Christian Surieux,

Onto your chart question - you can increase the bottom margin of the plot area or try the automatic layout. As for the two tooltip managers -- please, find attached a sample page showing two tooltip managers in action. Note, that the specific tooltip manager is added first.

Hope this helps.

All the best,
Ves
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Chart (Obsolete)
Asked by
CSurieux
Top achievements
Rank 2
Answers by
Ves
Telerik team
CSurieux
Top achievements
Rank 2
Share this question
or