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 11993 - <!DOCTYPE html> <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=".
Summary: <!DOCTYPE html> <html lang="ja"> <head> <title>samplegragh01</title> <link hr...
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:56 UTC by contributor
Modified: 2011-08-04 05:12 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2011-02-07 01:56:33 UTC
Specification: http://www.w3.org/TR/html5/spec.html
Section: http://www.whatwg.org/specs/web-apps/current-work/#top

Comment:
<!DOCTYPE html>

<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:12:35 UTC
mass-move component to LC1