標題:
[發問]
請教如何用程式分割下面字串
[打印本頁]
作者:
papamomo
時間:
2012-12-1 13:10
標題:
請教如何用程式分割下面字串
請教大家 如何將下面
[ "2012/11/1", "2012/11/2", "2012/11/5", "2012/11/6", "2012/11/7", "2012/11/8", "2012/11/9", "2012/11/12", "2012/11/13", "2012/11/14", "2012/11/15", "2012/11/16", "2012/11/19", "2012/11/20", "2012/11/21", "2012/11/22", "2012/11/23", "2012/11/26", "2012/11/27", "2012/11/28", "2012/11/29", "2012/11/30" ]
列在A 欄
[ 27.61, 27.62, 27.6, 27.64, 27.63, 27.51, 27.49, 27.46, 27.41, 27.45, 27.49, 27.47, 27.62, 27.68, 27.76, 27.77, 27.79, 27.79, 27.79, 27.81, 27.88, 27.89 ]
列在B 欄
原始數據如下 麻煩各位高手幫忙
{ "title": { "text": "2012/11/1~2012/12/1 \u57FA\u91D1\u6DE8\u503C", "style": "{font-size: 13px;color: #666666;}" }, "x_axis": { "labels": { "labels": [ "2012/11/1", "2012/11/2", "2012/11/5", "2012/11/6", "2012/11/7", "2012/11/8", "2012/11/9", "2012/11/12", "2012/11/13", "2012/11/14", "2012/11/15", "2012/11/16", "2012/11/19", "2012/11/20", "2012/11/21", "2012/11/22", "2012/11/23", "2012/11/26", "2012/11/27", "2012/11/28", "2012/11/29", "2012/11/30" ], "colour": "#333333", "visible-steps": 4 }, "colour": "#999999", "grid-colour": "#999999", "steps": 4, "3d": 0, "offset": true }, "y_axis": { "tick-length": 0, "labels": { "colour": "#ffffff", "text": "#val#" }, "colour": "#999999", "grid-colour": "#999999", "steps": 0, "min": 26.0395, "max": 29.2845, "3d": 0, "offset": true }, "y_axis_right": { "tick-length": 0, "labels": { "colour": "#333333", "text": "#val#" }, "colour": "#999999", "grid-colour": "#999999", "steps": 0, "min": 26.0395, "max": 29.2845, "3d": 0, "offset": true }, "elements": [ { "width": 3, "dot-size": 3, "halo-size": 3, "loop": false, "on-show": {}, "colour": "#8d7b42", "values": [ 27.61, 27.62, 27.6, 27.64, 27.63, 27.51, 27.49, 27.46, 27.41, 27.45, 27.49, 27.47, 27.62, 27.68, 27.76, 27.77, 27.79, 27.79, 27.79, 27.81,
27.88, 27.89 ], "fill-alpha": 0.35, "type": "line", "dot-style": { "on-show": {}, "type": "dot", "tip": " \u65E5\u671F #x_label# \u003Cbr> \u6DE8\u503C #val# " } } ], "bg_colour": "#f9f9f9" }
歡迎光臨 麻辣家族討論版版 (http://forum.twbts.com/)