Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
250
XamTimeLine EventTitle End value rounding
posted

Hi All,

I'm using more or less default setup of the XamTimeLine, just having a Metro theme on top, setting up my text in the event title and customizing some colors.

I use the numeric double values for the Time and Duration of the events. The values are rounded to 2 decimal places before assignment to the properties (that are bound to the NumericTimeSeries in a pretty straigtforward way: DataMapping="Time=Start;Title=Title;Details=Title;Duration=Length").

Now my issue is, XamTimeLine makes an internal calculation of the End value of the interval which results in unrounded double value and it is shown on the event title of the event (see screenshot below). Question is, can I somehow round this End value (this is purely cosmetic issue, but pretty annoying).

Thanks a lot in advance!

Kind regards,

Dmitrii

Parents Reply Children
No Data