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
another solution, could be show only x (datetime) values for datapoint in x axis for try to cheat in another way
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:
HeightPerson{ DateTime DateMeasure { get: set; } decimal Height { get: set; } decimal Age { get: set; }}and i'm using the following horizontalAxis configuration:
<telerik:RadCartesianChart.HorizontalAxis> <chartView:DateTimeContinuousAxis LabelFitMode="Rotate" LabelFormat="{Binding AxisXformat}" Visibility="{Binding VisibilityAxis}" Title="{Binding TitleX}" /></telerik:RadCartesianChart.HorizontalAxis>and the code where i'm making series
var edadSeries = new LineSeries(){ ItemsSource = vm.PersonAge, Visibility = System.Windows.Visibility.Visible, //here is where i'm binding the date, but i would like to bind the "Age" property //AnotherCategoryBinding = new PropertyNameDataPointBinding() { PropertyName = "Age" }, CategoryBinding = new PropertyNameDataPointBinding() { PropertyName = "DateMeasure" }, ValueBinding = new PropertyNameDataPointBinding() { PropertyName = "Height" }, BorderBrush = System.Windows.Media.Brushes.Black, BorderThickness = new Thickness(1),};another solution, could be show only x (datetime) values for datapoint in x axis for try to cheat in another way
regards
