WPF toolkit charting : Customize datapoint label

I have create a simple LineSeries chart using WPF toolkit. By default, on mouse over a datapoint, it display a label with YAxis value. (if I put my mouse on the X=3,Y=45 datapoint, it will display a label with "45" inside)

I want to change this default behavior to display both X and Y axis value. (if I put my mouse on the X=3,Y=45 datapoint, it will display a label with "3, 45" inside)

If somebody have a suggestion, it could be great ! Thank you and best regards,



Here you can find the XAML style of a LineSeries DataPoint and by default the tooltip is defined as

   <ContentControl Content="{TemplateBinding FormattedDependentValue}"/>

so, you can take the whole style to your application and override the tooltip definition for example:

   <StackPanel Margin="2,2,2,2">
      <ContentControl Content="{TemplateBinding IndependentValue}" FontSize="12"/>
      <ContentControl Content="{TemplateBinding DependentValue}"   FontSize="12"/>

and you willget displayed the "X, Y" tooltip you need.

Need Your Help

Strategy for transferring db data between sql servers

sql-server database-replication

I would like some advice on the best approach for transferring DB data from one SQL server to another.

Projecting Screen Coordinates onto a World-Coordinate axis-ray

math opengl

I am trying to make a world-axis-aligned translation gizmo to convert movement by the mouse into axis-constrained world-movement. My plan was to find the end-points of the axis-ray as bounded by the

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.