Chopping
Chopping

Reputation: 351

UWP Telerik UI How to add convert into RadCartesianChart's Vertical Axis?

  I had been puzzled for a long time as my RadCartesianChart seems to reject to add a convert above on it's axis.

  Here is what I had written:

<telerik:RadCartesianChart.HorizontalAxis>
   <telerik:DateTimeContinuousAxis Maximum="{x:BindViewModel.Infos.MaxmumDatetime}"     
      Minimum="{x:Bind ViewModel.Infos.MinmumDatetime}"                                                           
      GapLength="0.5"
      MajorStep="6"
      MajorStepUnit="Hour"
      LabelFormat="{}{0,0:HH:mm}"
      x:Name="HorizontalAxis"
      Title="Datetime of request"/>
      </telerik:RadCartesianChart.HorizontalAxis>
      <telerik:RadCartesianChart.VerticalAxis>
      <telerik:LinearAxis Title="Request Interval" x:Name="VerticalAxis">     
</telerik:LinearAxis>

  and data binding part:

<telerik:BarSeries ItemsSource="{x:Bind Path=ViewModel.Infos.Logs,Mode=TwoWay}" PaletteMode="Series"> 

<telerik:BarSeries.ValueBinding>
      <telerik:PropertyNameDataPointBinding PropertyName="requestTime" />
   </telerik:BarSeries.ValueBinding>
      <telerik:BarSeries.CategoryBinding>
      <telerik:PropertyNameDataPointBinding PropertyName="createTime"/>
   </telerik:BarSeries.CategoryBinding>
</telerik:BarSeries>

  What should I do ??

Upvotes: 0

Views: 169

Answers (0)

Related Questions