Kích thước phông chữ <font lang="vi">nến | </font><font lang="vi">amCharts</font>
AmCharts.makeChart("chartdiv",
{
"type": "serial",
"categoryField": "date",
"autoMarginOffset": 40,
"marginRight": 60,
"marginTop": 60,
"colors": [],
"fontSize": 14,
"theme": "light",
"categoryAxis": {
"parseDates": true
},
"chartCursor": {},
"chartScrollbar": {
"graph": "g1",
"graphType": "line",
"scrollbarHeight": 30
},
"trendLines": [],
"graphs": [
{
"balloonText": "Open:[[open]]
Low:[[low]]
High:[[high]]
Close:[[close]]
",
"closeField": "close",
"fillAlphas": 0.9,
"fillColors": "#7f8da9",
"highField": "high",
"id": "g1",
"lineColor": "#7f8da9",
"lowField": "low",
"negativeFillColors": "#db4c3c",
"negativeLineColor": "#db4c3c",
"openField": "open",
"title": "Price:",
"type": "candlestick",
"valueField": "close"
}
],
"guides": [
{
"id": "Guide-1"
},
{
"id": "Guide-2"
}
],
"valueAxes": [
{
"id": "ValueAxis-1"
}
],
"allLabels": [],
"balloon": {},
"titles": [],
"dataProvider": [
{
"date": "2011-08-01",
"open": "136.65",
"high": "136.96",
"low": "134.15",
"close": "136.49"
},
{
"date": "2011-08-02",
"open": "135.26",
"high": "135.95",
"low": "131.50",
"close": "131.85"
},
{
"date": "2011-08-05",
"open": "132.90",
"high": "135.27",
"low": "128.30",
"close": "135.25"
},
{
"date": "2011-08-06",
"open": "134.94",
"high": "137.24",
"low": "132.63",
"close": "135.03"
},
{
"date": "2011-08-07",
"open": "136.76",
"high": "136.86",
"low": "132.00",
"close": "134.01"
},
{
"date": "2011-08-08",
"open": "131.11",
"high": "133.00",
"low": "125.09",
"close": "126.39"
},
{
"date": "2011-08-09",
"open": "123.12",
"high": "127.75",
"low": "120.30",
"close": "125.00"
},
{
"date": "2011-08-12",
"open": "128.32",
"high": "129.35",
"low": "126.50",
"close": "127.79"
},
{
"date": "2011-08-13",
"open": "128.29",
"high": "128.30",
"low": "123.71",
"close": "124.03"
}
]
}
);
đang được dịch, vui lòng đợi..
