jqPlot with C# asp.net webform

928 views
Skip to first unread message

Hasitha Shan

unread,
Aug 30, 2012, 3:09:14 AM8/30/12
to jqplot...@googlegroups.com
I am trying to build a chart fr my website and i am just starting with jqPLot. i used the following code,

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org /TR/xhtml1/DTD/xhtml1-transitional.dtd">
   
<link rel="stylesheet" type="text/css" href="jquery.jqplot.css" />
   
<html xmlns="http://www.w3.org/1999/xhtml">
   
<head id="Head1" runat="server">
       
<title></title>
   
</head>
   
<body>
       
<form id="form1" runat="server">

       
<div>

       
</div>
               
<div id="chartdiv" style="height:400px;width:300px; ">
               
<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="excanvas.js"></script><![endif]-->
               
<script language="javascript" type="text/javascript" src="jquery.min.js"></script>
               
<script language="javascript" type="text/javascript" src="jquery.jqplot.min.js"></script>

               
<script language="javascript" type="text/javascript">

                     $
.jqplot('chartdiv', [[[1, 2], [3, 5.12], [5, 13.1], [7, 33.6], [9, 85.9], [11, 219.9]]]);
               
</script>
       
</div>
       
</form>
   
</body>
   
</html>

But did not show any chart. I am having the the javascripts that is to be downloaded all saved in my project folder, which is,
C:\Users\DELL\Documents\Visual Studio 2010\WebSites\WebSite1.

I dnt have experience of even one day of jqPLotter and i would really appreciate some help on how to show this graph on my web form.. :)

Message has been deleted

Hasitha Shan

unread,
Aug 30, 2012, 3:12:38 AM8/30/12
to jqplot...@googlegroups.com
I am used this reference to come up with this code.
http://www.jqplot.com/docs/files/usage-txt.html


Mayuresh Indapurkar

unread,
Jul 20, 2013, 12:23:54 PM7/20/13
to jqplot...@googlegroups.com, dhl.h...@gmail.com
hi,

I also used jqplot for creating charts in asp.net webforms.
You can find this link very helpful:
Reply all
Reply to author
Forward
0 new messages