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

Tooltips not generating

4 Answers 16 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Javier
Top achievements
Rank 1
Javier asked on 19 Mar 2012, 08:21 PM
I'm creating a line chart with multiple series created dynamically.

Here is the code.

For Each mdItem As ModalityTrendWrapper In ModalityTrend
            Dim newSeries As New Telerik.Charting.ChartSeries()
            newSeries.Name = mdItem.Modality
            newSeries.Type = ChartSeriesType.Line
             
            For Each dateCount As ModalityTrendItem In mdItem.DateCounts
                Dim chrItem As New ChartSeriesItem()
                chrItem.YValue = dateCount.Count
                chrItem.Name = dateCount.Modality
                chrItem.Label.TextBlock.Text = dateCount.Count
                chrItem.ActiveRegion.Tooltip =dateCount.Modality
                newSeries.Items.Add(chrItem)
            Next
 
 
            RadChart1.Series.Add(newSeries)
        Next
         
        Dim MaxValue As Integer = Enumerable.Range(0, CInt(ModalityTrend.Count)).Select(Function(ex) ModalityTrend(ex).DateCounts.Max(Function(dc) dc.Count)).Max()
        RadChart1.ClientSettings.XScale = DateList.Count / 7
        RadChart1.PlotArea.XAxis.AddRange(1, DateList.Count, 1)
        RadChart1.PlotArea.YAxis.MaxValue = MaxValue + 2
        For i As Integer = 0 To DateList.Count - 1
            RadChart1.PlotArea.XAxis(i).TextBlock.Text = DateList(i)
            RadChart1.PlotArea.XAxis(i).Appearance.Border.Visible = True
 
 
        Next


For some reason the tooltips just aren't showing up.  Is there anything that I'm missing?

4 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 20 Mar 2012, 10:20 AM
Hello Javier,

It is hard to say what is preventing the tooltips to appear in your scenario from the provided information. Could you please open a formal support ticket and send us your stripped down runnable project so that we can inspect it locally and support you better?

Regards,
Evgenia
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Javier
Top achievements
Rank 1
answered on 20 Mar 2012, 01:37 PM
will do.  It appears to break when I enable scrolling.
0
Evgenia
Telerik team
answered on 20 Mar 2012, 02:00 PM

I'm sorry that I omitted to see it from your code snippet. Unfortunately the tooltip functionality is not supported when zooming and scrolling is enabled for the chart control and it would not be possible to apply both of them simultaneously.

Apologies for the inconvenience caused.

Kind regards,
Evgenia
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Javier
Top achievements
Rank 1
answered on 20 Mar 2012, 02:02 PM
You didn't miss it.  I forgot to mention it.  

Thanks for the update.
Tags
Chart (Obsolete)
Asked by
Javier
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Javier
Top achievements
Rank 1
Share this question
or