This is a migrated thread and some comments may be shown as answers.

Feature not working Q2 SP1 Silverlight Dlls

2 Answers 31 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Nidhi
Top achievements
Rank 1
Nidhi asked on 02 Nov 2011, 12:10 PM
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.
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;
    }

2 Answers, 1 is accepted

Sort by
0
Nidhi
Top achievements
Rank 1
answered on 03 Nov 2011, 10:17 AM
Any update on it....
0
Nikolay
Telerik team
answered on 07 Nov 2011, 08:03 AM
Hello Nidhi,

Could you, please, open a support ticket and send us a sample runnable application, which reproduces the issue, so that our developers could debug it locally and provide a solution.

Best wishes,
Nikolay
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
Chart
Asked by
Nidhi
Top achievements
Rank 1
Answers by
Nidhi
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or