Silverlight Telerik RadTimeBar -



Silverlight Telerik RadTimeBar -

i've created simple radtimebar linearsparkline series:

<telerik:radtimebar x:name="maintimebar" telerik:stylemanager.theme="windows7" periodstart="1/1/2012" periodend="1/1/2013" selectionstart="1/1/2012" selectionend="1/1/2013" minselectionrange="28.00:00:00" issnaptointervalenabled="true" grid.columnspan="2" selectionchanged="maintimebar_selectionchanged"> <telerik:radtimebar.intervals> <telerik:monthinterval> <telerik:monthinterval.intervalspans> <system:int32>1</system:int32> </telerik:monthinterval.intervalspans> </telerik:monthinterval> <telerik:dayinterval /> </telerik:radtimebar.intervals> <telerik:radlinearsparkline x:name="charttimeline" xvaluepath="{binding timestamp}" yvaluepath="{binding amount}" /> </telerik:radtimebar>

this creates timebar shows/can select months , should display calculated amount each month linearsparkline chart inside.

i info through webservice , set itemsource in code-behind:

charttimeline.itemssource = e.result;

but in chart straightline, no errors:

here's class:

public class timelineitem { public datetime timestamp { get; set; } public decimal amount { get; set; } }

timestamp set first day of each month , amount calculation it.

what doing wrong?

thanks.

the problem in way set xvaluepath , yvaluepath bindings. there's no need add together binding keyword, since expect strings (the names of properties want bind them to). here's mean:

telerik:radlinearsparkline x:name="charttimeline" xvaluepath="timestamp" yvaluepath="amount"

also ensure period (periodstart , periodend proeprties) set 1 want see per data.

kind regards, evgenia

silverlight telerik

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -