| Page 1 of 1 | [ 4 posts ] |
|
We are wondering if there is an export to image function for the charts.
What do you know of? |
|
There is no such functionality built into yui charts.
Thanks, Tripp |
|
Would a SVG to PNG converter help?
Like this one: http://www.svgopen.org/2010/papers/62-F ... index.html Other question: is there a way to force the charts to render in different type of objects? svg, div etc? |
|
It looks like it could although I have not worked with it. One thing that could cause issues is that the charts are not rendered entirely in svg. All the drawn elements (graphs, markers, ticks, etc) are svg, canvas or vml (depending on browser) while others such as text are dom elements. I don't know if that will be troublesome when converting or not.
Charts, by default, will use svg as its graphic engine when available. (ie6 - 8 will use vml, android 2 will use canvas) As of 3.5, you can force charts to use canvas as its preferred graphic engine. Doing such will render charts in canvas (ie6 - 8 vml). Code: YUI({ defaultGraphicEngine: "canvas" }).use('charts', function (Y) { //charts code } Thanks, Tripp |
| Page 1 of 1 | [ 4 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group