Hi,
In my xamDataChart, I created a lineSeries, and data were bound to the lineSeries.
Requirement: When I put on my mouse over one markup and click it, then a popup window is shown. The popup window's content is the value which the markup indicates.
And if the popup window is in other Web project(the window's content is just the value which the markup indicates), not in the silverlight project, how can I popup this window?
Do I make it clear?
Could you please help me to achieve this requirement? Thanks in advance.
Hello Charlie,
I have attached a sample application (SLDataChart.zip) showing the functionality you need.
Please let me know if this works for you.
Best regards,
Anatoli Iliev
Hi Anatoli,
Thanks for your solution, but I need the cursor be "hand" just when I put mouse over markup(the data point), not all series. According to your
solution, the all series wouble be "hand" when putting mouse over, that's not what I wanted. Could you please help achieve this, thanks~~
Hi Charlie,
Can you please try to add the following code in the XamDataChart's tag xaml definition:
SeriesMouseEnter="igDataChart_SeriesMouseEnter_1" SeriesMouseLeave="igDataChart_SeriesMouseLeave_1"
After that please add the following in the code-behind:
private void igDataChart_SeriesMouseEnter_1(object sender, ChartMouseEventArgs e)
{
this.igDataChart.Cursor = Cursors.Hand;
}
private void igDataChart_SeriesMouseLeave_1(object sender, ChartMouseEventArgs e)
this.igDataChart.Cursor = Cursors.Arrow;
Handling this events in the way that I show you should work for you.
Please let me know if this is solution for you.
Hi Anatoli,
Thanks for your sample application,it solved my first requirement .
I have another new requirement, when I put mouse over markup, the mouse curson change to hand, how to achieve this? Thanks in advance.
Sorry for the confusion. The file (SLDataChart.zip) is now attached.