This question is locked. New answers and comments are not allowed.
I have a relatively complex tooltip to add. I'm attempting to convert what I have in WPF. It looks like this:
Screenshot
Because I'm displaying multiple values, they don't all have the same format specifier. One is a percent, another is a number, another is a number with 2 decimal positions. ({0:P0}, {0:N0} and {0:N2})
Is there a way to do this within the Template?
Screenshot
Because I'm displaying multiple values, they don't all have the same format specifier. One is a percent, another is a number, another is a number with 2 decimal positions. ({0:P0}, {0:N0} and {0:N2})
Is there a way to do this within the Template?
@(Html.Telerik().Chart(Model.FairShareDataPoints) .Name("PhonesFairShare") .Theme("windows7") .Title("Fair Share") .Series(series => { series.Line(s => s.Goal).Color("Red"); series.Line(s => s.FairShare) .Color("Green") .Tooltip(x => x.Template("<table><tr><td>Fair Share Team Member:</td><td><#= value #></td></tr><tr><td>Time Period:</td><td><#= category #></td></tr></table><#= dataItem.TeamMemberPhoneCallsPresented #>") .Visible(true) ); }) .CategoryAxis(axis => axis .Categories(s => s.TimePeriodCaption) .Labels(label => label.Rotation(45))) .ValueAxis(x => x.Numeric().Labels(l => l.Format("{0:P0}"))) )