This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 11992 - <!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
Summary: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3...
Status: RESOLVED INVALID
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-07 01:55 UTC by contributor
Modified: 2011-08-04 05:01 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2011-02-07 01:55:31 UTC
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
Comment 1 Michael[tm] Smith 2011-08-04 05:01:40 UTC
mass-moved component to LC1