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

How to make it easier to see tooltips

1 Answer 56 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Geoff Hardy
Top achievements
Rank 1
Geoff Hardy asked on 20 Sep 2010, 06:56 PM
I have a chart with a LineSeriesDefinition with the ShowPointMarks option turned off:

<Controls1:RadChart.SeriesMappings>
                <Charting:SeriesMapping LegendLabel="Volume">
                    <Charting:SeriesMapping.SeriesDefinition>
                        <Charting:LineSeriesDefinition ShowItemToolTips="True" ShowPointMarks="False" ShowItemLabels="False" ItemToolTipFormat="Date: #X{g}&#x0a;Volume: #Y{n0}" />
                    </Charting:SeriesMapping.SeriesDefinition>
                    <Charting:SeriesMapping.ItemMappings>
                        <Charting:ItemMapping DataPointMember="XValue" FieldName="DipDate" />
                        <Charting:ItemMapping DataPointMember="YValue" FieldName="Volume" />
                    </Charting:SeriesMapping.ItemMappings>
                </Charting:SeriesMapping>
            </Controls1:RadChart.SeriesMappings>

The problem is that you have to position your mouse very carefully to be able to see the tooltip for each data point on the graph, ie the mouse pointer has to be over the exact pixel to get the tooltip. Is there a way to be able to make these tooltip easier to view? For example, it would be good if the tooltip would show up of the mouse pointer was within 5 pixels of the data point.

Thanks,

Geoff

1 Answer, 1 is accepted

Sort by
0
Sia
Telerik team
answered on 22 Sep 2010, 09:29 AM
Hello Geoff Hardy,

You need to re-template your line series and make the width of the transparent stroke below them bigger. Please check the attached project and let me know if it is ok. Please, use the binaries from out latest internal build, because our developers fixed some important issues concerning the tooltips there.

Greetings,
Sia
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
Geoff Hardy
Top achievements
Rank 1
Answers by
Sia
Telerik team
Share this question
or