Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
AI Coding
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI/UX Tools
CMS
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,