Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
I'm trying to display both percentage and amount with a break point in between. This is what i tried and a couple more, but they are not working. Please help.
ClickSeries = New PieSeries
ClickSeries.TooltipsAppearance.ClientTemplate = "#= kendo.format(\'{0:P0}\', percentage)#<br />#={0:N0}#"
Hello Joseph,
The second line is an invalid format declaration, you need to also add the kendo.format() function and an argument.
Here is an example that works fine and the effect is shown in the attached result.png:
Protected
Sub
Page_Load(sender
As
Object
, e
EventArgs)
Handles
Me
.Load
If
Not
Page.IsPostBack
Then
Dim
ClickSeries
PieSeries =
New
PieSeries
ClickSeries.TooltipsAppearance.ClientTemplate =
"#= kendo.format(\'{0:P0}\', percentage)#<br />#=kendo.format(\'{0:N0}\', value)#<br />#=value#"
RadHtmlChart1.PlotArea.Series.Add(ClickSeries)
ClickSeries.SeriesItems.Add(0.1)
ClickSeries.SeriesItems.Add(0.4)
ClickSeries.SeriesItems.Add(0.8)
End
Regards,