Using Kendo through MVC creation. Create any chart with @(Html.Kendo().Chart()) code. Plug in a color into any property: Font.Color, MajorGridLines.Color, Series.Color (line, area, column), ValueAxis.Color etc. The color should be a hex string in the format of #102030. The pound character in here messes up the ToClientTemplate() method or alternatively the parsing of that finished template back on the Kendo scripts.
A workaround is to instead use rgb(16, 32, 48) since the # character is not there.
For now I added this extension method if it helps anyone who stumbles along to this.
public static string ToRgbColor(this string hexColor) { var color = ColorTranslator.FromHtml(hexColor); if (color.A == 255) { return $"rgb({color.R},{color.G},{color.B})"; } else { return $"rgba({color.A},{color.R},{color.G},{color.B})"; } }
It would be nice to be able to configure the stock chart's navigation pane the same way that regular charts are configured. Options for multiple vertical axes, axis-crossing-values, label templates, chart types (line, area, column), and any other configuration options that standard charts/sparklines would have.
Background:
In our project, there's a newly revamped application and Kendo UI has been used for first time.
The Home page of our application has a bar graph and a donut graph.
I am from Test Automation team and run OpenTest-Selenium tests on Chrome and IE browsers.
The problem described below applies to both, so to keep it simple I will describe for only the bar graph.
Reference isolated application:
https://demos.telerik.com/kendo-ui/bar-charts/column
Problem Description Title: UI based automated tests run on Chrome succeed, but fail on IE for Kendo Bar Chart
Troubleshooting performed: In both browsers, we looked for the click event using the Browser Inspector
Observation: The click event is present in Chrome, but not in IE
I found an article in your site:
https://docs.telerik.com/kendo-ui/controls/data-management/grid/performance#using-fast-browsers
Is this the reason that you've no exposed this event specifically in IE?
(My understanding from this is that the Click event can be exposed, but is currently not done in the interest of performance).
Could you share any data on what is the slowness with how much data, so I could share it with our Dev team.
Because the number of bars in our application is only 4 (always) and volume of data gets reflected in the height of the bars.
Thanks,
Sudipto.
Hello, Like a lot of companies we have multiple client side interfaces of a single application and have to create similar UI in multiple platforms. For example I had to create a chart in both WPF and ASP.NET AJAX today. The problem I have with the Telerik controls is that there are absolutely no standardization or consistency between platforms. Why in the name of all-things-good-in-this-world are axes in WPF and ASP.NET AJAX and ASP MVC and Windows Universal Apps not all called the same thing? It would be very simple to use interfaces to create some consistency between platforms. Even better would be if Model Views are shared across platforms in a portable library: https://msdn.microsoft.com/en-us/library/hh563947(v=vs.110).aspx https://msdn.microsoft.com/en-us/library/gg597391(v=vs.110).aspx Regards, Douw PS. I could not find a feedback portal for all platforms, so have to log this multiple times.