Hi Team,
We were using 2011.1.0315.1040 version dlls. But we find that few of the features are not available
like showing hand cursor on chart area. So, we replace these Dlls with Q2 SP1(2011.2.920.1040). After replacing the dlls with newer version, our existing chart functionality is not working as expected.
We are changing chart type(Pie to Bar) dynamically using MVVM pattern. It was perfectly working with Old versions Dlls(2011.1.0315.1040). But not working with Q2 Sp 1 DLLs.
Please resolve this issue asap. Code snippet is below. I can send you the sample code also, showing this issue in detail. send your email id
Code in ViewModel.
We were using 2011.1.0315.1040 version dlls. But we find that few of the features are not available
like showing hand cursor on chart area. So, we replace these Dlls with Q2 SP1(2011.2.920.1040). After replacing the dlls with newer version, our existing chart functionality is not working as expected.
We are changing chart type(Pie to Bar) dynamically using MVVM pattern. It was perfectly working with Old versions Dlls(2011.1.0315.1040). But not working with Q2 Sp 1 DLLs.
Please resolve this issue asap. Code snippet is below. I can send you the sample code also, showing this issue in detail. send your email id
Code in ViewModel.
private void InitializeChartSeriesMappings()
{
SeriesMappingCollection seriesMappings = new SeriesMappingCollection();
if (CurrentChartType == ChartType.Bar)
{
StackedBarSeriesDefinition seriesDefinition = CreateBarSeriesDefinition();
SeriesMapping seriesMapping = this.CreateSeriesMapping("XValue", seriesDefinition, "YValue", ChartAggregateFunction.Sum);
seriesMapping.CollectionIndex = 0;
seriesMapping.ChartAreaName = "Chart1";
seriesMappings.Add(seriesMapping);
InteractivitySettings inter = new InteractivitySettings();
inter.SelectionMode = ChartSelectionMode.Single;
inter.SelectionScope = InteractivityScope.Item;
inter.HoverScope = InteractivityScope.Item;
seriesDefinition.InteractivitySettings = inter;
}
else if (CurrentChartType == ChartType.Pie)
{
PieSeriesDefinition seriesDefinition = CreatePieSeriesDefinition();
InteractivitySettings inter = new InteractivitySettings();
inter.SelectionMode = ChartSelectionMode.Single;
inter.SelectionScope = InteractivityScope.Item;
inter.HoverScope = InteractivityScope.Item;
seriesDefinition.InteractivitySettings = inter;
SeriesMapping seriesMapping = this.CreateSeriesMapping("XValue", seriesDefinition, "YValue", ChartAggregateFunction.Sum);
seriesMapping.CollectionIndex = 0;
seriesMapping.ChartAreaName = "Chart1";
seriesMappings.Add(seriesMapping);
}
this.ChartSeriesMappings = seriesMappings;
}