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

[Solved] Can CombineMode bew used together with CategoricalSeriesDescriptor?

3 Answers 82 Views
Chart for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Per
Top achievements
Rank 1
Per asked on 13 Feb 2013, 07:52 PM
Hi!

How can I set the CombineMode when using dynamic series?

Regards
Per

 

 

 

3 Answers, 1 is accepted

Sort by
0
Christian
Top achievements
Rank 1
answered on 14 Feb 2013, 12:17 PM
Hi Per,

it's shown in the documentation. Here is how it works:
<Chart:ChartSeriesProvider.SeriesDescriptors>
    <Chart:CategoricalSeriesDescriptor ValuePath="Value" CategoryPath="Category">
        <Chart:CategoricalSeriesDescriptor.Style>
            <Style TargetType="Chart:BarSeries">
                <Setter Property="CombineMode" Value="Stack"/>
            </Style>
        </Chart:CategoricalSeriesDescriptor.Style>
    </Chart:CategoricalSeriesDescriptor>
</Chart:ChartSeriesProvider.SeriesDescriptors>

Kind regards,
Christian
0
Per
Top achievements
Rank 1
answered on 14 Feb 2013, 12:42 PM
Hi !
Is it possible to bind the value to a property of my chart model class?

Regards
Per
0
Accepted
Ivaylo Gergov
Telerik team
answered on 18 Feb 2013, 06:26 PM
Hello Per,

Thank you for your interest.

For this scenario you can create more than one SeriesDescriptor and use the SeriesDescriptorSelector property in order to select the desired descriptor depending on your custom logic.

I hope this helps. Let me know if you need further assistance.

 

Greetings,
Ivaylo Gergov
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
Chart for XAML
Asked by
Per
Top achievements
Rank 1
Answers by
Christian
Top achievements
Rank 1
Per
Top achievements
Rank 1
Ivaylo Gergov
Telerik team
Share this question
or