Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Ajex.aspx.vb" Inherits="Ajex" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <link href="Scripts/jqplot/jquery.jqplot.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="Scripts/jqplot/jquery.jqplot.css" />
    <link rel="stylesheet" type="text/css" href="Scripts/jqplot/jquery.jqplot.min.css" />
 
<pre>
&lt;script src=&quot;Scripts/jqplot/jquery-1.4.1.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;Scripts/jqplot/jquery.jqplot.min.js&quot;&gt;&lt;/script&gt;
&lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot; src=&quot;Scripts/jqplot/plugins/jqplot.barRenderer.min.js&quot;&gt;&lt;/script&gt;

</head>
<body>
<form id="form1" runat="server">
<div id="chartdiv" style="margin-top:20px; margin-left:20px; width:300px; height:300px;"></div>
<script>
$.jqplot('chartdiv', [[34.53, 56.32, 25.1, 18.6]], {series:[{renderer:$.jqplot.BarRenderer}]});
</script>
</form>
</body>
</html>
Above code for draw chart But not draw when i run application .i don not know what is problem.i use jqplot api for draw chart.please give me answer if you are know.
Posted 22-Jan-13 22:34pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You may switch to google charts, they are the best and dynamic.
https://developers.google.com/chart/[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 490
1 Sergey Alexandrovich Kryukov 405
2 Maciej Los 285
3 ProgramFOX 265
4 Peter Leow 210
0 OriginalGriff 490
1 Sergey Alexandrovich Kryukov 395
2 Maciej Los 285
3 ProgramFOX 265
4 CHill60 200


Advertise | Privacy | Mobile
Web04 | 2.8.150331.1 | Last Updated 24 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100