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

CartesianChart not showing up in version 2015.1.0401.45

2 Answers 102 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Pawel
Top achievements
Rank 1
Pawel asked on 25 Aug 2015, 08:12 AM

Hi,
After a necessary downgrade form 2015.2.728.45 to 2015.1.0401.45 CartesianChart is not showing up. 

Code:

        <telerik:ChartDataSource x:Name="ChartDataSource1" Width="500" Height="400"
                            ItemsSource="{Binding Items}"
                            SamplingUnit="Day" 
                            SamplingUnitInterval="1" Grid.Row="0" Grid.Column="1"
                                   Margin="10,35,10,0" VerticalAlignment="Top" HorizontalAlignment="Center"/>

        <telerik:RadCartesianChart x:Name="RadChart1" Width="495" Height="450" Grid.Row="0" Grid.Column="1"
                                   Margin="10,35,10,0" VerticalAlignment="Top" HorizontalAlignment="Center">
            <telerik:RadCartesianChart.HorizontalAxis>
                <telerik:DateTimeCategoricalAxis LabelFormat="dd.MM" Title="{x:Static languages:Lang.TimesheetTransTime}"
                                            DateTimeComponent="Ticks"/>
            </telerik:RadCartesianChart.HorizontalAxis>
            <telerik:RadCartesianChart.VerticalAxis>
                <telerik:LinearAxis Title="{x:Static languages:Lang.CostHours}" Padding="0,20,0,0" Margin="0,20,0,0" />
            </telerik:RadCartesianChart.VerticalAxis>
            <telerik:BarSeries ShowLabels="True"
                        CategoryBinding="TimesheetTransDateTime"
                        ValueBinding="Hours"
                        ItemsSource="{Binding ElementName=ChartDataSource1}">
            </telerik:BarSeries>
        </telerik:RadCartesianChart>

In version 2015.2.728.45 everything  was working correctly.
Is there something I'm supposed to know?

2 Answers, 1 is accepted

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 25 Aug 2015, 02:36 PM
Hi Pawel,

Please double check the version of the referenced Telerik assemblies. If they are NoXaml (more light version that doesn't contain the Style of the controls) you will need to merge the resource files with the controls' Style as described in the Setting a Theme (Using Implicit Styles) help article. Or you can reference the Xaml version of the assemblies and skip the resources' merging.

Regards,
Martin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Pawel
Top achievements
Rank 1
answered on 25 Aug 2015, 04:12 PM
Styles was missing. Thanks.
Tags
ChartView
Asked by
Pawel
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Pawel
Top achievements
Rank 1
Share this question
or