This is a migrated thread and some comments may be shown as answers.
DateTimeContinuousAxis MajorStep Label
1 Answer 11 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Mark asked on 03 Feb 2017, 01:32 AM
I have two issues with the chart below. First is that the DateTimeContinuousAxis LabelFormat Binding does not work. I can set it in XAML like "dddd" and it works, but not with binding. It just defaults to year.

Secondly, I am trying to show one week's worth of data. I have 7 date values which displays great on the chart, but the horizontal ticks display: "Friday, Saturday, Saturday, Sunday, Monday, Monday, Tuesday, Wednesday, Thursday" I have the MajorStep bound to "0" and MajorStepUnit bound to "Day". So I have two extra ticks and they don't line up to the data points.

<telerikChart:RadCartesianChart x:Name="AcquisitionChart"
                                Style="{StaticResource AnalyticsSummaryChart}">
        <telerikChart:CartesianChartGrid MajorLinesVisibility="Y"
        <telerikChart:DateTimeContinuousAxis  MajorTickThickness="1"
                                              LabelFormat="{Binding AcquistionCharLabelFormat}"
                                              MajorStep="{Binding AcquistionChartMajorStep, Mode=OneWay}"
                                              MajorStepUnit="{Binding AcquistionChartMajorStepUnit, Mode=OneWay}"/>
        <telerikChart:NumericalAxis LineColor="Transparent"
                                    MajorStep="{Binding AcquisitionSummary.DesiredTickCount, Mode=OneWay}"
        <telerikChart:AreaSeries ItemsSource="{Binding AcquisitionSummary.Progression, Mode=OneWay}"
                                 Fill="{StaticResource AreaSeriesFill}"
                                 Stroke="{StaticResource AreaSeriesStrokeColor}"
                <telerikChart:PropertyNameDataPointBinding PropertyName="Value"/>
                <telerikChart:PropertyNameDataPointBinding PropertyName="UtcDate"/>

1 Answer, 1 is accepted

Sort by
Rosy Topchiyska
Telerik team
answered on 07 Feb 2017, 11:35 AM
Hi Mark,

Thank you for contacting us. Indeed, the BindingContext of the chart does not propagate to the chart axes and the grid. I have logged a bug report in our feedback portal where you can follow the issue. I have also updated your Telerik points as a token of gratitude for bringing this issue to our attention.

Please, let us know if you have any other questions.

Rosy Topchiyska
Telerik by Progress
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
Asked by
Top achievements
Rank 1
Answers by
Rosy Topchiyska
Telerik team
Share this question