We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Interactive Cursor

Thread ID:

Created:

Updated:

Platform:

Replies:

110338 Jul 30,2013 01:18 PM UTC Jul 31,2013 12:16 PM UTC WPF 1
loading
Tags: Chart
Tim Raymond
Asked On July 30, 2013 01:18 PM UTC

In the documentation, the following incomplete snippet is given for adding interactive cursors.  Could someone provide a more complete example?
 

[XAML]

//sets the interactive cursor

<Chart:InteractiveCursor

IsInversedLabel="True" OffsetX="100" OffsetY="100"

CursorStrokeThickness="3" VerticalLabelVisibility="Visible"

HorizontalLabelVisibility ="Visible" Cursor="Hand"

IsBindWithSegment="true" HorizontalCursorStroke="Magenta"

VerticalCursorStroke="Magenta">

//sets the vertical template for the Vertical Label

<Chart:InteractiveCursor.VerticalLabelTemplate>

<DataTemplate>

<Grid>

<Label Foreground="GreenYellow" Content="{Binding}"/>

</Grid>

</DataTemplate>

</Chart:InteractiveCursor.VerticalLabelTemplate>

//sets the Horizontal template for the horizontal Label

<Chart:InteractiveCursor.HorizontalLabelTemplate>

<DataTemplate>

<Grid>

<Label Foreground="GreenYellow" Content="{Binding}"/>

</Grid>

</DataTemplate>

</Chart:InteractiveCursor.HorizontalLabelTemplate>

</Chart:InteractiveCursor>

</Chart:SyncChartAreas.InteractiveCursors>


Muneesh Kumar G [Syncfusion]
Replied On July 31, 2013 12:16 PM UTC

Hi Tim,
 
We have prepared a sample based on your requirement. Please find the sample from the following location.

Also you can find the samples for Chart from the below location.
 
Link: C:\Users\<UserName>\AppData\Local\Syncfusion\EssentialStudio\11.2.0.25\WPF\Chart.WPF\Samples
 
Please let us know if you have any queries

Regards,
Muneesh Kumar G.


Interactive_Cursor_Demo_56807732.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;