开发者

Silverlight Charting LineSeries - Add caption to the datapoint

开发者 https://www.devze.com 2023-02-10 01:58 出处:网络
<toolkit:Chart Title=\"Sales\" Name=\"ChartSales\"> <toolkit:Chart.Series> <toolkit:LineSeries
 <toolkit:Chart Title="Sales" Name="ChartSales">
                     <toolkit:Chart.Series>
                <toolkit:LineSeries
                            Title="Serie1" Name="LineSerie1"
                            IndependentValueBinding="{Binding Key}"
                            DependentValueBinding="{Binding Value}" />
                <toolkit:LineSeries
                            Title="Serie3" Name="LineSerie3"
开发者_运维百科                            IndependentValueBinding="{Binding Key}"
                            DependentValueBinding="{Binding Value}" />

I have created a chart with 10 lineseries, all working nicely. However there are so much data on this chart that I need the caption that show up when pointing over the datapoint to be more explicit than 1243. I need to see the date and the title of the LineSerie

How do I proceed?


I figured it out combining these 2 links:

Datapoint tooltip for silverlight chart toolkit

Silverlight Charting: Creating rich data point tooltips

0

精彩评论

暂无评论...
验证码 换一张
取 消