Please bear with me as I am new to programming –
I am having a difficult time with getting additional information into the chart tooltip. I am pulling data from isostore:/data.sdf to populate the graph (that part is fine) however what I am trying to do is add additional data from the data.sdf context into the tooltip that is not in the mySeries.ValueBinding & mySeries.CategoryBinding. I want to add property ‘Note’ and ‘DataPoint2’ to the tooltip.
Here is the c#
mySeries.CategoryBinding = new PropertyNameDataPointBinding() { PropertyName = "DateCreated" };
mySeries.ValueBinding = new PropertyNameDataPointBinding() { PropertyName = "DataPoint1" };
Here is the xaml
<chart:BarSeries ShowLabels="True" CombineMode="Stack" ValueBinding="DataPoint1" ItemsSource="{Binding}">
<chart:BarSeries.PointTemplate>
<DataTemplate>
<Rectangle Fill="{StaticResource PhoneForegroundBrush}" />
</DataTemplate>
</chart:BarSeries.PointTemplate>
</chart:BarSeries >