Hi,
Can I implement below function:
In my xamDataChart, I can choose one data point, and then use keyboard (left or right) to choose left data point or right data point?
Do I make myself clearly? Sorry for my poor English..
Hello Charlie,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Hello Stefan,
Could you please give me a sample using lineSeries not columnSeries, Thanks~~
Hi Stefen,
Thank you~~~
I have added the functionality you want in the sample. Since the Tooltip that is used for the Series is not the default WPF tooltip, but a custom PopUp, you should set its position and text manually when you want to open it via code behind. I set the needed Properties, so now when the arrow keys are pressed and the point is colored the tooltip also opens. I handled the MouseMove event, so I could be able to set the binding again for the cases when you hover with the mouse.
Hi Stefan,
You really have done me a big favor. And trouble you again, can I implement below function?
When I clicked one point, I need show the tooltip data, and when I use left arrow or right arrow to move the point, show the updated tooltip data.
Thanks really really for your help.
I have been looking into the sample and I can say that this behavior is expected, because the ToolTip is update when you hove over a Marker. I modified the sample, so now it works as you want. Basically get the current Msrker's Content, which contains the underlying object.
Hi Steven,
I have another question. Please help.
I have modified your sample code to implement the "keyboard moving" function, and I have a new requirement: when I click one point, then press the Enter key, show the point's value. When I use left arrow key or right arrow key to move the point, then press the Enter key, show the current point's value. In my solution, I was trying to use tooltip to show the point's value, and when I press the Enter key, show the tooltip value. But the question is : When I use left arrow key or right arrow key to move the point, then press the Enter key, the value isn't what the current's point's value.
Do I make myself clearly? Please see attached. Thanks~~