I am trying to export my chart to PDF however the colors are all changed to black. I also have an issue exporting a map where the css filter applied to the map tiles is missing and the map markers are all black instead of orange. I am using css properties to set the colors of the markers and bar chart on the screen. I suspect that they might not be compatible with the method Kendo UI is using to convert html to kendo.drawing.drawDOM. I tried overriding this using:
.k-pdf-export {
#impactChart g g g path {
fill: green !important;
}
}
however this did not work. The chart still rendered as black.
How do I fix this?
Is there a way to debug without exporting to PDF every time so I can take advantage of Chrome's developer tools?
Is there a list of incompatible CSS properties and workarounds?
Hi ,
I'm trying to update a ASP .NET application which uses Kendo 2017.2.504 library to 2019.3.1023 by using Visual Studio's Telerik plugin for ASP .NET MVC projects.
The update was seamless. But now some of the padding/margin inside some of the controls seems to have got mis-aligned. Please have a look at the attached pictures before & after the update. I'm using Kendo CDN css & javascript files in my _Layout.chtml file
If I create a new MVC project and use the 2019.3.1023 library to create new screens, this problem is not seen. I tried to walk through the css, but it's very tough to follow. Please let me know how to investigate this problem.
Best Regards
Achilles
Here's a jsfiddle that shows the behavior that I'm currently seeing: http://jsbin.com/joleriva/1/edit
Notice how you see 4 items in the "Foo: 1" group, and if you go to the second page you see one additional item that belongs to that group. If (on the first page) you minimize "Foo: 1" group you don't see anything but the group header and the paging controls.
Like I said, I really hope that I'm just missing some configuration options that will make this work in a more intuitive way.
By the way, I've looked into the Virtual Scrolling with groups, but that has problems of it's own when you minimize a group... http://trykendoui.telerik.com/ivum
The drawer widget builds form a list of items similar to menu items.
What would be the proper way to have subitems like nested ul>li>ul>li?
Hello guys.
Basically I'm trying to export my grid to PDF and this works just fine simply reading kendo documentation. But when I open this generated PDF, it looks just like a printscreen to me. What I wanna do is change it, use some kind of custom template (e.g html) or something and beautify this.
I'm only using this lines of code for properly working:
var grid = $("#grid").data("kendoGrid");
kendo.drawing.drawDOM($("#grid")).then(function (group) {
kendo.drawing.pdf.saveAs(group, "test.pdf");
});
Is there some way of doing this? (Changing this generated PDF layout)
Hello,
I want to show multiple events in one day. How to visualizes specific events in daily time basis instead of default yearly time basis? Any help is appreciated.
Thanks!
I am trying to export my openStreetMap to a PDF but the background (the map) doesn't show up. I see a bunch of errors in the console that are similar to:
Access to XMLHttpRequest at 'https://www.toolserver.org/tiles/bw-mapnik/4/4/6.png' from origin 'https://localhost:44342' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I have no control over toolserver.org so I can't tell them to add Access-Control-Allow-Origin to their header. Is there a workaround? I'm open to using another map template that offers a black and white map if anyone knows of one that won't give me the cors error.