Hi,
In your sample : http://samples.infragistics.com/sldv/RunSamples.aspx?cn=pivot-grid#/pivot-grid/integration-with-datachart
you are creating a datachart with the same datasource as the pivotgrid. My question is how can i add a tooltip?
In the below code, the series are automatically generated. how can i add a tooltip to them?
<ig:XamDataChart Grid.Row="1" Grid.Column="0" x:Name="xmOlapDataChart" VerticalZoombarVisibility="Visible" VerticalZoomable="True" HorizontalZoombarVisibility="Visible" HorizontalZoomable="True"> <ig:XamDataChart.Axes> <ig:OlapXAxis x:Name="olapXAxis" DataSource="{StaticResource DataSource}" OlapAxisSource="Columns" AutoGenerateSeries="True" YAxis="{Binding ElementName=xmYAxis1}"/> <ig:NumericYAxis x:Name="xmYAxis1" MinimumValue="0" /> </ig:XamDataChart.Axes> </ig:XamDataChart>
Hello,
I am just checking if you require any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
I have been reading through your post and since the ToolTip can be set to the Series and when the AutoGenerateSeries is set to true, the Series are not define in xaml, I can suggest handling the CollectionChanged event of the Series collection of the XamDataChart and create the ToolTips of the Seires in the event handler. I have created a sample application for you, which demonstrates the approach that I have described.
Please let me know if you need any further assistance on the matter.