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

DateTimeCategoricalAxis issue

3 Answers 82 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 06 May 2013, 07:33 AM
Hi,

We need to create a chart with multiple series. I created a RadCartesian chart which has a DateTimeCategoricalAxis as horizontal axis and a LinearAxis as vertical axis. For the series I use scatterpoint series.

<telerik:RadCartesianChart>
            <telerik:RadCartesianChart.HorizontalAxis>
                <telerik:DateTimeCategoricalAxis Title="Inspection Date" />
            </telerik:RadCartesianChart.HorizontalAxis>
            <telerik:RadCartesianChart.VerticalAxis>
                <telerik:LinearAxis LineThickness="1"
                                    Title="Value">
                </telerik:LinearAxis>
            </telerik:RadCartesianChart.VerticalAxis>
            <telerik:RadCartesianChart.Series>
                <telerik:ScatterPointSeries ItemsSource="{Binding Path=InspectionHistory}"
                                            PointTemplate="{StaticResource PointTemplate1}"
                                            XValueBinding="InspectionDate"
                                            YValueBinding="Value" />
                <telerik:ScatterPointSeries ItemsSource="{Binding Path=InspectionHistory}"
                                            PointTemplate="{StaticResource PointTemplate2}"
                                            XValueBinding="InspectionDate"
                                            YValueBinding="MinimalValue">
                </telerik:ScatterPointSeries>
            </telerik:RadCartesianChart.Series>
             
            <telerik:RadCartesianChart.Grid>
                <telerik:CartesianChartGrid MajorLinesVisibility="XY" />
            </telerik:RadCartesianChart.Grid>
        </telerik:RadCartesianChart>

Currently the chart does not show the scatter points. If I change the horizontal axis into a linearaxis and bind the X value to another property, the chart is drawn. Why doesnt it work with the DateTimeCategoricalAxis ?

I am using the 2013 Q1 control.

Kind regards,
Mike

3 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 08 May 2013, 06:40 AM
Hi Martin,

Please mind that the ScatterPoint series are intended to be used with Linear, Logarithmic Axes only as described in our documentation. However with our upcomming Q2 2013 release (at the end of this month), you'll be able to achieve that with the new Point series. So stay tuned.

Kind regards,
Evgenia
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Martin
Top achievements
Rank 1
answered on 04 Jul 2013, 12:52 PM
Hi Evgenia,

I installed the Q2 2013 release of the components. According to the documentation there is still no possibility to have a horizontal datetime axis in a scatter point serie. Is the documentation not updated or is this feature not release in Q2 2013?

Kind regards,
Mike
0
Evgenia
Telerik team
answered on 08 Jul 2013, 03:32 PM
Hi Martin,

 As I previously mentioned not ScatterPoint but Point series now supports date time horizontal axis. You can check our online demo with source code provided where this is demonstrated.

Regards,
Evgenia
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ChartView
Asked by
Martin
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Martin
Top achievements
Rank 1
Share this question
or