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
On a page I have several charts and a button to export all charts to png.
Is it possible to "stamp" the current date into either the charts or the produced png file?
from this http://docs.telerik.com/kendo-ui/controls/charts/how-to/donut-chart-hole-text I was able to draw current datetime on the chart this way:
render:
function
(e) {
var
draw = kendo.drawing;
d =
new
Date();
text =
draw.Text(kendo.toString(d,
'dd-MMM-yyyy HH:mm'
), [0, 0], { font:
"8px Verdana,Arial,sans-serif"
});
e.sender.surface.draw(text);
}
How do I position the datetime at position bottom/right with a little margin?