Hi I want to plot a graph dynamically depends upon the x and y co-ordinates which i passed dynamically.
I have graph.py file which contains the following code snippet. graph.py =================================================== # $Id$ import kid def Render(): args = {} page = kid.Template('Graph.kid', args=args) return page.serialize() =================================================== I have a kid file named as Graph.kid. The following kid page code snippet Graph.kid =================================================== <html py:extends="'layout.kid'" xmlns:py="http://purl.org/kid/ns#" xmlns:form="foo"> <head></head> <body> <h1>Graph</h1> <svg width="100%" height="100%" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g id="graph_1"> <rect id="bg" x1="0" y1="0" width="100%" height="100%" fill="white"/> <line id="axis_x" x1="0" y1="0" x2="0" y2="100%" fill="black" stroke="black"/> <line id="axis_y" x1="0" y1="100%" x2="100%" y2="100%" fill="black" stroke="black"/> </g> </svg> </body> </html> ===================================================== This above code snippet just display x and y axis line. But i didn't get that x and y axis lines. I have a file layout.kid. It contains the menu items I thought its a content-type problem. so i changed the content-type is content-type="image/svg+xml;charset=UTF-8' I got my layout.kid file content with unordered format.(randomly display my list items and also affecting my CSS) can anyone please help me? - Mahabub Basha.S ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ kid-template-discuss mailing list kid-template-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kid-template-discuss