Apr 10th, 2011, 03:12 AM
[RESOLVED] Silverlight tool tip for Line Series Chart
Anyone know of a good tutorial about setting up the tool tip for a line series chart? I'd also take a simple example. I have looked around and I can't find anything that makes any sense. I want my tooltip to have both the x and y axis values.
It has the y-axis value as default, but can't seem to figure out how to add the x-axis. I would think it would be easy.
Apr 11th, 2011, 12:51 PM
Re: Silverlight tool tip for Line Series Chart
I figured it out
I ended up using Delay's blog.
The only thing I did a little bit different is after you take the default template off here:
Stick the whole thing in the
section of the app.xaml page. but you need to give it a name. Change line
<Style TargetType="charting:LineDataPoint"> in the defualt template to something like this
So when you put this:
On your mainpage.xaml The datapointstyle has something to reference. Now you can change the
tool tip on the app.xaml page to anything your heart desires.
Click Here to Expand Forum to Full Width