[Bug 11992] New: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="ja"> <head> <title>samplegragh01</title> <link href="sample_graph_vbar.css" type="text/css" rel="stylesheet" /> <script t

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11992

           Summary: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
                    Transitional//EN"
                    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.d
                    td"> <html lang="ja"> <head>
                    <title>samplegragh01</title> <link
                    href="sample_graph_vbar.css" type="text/css"
                    rel="stylesheet" /> <script t
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#top
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Specification: http://www.w3.org/TR/html5/spec.html
Section: http://www.whatwg.org/specs/web-apps/current-work/#top

Comment:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html lang="ja">

<head>
<title>samplegragh01</title>
<link href="sample_graph_vbar.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="rendering-mode.js"></script> 
<!--[if IE]><script type="text/javascript"
src="../html5jp/excanvas/excanvas.js"></script><![endif]-->
<script type="text/javascript" src="../html5jp/graph/vbar.js"></script>


<script type="text/javascript">
    window.onload = function() {
      var g = new html5jp.graph.vbar("sample");
      if( ! g ) { return; }
      var items = [
        ["商品A", 20, 58, 40, 14, 38, 20, 40],
        ["商品B", 10, 14, 58, 80, 70, 90, 20],
        ["商品C", 10, 14, 58, 80, 70, 90, 20],
        ["商品D", 10, 14, 58, 80, 70, 90, 20],
        ["商品E", 10, 14, 58, 80, 70, 90, 20]
      ];
      var params = {
        x: ["曜日", "日", "月", "火", "水", "木", "金", "土"],
        y: ["注文数(個)"]
      };
      g.draw(items, params);
    };
</script>


</head>

<body>

    <div><canvas width="400" height="300" id="sample"></canvas></div>

</body>

</html>


Posted from: 202.248.73.112

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Monday, 7 February 2011 01:55:35 UTC