4 <script type="text/javascript">
\r
5 window.onload = function () {
\r
6 var chart = new CanvasJS.Chart("chartContainer",
\r
9 text: "Candle Stick chart using risingColor property"
\r
19 intervalType: "month",
\r
20 valueFormatString: "MMM-YY",
\r
25 type: "candlestick",
\r
26 risingColor: "#F79B8E",
\r
28 {x: new Date(2012,01,01),y:[5198, 5629, 5159, 5385]},
\r
29 {x: new Date(2012,02,01),y:[5366, 5499, 5135, 5295]},
\r
30 {x: new Date(2012,03,01),y:[5296, 5378, 5154, 5248]},
\r
31 {x: new Date(2012,04,01),y:[5254, 5279, 4788, 4924]},
\r
32 {x: new Date(2012,05,01),y:[4910, 5286, 4770, 5278]},
\r
33 {x: new Date(2012,06,01),y:[5283, 5348, 5032, 5229]},
\r
34 {x: new Date(2012,07,01),y:[5220, 5448, 5164, 5258]},
\r
35 {x: new Date(2012,08,01),y:[5276, 5735, 5215, 5703]},
\r
36 {x: new Date(2012,09,01),y:[5704, 5815, 4888, 5619]},
\r
37 {x: new Date(2012,10,01),y:[5609, 5885, 5548, 5879]},
\r
38 {x: new Date(2012,11,01),y:[5878, 5965, 5823, 5905]}
\r
46 <script src="../../canvasjs.min.js"></script>
\r
47 <title>CanvasJS Example</title>
\r
50 <div id="chartContainer" style="height: 400px; width: 100%;">
\r