This question is locked. New answers and comments are not allowed.
Hello everyone!
Im drawing a chart with RadCartesianCharts, and i have to display another value (age) instead custom x value datetime
the structure for each point series is:
and i'm using the following horizontalAxis configuration:
and the code where i'm making series
regards
Im drawing a chart with RadCartesianCharts, and i have to display another value (age) instead custom x value datetime
the structure for each point series is:
1.HeightPerson2.{3. DateTime DateMeasure,4. decimal Height,5. decimal Age6.}and i'm using the following horizontalAxis configuration:
1.<telerik:RadCartesianChart.HorizontalAxis>2. <chartView:DateTimeContinuousAxis LabelFitMode="Rotate"3. LabelFormat="{Binding AxisXformat}"4. Visibility="{Binding VisibilityAxis}"5. Title="{Binding TitleX}" />6.</telerik:RadCartesianChart.HorizontalAxis>and the code where i'm making series
1.var edadSeries = new LineSeries(){2. ItemsSource = vm.PersonAge,3. Visibility = System.Windows.Visibility.Visible,
//here is where i'm binding the date, but i would like to bind the "Age" property4. CategoryBinding = new PropertyNameDataPointBinding() { PropertyName = "DateMeasure" },5. ValueBinding = new PropertyNameDataPointBinding() { PropertyName = "Height" },6. BorderBrush = System.Windows.Media.Brushes.Black,7. BorderThickness = new Thickness(1),8. };regards