-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo_line.html
38 lines (32 loc) · 4.75 KB
/
demo_line.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>ChartLine</title>
<link rel="stylesheet" href="css/demo.css" type="text/css">
<script src="js/raphael-min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/sc.line.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
window.onload = function () {
new ChartLine({
id:'show_demo',
width:'980',
height:'400',
title:{string: 'JPYEUR 2012-03-11 ~ 2011-12-13 90日 日足チャート',option: {fill: '#3266CC','font-size': 18} },
label_left_min:0.009165,
label_left_max:0.010285,
label_bottom:["2011-12-13","2011-12-14","2011-12-15","2011-12-16","2011-12-17","2011-12-18","2011-12-19","2011-12-20","2011-12-21","2011-12-22","2011-12-23","2011-12-24","2011-12-25","2011-12-26","2011-12-27","2011-12-28","2011-12-29","2011-12-30","2011-12-31","2012-01-01","2012-01-02","2012-01-03","2012-01-04","2012-01-05","2012-01-06","2012-01-07","2012-01-08","2012-01-09","2012-01-10","2012-01-11","2012-01-12","2012-01-13","2012-01-14","2012-01-15","2012-01-16","2012-01-17","2012-01-18","2012-01-19","2012-01-20","2012-01-21","2012-01-22","2012-01-23","2012-01-24","2012-01-25","2012-01-26","2012-01-27","2012-01-28","2012-01-29","2012-01-30","2012-01-31","2012-02-01","2012-02-02","2012-02-03","2012-02-04","2012-02-05","2012-02-06","2012-02-07","2012-02-08","2012-02-09","2012-02-10","2012-02-11","2012-02-12","2012-02-13","2012-02-14","2012-02-15","2012-02-16","2012-02-17","2012-02-18","2012-02-19","2012-02-20","2012-02-21","2012-02-22","2012-02-23","2012-02-24","2012-02-25","2012-02-26","2012-02-27","2012-02-28","2012-02-29","2012-03-01","2012-03-02","2012-03-03","2012-03-04","2012-03-05","2012-03-06","2012-03-07","2012-03-08","2012-03-09","2012-03-10","2012-03-11"],
data:[
{string:"現在値",color:"#3166cc",values:[0.009843,0.009873,0.009867,0.009858,0.009861,0.009861,0.009862,0.009821,0.009815,0.009804,0.00982,0.009819,0.009819,0.009818,0.009827,0.009925,0.00994,0.010041,0.01004,0.01004,0.010063,0.009995,0.010068,0.01012,0.01021,0.01021,0.01021,0.010192,0.010187,0.010236,0.010155,0.010246,0.01026,0.01026,0.010285,0.010226,0.010128,0.009996,0.010044,0.010047,0.010047,0.009967,0.009875,0.009809,0.009852,0.009866,0.009861,0.009861,0.009977,0.010034,0.009975,0.009982,0.009934,0.009934,0.009934,0.009943,0.00983,0.009792,0.009691,0.009777,0.009773,0.009773,0.009772,0.009718,0.009766,0.009645,0.00956,0.009562,0.009562,0.009489,0.009474,0.009403,0.009355,0.009169,0.009165,0.009165,0.009264,0.009232,0.009233,0.009267,0.00926,0.009266,0.009266,0.009283,0.009431,0.009372,0.009237,0.009252,0.009246,0.009246]},
{string:"5日平均",color:"#dc3812",values:[0.0096758,0.0097236,0.0097702,0.009815,0.0098604,0.009864,0.0098618,0.0098526,0.009844,0.0098326,0.0098244,0.0098158,0.0098154,0.009816,0.0098206,0.0098416,0.0098658,0.0099102,0.0099546,0.0099972,0.0100248,0.0100358,0.0100412,0.0100572,0.0100912,0.0101206,0.0101636,0.0101884,0.0102018,0.010207,0.010196,0.0102032,0.0102168,0.0102314,0.0102412,0.0102554,0.0102318,0.010179,0.0101358,0.0100882,0.0100524,0.0100202,0.009996,0.009949,0.00991,0.0098738,0.0098526,0.0098498,0.0098834,0.0099198,0.0099416,0.0099658,0.0099804,0.0099718,0.0099518,0.0099454,0.009915,0.0098866,0.009838,0.0098066,0.0097726,0.0097612,0.0097572,0.0097626,0.0097604,0.0097348,0.0096922,0.0096502,0.009619,0.0095636,0.0095294,0.009498,0.0094566,0.009378,0.0093132,0.0092514,0.0092236,0.009199,0.0092118,0.0092322,0.0092512,0.0092516,0.0092584,0.0092684,0.0093012,0.0093236,0.0093178,0.009315,0.0093076,0.0092706]},
{string:"25日平均",color:"#ff9900",values:[0.00953536,0.00955904,0.00958248,0.00960556,0.00962808,0.00965048,0.00966576,0.00967996,0.00969556,0.00971068,0.00972644,0.00973384,0.00974124,0.0097486,0.00975632,0.00976796,0.0097802,0.00979648,0.00981272,0.00982896,0.00984612,0.00986056,0.00987792,0.00989736,0.0099204,0.00993508,0.00994856,0.00996156,0.00997472,0.00998972,0.01000148,0.01001684,0.0100344,0.0100522,0.01007144,0.01008768,0.01010004,0.01010712,0.01011616,0.01012496,0.01012984,0.01013092,0.01012428,0.01011504,0.01010752,0.01009964,0.01009428,0.010086,0.01008028,0.01007324,0.01006384,0.01005472,0.0100444,0.01003428,0.0100222,0.01001372,0.00999708,0.00997836,0.0099556,0.00993528,0.00991716,0.00990296,0.009894,0.00988096,0.00986972,0.00985364,0.00983736,0.00982484,0.00981496,0.00980044,0.00978476,0.00976644,0.0097462,0.00971388,0.00967912,0.00964672,0.009618,0.00958992,0.00956188,0.0095352,0.00950788,0.00948532,0.00946428,0.00944796,0.00943412,0.00941808,0.00939664,0.00937584,0.00935696,0.00933616]}
]
}).draw();
};
</script>
</head>
<body>
<p>LineChart</p>
<div id="show_demo"></div>
<div id="debug"></div>
</body>
</html>