Hi all,
I have a screen with a RadChart with zooming and scrolling enabled. The values of the X-Axis are of type DateTime. The user should be able to move the scroll slider using the mouse or change the limits in a couple of DateTimePickers in the same screen.
I binded the SliderSelectionEnd and SliderSelectionStart properties from ZoomScrollSettings to some properties in my viewmodels and the Date values in the DateTimePickers too. The SliderSelection properties and the Date properties in my viewmodels are logically connected (when one changes, the other one updates accordingly).
The problem is... I know what the maximum and minimum values are since I'm in control of the data, but the SliderSelectionEnd and SliderSelectionStart 0 and 1 values don't seem to map exactly there. In fact, I can see some "blank space" in the chart after the last value. This produces very funny results once the user starts changing values.
Is there a way to know to which values do those properties map? Any other way I could bind those two controls?
Thanks,
-Tony
I have a screen with a RadChart with zooming and scrolling enabled. The values of the X-Axis are of type DateTime. The user should be able to move the scroll slider using the mouse or change the limits in a couple of DateTimePickers in the same screen.
I binded the SliderSelectionEnd and SliderSelectionStart properties from ZoomScrollSettings to some properties in my viewmodels and the Date values in the DateTimePickers too. The SliderSelection properties and the Date properties in my viewmodels are logically connected (when one changes, the other one updates accordingly).
The problem is... I know what the maximum and minimum values are since I'm in control of the data, but the SliderSelectionEnd and SliderSelectionStart 0 and 1 values don't seem to map exactly there. In fact, I can see some "blank space" in the chart after the last value. This produces very funny results once the user starts changing values.
Is there a way to know to which values do those properties map? Any other way I could bind those two controls?
Thanks,
-Tony