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

Showing label for specific itemMapping in RadChart

5 Answers 55 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Tamara
Top achievements
Rank 1
Tamara asked on 15 Aug 2013, 05:15 AM
Hi,
  
I have RadChart and pager for choosing an item from the chart.
This operation should show label for that specific itemMapping.
  
How should I implement that?
  
Thanks,
  
Tamara.

5 Answers, 1 is accepted

Sort by
0
Tamara
Top achievements
Rank 1
answered on 19 Aug 2013, 06:41 AM
Can anyone answer me please?

Thanks.
0
Tamara
Top achievements
Rank 1
answered on 01 Sep 2013, 02:01 PM
Hi,

As I wrote before, I have problem to implement showing label for specific item from the chart.
Is it possible at all for SeriesDefintion? I know that for the LineSeries there is the PointMarks option.

Tamara
0
Petar Marchev
Telerik team
answered on 04 Sep 2013, 10:27 AM
Hi Tamara,

I am unsure what is the final result that you are after. The RadChart does not have out-of-the-box functionality to show a label for a certain item. The chart shows either all labels or none.

Perhaps you can work this out, but the solution would highly depend on your set up. One way to go is to use the selection API of the chart (chart1.DefaultView.ChartArea.SelectItem and/or other methods) to select an item and handle the visibility of the label. You will need mainly to use code behind.

Another approach would be to use the hover effects to annotate an item. I have attached an item to demonstrate this.

Let us know if you were able to achieve the desired effect. If you need further assistance I will ask that you attach a snapshot of the desired effect, so that it is clear what you are after.

Regards,
Petar Marchev
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Tamara
Top achievements
Rank 1
answered on 10 Sep 2013, 07:12 AM
Hi Petar,

Thank you for the help:)
In the end I created a popup outside of the chart because of matter of time.

I have another issue that I dont found solution for.
My RadChart's flow direction is left to right, but I need that the tooltip text of the itemMapping direction will be right to left.
How should I do that?

Regrads,

Tamara

0
Petar Marchev
Telerik team
answered on 13 Sep 2013, 07:04 AM
Hello Tamara,

You can use the ItemToolTipOpening event of the ChartArea to set whatever visual you need inside the tool tip. You can check this example. You can create a brand new user control and define it in a right-to-left flow direction.

Regards,
Petar Marchev
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Chart
Asked by
Tamara
Top achievements
Rank 1
Answers by
Tamara
Top achievements
Rank 1
Petar Marchev
Telerik team
Share this question
or