We have gotten a few emails recently from folks who want to put Swivel graphs into other Web sites, but feel our graphs are too large. So, we thought we would highlight a few ways that people can change the formatting and size of our graphs. Here are the steps:
1. Find a graph at Swivel you think is interesting, like this one:
available here: http://www.swivel.com/graphs/show/25106665
2. You can gain more control of the graph by hacking the URL. In the URL, replace the word 'show' with the word 'image' and then add a graph format, width and height along with '.png' to the end. Graph formats can be one of sparkline, thumbnail, preview or default.
URL format:
http://www.swivel.com/graphs/image/[id]/[format]/[width]/[height].png
Here are some examples:
Sparkline
A sparkline 20 pixels wide by 10 pixels high.
http://www.swivel.com/graphs/image/25106665/sparkline/20/10.png
Thumbnail
A thumbnail 100 pixels wide by 50 pixels high.
http://www.swivel.com/graphs/image/25106665/thumbnail/100/50.png
Preview
A preview 200 pixels wide by 100 pixels high.

http://www.swivel.com/graphs/image/25106665/preview/200/100.png
Default
This is the default Swivel graph 600 pixels wide by 337 pixels high.
http://www.swivel.com/graphs/image/25106665/default/600/337.png
If you have any questions send us an email at feedback@swivel.com or use the feedback form in the product.
You can also read our entry, How to blog a graph, for including a graph in your blog in the traditional way.




Swivel Home
hımm good thanks
Posted by: regülatör | May 05, 2008 at 04:13 AM