echarts 图表 - K 线图示例 2

示例 2

效果
{
    "title": {
        "text": "上证指数", 
        "left": 0
    }, 
	"toolbox": {
        "show": true, 
        "feature": {
            "mark": {
                "show": true
            }, 
            "dataView": {
                "show": true, 
                "readOnly": false
            }, 
            "restore": {
                "show": true
            }, 
            "saveAsImage": {
                "show": true
            }
        }
    }, 
    "tooltip": {
        "trigger": "axis", 
        "axisPointer": {
            "type": "cross"
        }
    }, 
    "legend": {
        "data": [
            "日K", 
            "MA5", 
            "MA10", 
            "MA20", 
            "MA30"
        ]
    }, 
    "grid": {
        "left": "10%", 
        "right": "10%", 
        "bottom": "15%"
    }, 
    "xAxis": {
        "type": "category", 
        "data": [
        "2013/1/24",
        "2013/1/25",
        "2013/1/28",
        "2013/1/29",
        "2013/1/30",
        "2013/1/31",
        "2013/2/1",
        "2013/2/4",
        "2013/2/5",
        "2013/2/6",
        "2013/2/7",
        "2013/2/8",
        "2013/2/18",
        "2013/2/19",
        "2013/2/20",
        "2013/2/21",
        "2013/2/22",
        "2013/2/25",
        "2013/2/26",
        "2013/2/27",
        "2013/2/28",
        "2013/3/1",
        "2013/3/4",
        "2013/3/5",
        "2013/3/6",
        "2013/3/7",
        "2013/3/8",
        "2013/3/11",
        "2013/3/12",
        "2013/3/13",
        "2013/3/14",
        "2013/3/15",
        "2013/3/18",
        "2013/3/19",
        "2013/3/20",
        "2013/3/21",
        "2013/3/22",
        "2013/3/25",
        "2013/3/26",
        "2013/3/27",
        "2013/3/28",
        "2013/3/29",
        "2013/4/1",
        "2013/4/2",
        "2013/4/3",
        "2013/4/8",
        "2013/4/9",
        "2013/4/10",
        "2013/4/11",
        "2013/4/12",
        "2013/4/15",
        "2013/4/16",
        "2013/4/17",
        "2013/4/18",
        "2013/4/19",
        "2013/4/22",
        "2013/4/23",
        "2013/4/24",
        "2013/4/25",
        "2013/4/26",
        "2013/5/2",
        "2013/5/3",
        "2013/5/6",
        "2013/5/7",
        "2013/5/8",
        "2013/5/9",
        "2013/5/10",
        "2013/5/13",
        "2013/5/14",
        "2013/5/15",
        "2013/5/16",
        "2013/5/17",
        "2013/5/20",
        "2013/5/21",
        "2013/5/22",
        "2013/5/23",
        "2013/5/24",
        "2013/5/27",
        "2013/5/28",
        "2013/5/29",
        "2013/5/30",
        "2013/5/31",
        "2013/6/3",
        "2013/6/4",
        "2013/6/5",
        "2013/6/6",
        "2013/6/7",
        "2013/6/13"
        ],
        "scale": true, 
        "boundaryGap": false, 
        "axisLine": {
            "onZero": false
        }, 
        "splitLine": {
            "show": false
        }, 
        "splitNumber": 20, 
        "min": "dataMin", 
        "max": "dataMax"
    }, 
    "yAxis": {
        "scale": true, 
        "splitArea": {
            "show": true
        }
    }, 
    "dataZoom": [
        {
            "type": "inside", 
            "start": 50, 
            "end": 100
        }, 
        {
            "show": true, 
            "type": "slider", 
            "y": "90%", 
            "start": 50, 
            "end": 100
        }
    ], 
    "series": [
        {
            "name": "日K", 
            "type": "candlestick", 
            "data": [
        [
        2320.26,
        2320.26,
        2287.3,
        2362.94
        ],
        [
        2300,
        2291.3,
        2288.26,
        2308.38
        ],
        [
        2295.35,
        2346.5,
        2295.35,
        2346.92
        ],
        [
        2347.22,
        2358.98,
        2337.35,
        2363.8
        ],
        [
        2360.75,
        2382.48,
        2347.89,
        2383.76
        ],
        [
        2383.43,
        2385.42,
        2371.23,
        2391.82
        ],
        [
        2377.41,
        2419.02,
        2369.57,
        2421.15
        ],
        [
        2425.92,
        2428.15,
        2417.58,
        2440.38
        ],
        [
        2411,
        2433.13,
        2403.3,
        2437.42
        ],
        [
        2432.68,
        2434.48,
        2427.7,
        2441.73
        ],
        [
        2430.69,
        2418.53,
        2394.22,
        2433.89
        ],
        [
        2416.62,
        2432.4,
        2414.4,
        2443.03
        ],
        [
        2441.91,
        2421.56,
        2415.43,
        2444.8
        ],
        [
        2420.26,
        2382.91,
        2373.53,
        2427.07
        ],
        [
        2383.49,
        2397.18,
        2370.61,
        2397.94
        ],
        [
        2378.82,
        2325.95,
        2309.17,
        2378.82
        ],
        [
        2322.94,
        2314.16,
        2308.76,
        2330.88
        ],
        [
        2320.62,
        2325.82,
        2315.01,
        2338.78
        ],
        [
        2313.74,
        2293.34,
        2289.89,
        2340.71
        ],
        [
        2297.77,
        2313.22,
        2292.03,
        2324.63
        ],
        [
        2322.32,
        2365.59,
        2308.92,
        2366.16
        ],
        [
        2364.54,
        2359.51,
        2330.86,
        2369.65
        ],
        [
        2332.08,
        2273.4,
        2259.25,
        2333.54
        ],
        [
        2274.81,
        2326.31,
        2270.1,
        2328.14
        ],
        [
        2333.61,
        2347.18,
        2321.6,
        2351.44
        ],
        [
        2340.44,
        2324.29,
        2304.27,
        2352.02
        ],
        [
        2326.42,
        2318.61,
        2314.59,
        2333.67
        ],
        [
        2314.68,
        2310.59,
        2296.58,
        2320.96
        ],
        [
        2309.16,
        2286.6,
        2264.83,
        2333.29
        ],
        [
        2282.17,
        2263.97,
        2253.25,
        2286.33
        ],
        [
        2255.77,
        2270.28,
        2253.31,
        2276.22
        ],
        [
        2269.31,
        2278.4,
        2250,
        2312.08
        ],
        [
        2267.29,
        2240.02,
        2239.21,
        2276.05
        ],
        [
        2244.26,
        2257.43,
        2232.02,
        2261.31
        ],
        [
        2257.74,
        2317.37,
        2257.42,
        2317.86
        ],
        [
        2318.21,
        2324.24,
        2311.6,
        2330.81
        ],
        [
        2321.4,
        2328.28,
        2314.97,
        2332
        ],
        [
        2334.74,
        2326.72,
        2319.91,
        2344.89
        ],
        [
        2318.58,
        2297.67,
        2281.12,
        2319.99
        ],
        [
        2299.38,
        2301.26,
        2289,
        2323.48
        ],
        [
        2273.55,
        2236.3,
        2232.91,
        2273.55
        ],
        [
        2238.49,
        2236.62,
        2228.81,
        2246.87
        ],
        [
        2229.46,
        2234.4,
        2227.31,
        2243.95
        ],
        [
        2234.9,
        2227.74,
        2220.44,
        2253.42
        ],
        [
        2232.69,
        2225.29,
        2217.25,
        2241.34
        ],
        [
        2196.24,
        2211.59,
        2180.67,
        2212.59
        ],
        [
        2215.47,
        2225.77,
        2215.47,
        2234.73
        ],
        [
        2224.93,
        2226.13,
        2212.56,
        2233.04
        ],
        [
        2236.98,
        2219.55,
        2217.26,
        2242.48
        ],
        [
        2218.09,
        2206.78,
        2204.44,
        2226.26
        ],
        [
        2199.91,
        2181.94,
        2177.39,
        2204.99
        ],
        [
        2169.63,
        2194.85,
        2165.78,
        2196.43
        ],
        [
        2195.03,
        2193.8,
        2178.47,
        2197.51
        ],
        [
        2181.82,
        2197.6,
        2175.44,
        2206.03
        ],
        [
        2201.12,
        2244.64,
        2200.58,
        2250.11
        ],
        [
        2236.4,
        2242.17,
        2232.26,
        2245.12
        ],
        [
        2242.62,
        2184.54,
        2182.81,
        2242.62
        ],
        [
        2187.35,
        2218.32,
        2184.11,
        2226.12
        ],
        [
        2213.19,
        2199.31,
        2191.85,
        2224.63
        ],
        [
        2203.89,
        2177.91,
        2173.86,
        2210.58
        ],
        [
        2170.78,
        2174.12,
        2161.14,
        2179.65
        ],
        [
        2179.05,
        2205.5,
        2179.05,
        2222.81
        ],
        [
        2212.5,
        2231.17,
        2212.5,
        2236.07
        ],
        [
        2227.86,
        2235.57,
        2219.44,
        2240.26
        ],
        [
        2242.39,
        2246.3,
        2235.42,
        2255.21
        ],
        [
        2246.96,
        2232.97,
        2221.38,
        2247.86
        ],
        [
        2228.82,
        2246.83,
        2225.81,
        2247.67
        ],
        [
        2247.68,
        2241.92,
        2231.36,
        2250.85
        ],
        [
        2238.9,
        2217.01,
        2205.87,
        2239.93
        ],
        [
        2217.09,
        2224.8,
        2213.58,
        2225.19
        ],
        [
        2221.34,
        2251.81,
        2210.77,
        2252.87
        ],
        [
        2249.81,
        2282.87,
        2248.41,
        2288.09
        ],
        [
        2286.33,
        2299.99,
        2281.9,
        2309.39
        ],
        [
        2297.11,
        2305.11,
        2290.12,
        2305.3
        ],
        [
        2303.75,
        2302.4,
        2292.43,
        2314.18
        ],
        [
        2293.81,
        2275.67,
        2274.1,
        2304.95
        ],
        [
        2281.45,
        2288.53,
        2270.25,
        2292.59
        ],
        [
        2286.66,
        2293.08,
        2283.94,
        2301.7
        ],
        [
        2293.4,
        2321.32,
        2281.47,
        2322.1
        ],
        [
        2323.54,
        2324.02,
        2321.17,
        2334.33
        ],
        [
        2316.25,
        2317.75,
        2310.49,
        2325.72
        ],
        [
        2320.74,
        2300.59,
        2299.37,
        2325.53
        ],
        [
        2300.21,
        2299.25,
        2294.11,
        2313.43
        ],
        [
        2297.1,
        2272.42,
        2264.76,
        2297.1
        ],
        [
        2270.71,
        2270.93,
        2260.87,
        2276.86
        ],
        [
        2264.43,
        2242.11,
        2240.07,
        2266.69
        ],
        [
        2242.26,
        2210.9,
        2205.07,
        2250.63
        ],
        [
        2190.1,
        2148.35,
        2126.22,
        2190.1
        ]
        ], 
            "itemStyle": {
                "normal": {
                    "color": "#ec0000", 
                    "color0": "#00da3c", 
                    "borderColor": "#8A0000", 
                    "borderColor0": "#008F28"
                }
            }, 
            "markPoint": {
                "data": [
                    {
                        "name": "XX标点", 
                        "coord": [
                            "2013/5/31", 
                            2300
                        ], 
                        "value": 2300, 
                        "itemStyle": {
                            "normal": {
                                "color": "rgb(41,60,85)"
                            }
                        }
                    }, 
                    {
                        "name": "highest value", 
                        "type": "max", 
                        "valueDim": "highest"
                    }, 
                    {
                        "name": "lowest value", 
                        "type": "min", 
                        "valueDim": "lowest"
                    }, 
                    {
                        "name": "average value on close", 
                        "type": "average", 
                        "valueDim": "close"
                    }
                ]
            }, 
            "markLine": {
                "symbol": [
                    "none", 
                    "none"
                ], 
                "data": [
                    [
                        {
                            "name": "from lowest to highest", 
                            "type": "min", 
                            "valueDim": "lowest", 
                            "symbol": "circle", 
                            "symbolSize": 10, 
                            "label": {
                                "normal": {
                                    "show": false
                                }, 
                                "emphasis": {
                                    "show": false
                                }
                            }
                        }, 
                        {
                            "type": "max", 
                            "valueDim": "highest", 
                            "symbol": "circle", 
                            "symbolSize": 10, 
                            "label": {
                                "normal": {
                                    "show": false
                                }, 
                                "emphasis": {
                                    "show": false
                                }
                            }
                        }
                    ], 
                    {
                        "name": "min line on close", 
                        "type": "min", 
                        "valueDim": "close"
                    }, 
                    {
                        "name": "max line on close", 
                        "type": "max", 
                        "valueDim": "close"
                    }
                ]
            }
        }, 
        {
            "name": "MA5", 
            "type": "line", 
            "data": [
        "-",
        "-",
        "-",
        "-",
        "-",
        2352.936,
        2378.48,
        2394.81,
        2409.6400000000003,
        2420.04,
        2426.6620000000003,
        2429.338,
        2428.0199999999995,
        2417.9759999999997,
        2410.516,
        2391.9999999999995,
        2368.352,
        2349.2039999999997,
        2331.29,
        2314.4979999999996,
        2322.426,
        2331.496,
        2321.0119999999997,
        2327.606,
        2334.398,
        2326.138,
        2317.9579999999996,
        2325.3959999999997,
        2317.454,
        2300.8120000000004,
        2290.01,
        2281.968,
        2267.8540000000003,
        2262.02,
        2272.7,
        2283.4919999999997,
        2293.468,
        2310.808,
        2318.8559999999998,
        2315.634,
        2298.0460000000003,
        2279.714,
        2261.2500000000005,
        2247.264,
        2232.0699999999997,
        2227.1279999999997,
        2224.9579999999996,
        2223.3039999999996,
        2221.666,
        2217.964,
        2212.0340000000006,
        2205.85,
        2199.3840000000005,
        2194.994,
        2202.566,
        2214.612,
        2212.55,
        2217.454,
        2217.796,
        2204.45,
        2190.84,
        2195.032,
        2197.602,
        2204.8540000000003,
        2218.532,
        2230.302,
        2238.568,
        2240.718,
        2237.006,
        2232.706,
        2236.474,
        2243.6820000000002,
        2255.2960000000003,
        2272.916,
        2288.4359999999997,
        2293.208,
        2294.34,
        2292.958,
        2296.2,
        2300.5240000000003,
        2308.94,
        2311.352,
        2312.5860000000002,
        2302.806,
        2292.188,
        2277.06,
        2259.1220000000003,
        2228.942
        ], 
            "smooth": true, 
            "lineStyle": {
                "normal": {
                    "opacity": 0.5
                }
            }
        }, 
        {
            "name": "MA10", 
            "type": "line", 
            "data": [
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        2389.799,
        2403.909,
        2411.4149999999995,
        2413.808,
        2415.278,
        2409.331,
        2398.8450000000003,
        2388.612,
        2374.6330000000003,
        2362.507,
        2357.213,
        2349.924,
        2335.1079999999997,
        2329.448,
        2324.448,
        2324.2819999999997,
        2324.727,
        2323.204,
        2322.5299999999997,
        2317.605,
        2308.0740000000005,
        2299.9630000000006,
        2296.6250000000005,
        2289.737,
        2286.7560000000003,
        2286.7509999999997,
        2287.718,
        2289.331,
        2290.438,
        2294.1670000000004,
        2290.7690000000002,
        2286.591,
        2286.029,
        2283.0599999999995,
        2273.852,
        2262.587,
        2252.3360000000002,
        2242.2769999999996,
        2234.465,
        2225.017,
        2219.581,
        2215.404,
        2211.344,
        2208.3300000000004,
        2210.2650000000003,
        2213.3230000000003,
        2209.2,
        2208.419,
        2206.3949999999995,
        2203.5079999999994,
        2202.7259999999997,
        2203.791,
        2207.528,
        2211.325,
        2211.4910000000004,
        2210.5710000000004,
        2216.8,
        2219.1600000000003,
        2220.9299999999994,
        2225.6189999999997,
        2233.388,
        2241.125,
        2248.007,
        2254.9610000000002,
        2260.571,
        2264.8410000000003,
        2269.011,
        2274.1270000000004,
        2284.558,
        2294.4800000000005,
        2301.074,
        2302.846,
        2302.772,
        2299.5029999999997,
        2296.3559999999998,
        2293,
        2285.237,
        2270.764
        ], 
            "smooth": true, 
            "lineStyle": {
                "normal": {
                    "opacity": 0.5
                }
            }
        }, 
        {
            "name": "MA20", 
            "type": "line", 
            "data":         [
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        2373.5060000000003,
        2376.9165000000003,
        2373.2615,
        2371.628,
        2369.863,
        2366.8064999999997,
        2361.786,
        2355.908,
        2348.5815000000002,
        2340.056,
        2332.6435,
        2324.9435,
        2315.8665,
        2309.5924999999997,
        2305.602,
        2305.5165,
        2306.2225000000003,
        2306.2675000000004,
        2306.4840000000004,
        2305.886,
        2299.4215,
        2293.277,
        2291.327,
        2286.3985000000002,
        2280.3039999999996,
        2274.6690000000003,
        2270.0269999999996,
        2265.803999999999,
        2262.4515,
        2259.5919999999996,
        2255.175,
        2250.9975,
        2248.6865000000003,
        2245.695,
        2242.0585,
        2237.955000000001,
        2230.7680000000005,
        2225.3480000000004,
        2220.4300000000003,
        2214.2625,
        2211.1534999999994,
        2209.5974999999994,
        2209.4359999999992,
        2209.8275,
        2210.8779999999997,
        2211.947,
        2213,
        2213.7895000000003,
        2213.6625,
        2214.5635,
        2218.057,
        2222.458,
        2227.7674999999995,
        2233.143,
        2236.031,
        2237.7060000000006,
        2242.9055000000003,
        2246.6435000000006,
        2252.744,
        2260.0495,
        2267.231,
        2271.9855,
        2275.3895,
        2277.2320000000004,
        2278.4635000000003,
        2278.9205,
        2277.1240000000003,
        2272.4455000000003
        ], 
            "smooth": true, 
            "lineStyle": {
                "normal": {
                    "opacity": 0.5
                }
            }
        }, 
        {
            "name": "MA30", 
            "type": "line", 
            "data":         [
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        2351.6953333333336,
        2351.2653333333333,
        2347.716,
        2344.3309999999997,
        2342.160666666666,
        2340.1213333333335,
        2337.0966666666664,
        2333.7156666666665,
        2329.200333333333,
        2324.759666666666,
        2318.685333333333,
        2312.1593333333326,
        2305.9206666666664,
        2300.7483333333325,
        2295.018666666666,
        2291.206666666667,
        2288.260333333333,
        2284.937333333333,
        2282.4776666666667,
        2278.9296666666664,
        2272.8079999999995,
        2267.319333333333,
        2264.6659999999997,
        2260.375666666667,
        2256.9576666666667,
        2254.2203333333337,
        2249.7513333333336,
        2246.675666666667,
        2243.766,
        2240.8973333333333,
        2237.692,
        2235.262,
        2234.9669999999996,
        2234.2383333333332,
        2231.8693333333335,
        2228.827,
        2226.112,
        2223.2853333333337,
        2220.5966666666664,
        2218.0480000000002,
        2218.565,
        2220.1066666666666,
        2222.2929999999997,
        2224.872,
        2227.442333333333,
        2229.5783333333334,
        2231.670333333334,
        2233.9020000000005,
        2237.2943333333333,
        2241.2023333333336,
        2245.7293333333337,
        2249.254,
        2252.7690000000002,
        2255.263,
        2256.1393333333335,
        2256.1373333333336,
        2257.0160000000005,
        2254.683666666667
        ], 
            "smooth": true, 
            "lineStyle": {
                "normal": {
                    "opacity": 0.5
                }
            }
        }
    ]
}
json
{
    "title": {
        "text": "上证指数", 
        "left": 0
    }, 
	"toolbox": {
        "show": true, 
        "feature": {
            "mark": {
                "show": true
            }, 
            "dataView": {
                "show": true, 
                "readOnly": false
            }, 
            "restore": {
                "show": true
            }, 
            "saveAsImage": {
                "show": true
            }
        }
    }, 
    "tooltip": {
        "trigger": "axis", 
        "axisPointer": {
            "type": "cross"
        }
    }, 
    "legend": {
        "data": [
            "日K", 
            "MA5", 
            "MA10", 
            "MA20", 
            "MA30"
        ]
    }, 
    "grid": {
        "left": "10%", 
        "right": "10%", 
        "bottom": "15%"
    }, 
    "xAxis": {
        "type": "category", 
        "data": [
        "2013/1/24",
        "2013/1/25",
        "2013/1/28",
        "2013/1/29",
        "2013/1/30",
        "2013/1/31",
        "2013/2/1",
        "2013/2/4",
        "2013/2/5",
        "2013/2/6",
        "2013/2/7",
        "2013/2/8",
        "2013/2/18",
        "2013/2/19",
        "2013/2/20",
        "2013/2/21",
        "2013/2/22",
        "2013/2/25",
        "2013/2/26",
        "2013/2/27",
        "2013/2/28",
        "2013/3/1",
        "2013/3/4",
        "2013/3/5",
        "2013/3/6",
        "2013/3/7",
        "2013/3/8",
        "2013/3/11",
        "2013/3/12",
        "2013/3/13",
        "2013/3/14",
        "2013/3/15",
        "2013/3/18",
        "2013/3/19",
        "2013/3/20",
        "2013/3/21",
        "2013/3/22",
        "2013/3/25",
        "2013/3/26",
        "2013/3/27",
        "2013/3/28",
        "2013/3/29",
        "2013/4/1",
        "2013/4/2",
        "2013/4/3",
        "2013/4/8",
        "2013/4/9",
        "2013/4/10",
        "2013/4/11",
        "2013/4/12",
        "2013/4/15",
        "2013/4/16",
        "2013/4/17",
        "2013/4/18",
        "2013/4/19",
        "2013/4/22",
        "2013/4/23",
        "2013/4/24",
        "2013/4/25",
        "2013/4/26",
        "2013/5/2",
        "2013/5/3",
        "2013/5/6",
        "2013/5/7",
        "2013/5/8",
        "2013/5/9",
        "2013/5/10",
        "2013/5/13",
        "2013/5/14",
        "2013/5/15",
        "2013/5/16",
        "2013/5/17",
        "2013/5/20",
        "2013/5/21",
        "2013/5/22",
        "2013/5/23",
        "2013/5/24",
        "2013/5/27",
        "2013/5/28",
        "2013/5/29",
        "2013/5/30",
        "2013/5/31",
        "2013/6/3",
        "2013/6/4",
        "2013/6/5",
        "2013/6/6",
        "2013/6/7",
        "2013/6/13"
        ],
        "scale": true, 
        "boundaryGap": false, 
        "axisLine": {
            "onZero": false
        }, 
        "splitLine": {
            "show": false
        }, 
        "splitNumber": 20, 
        "min": "dataMin", 
        "max": "dataMax"
    }, 
    "yAxis": {
        "scale": true, 
        "splitArea": {
            "show": true
        }
    }, 
    "dataZoom": [
        {
            "type": "inside", 
            "start": 50, 
            "end": 100
        }, 
        {
            "show": true, 
            "type": "slider", 
            "y": "90%", 
            "start": 50, 
            "end": 100
        }
    ], 
    "series": [
        {
            "name": "日K", 
            "type": "candlestick", 
            "data": [
        [
        2320.26,
        2320.26,
        2287.3,
        2362.94
        ],
        [
        2300,
        2291.3,
        2288.26,
        2308.38
        ],
        [
        2295.35,
        2346.5,
        2295.35,
        2346.92
        ],
        [
        2347.22,
        2358.98,
        2337.35,
        2363.8
        ],
        [
        2360.75,
        2382.48,
        2347.89,
        2383.76
        ],
        [
        2383.43,
        2385.42,
        2371.23,
        2391.82
        ],
        [
        2377.41,
        2419.02,
        2369.57,
        2421.15
        ],
        [
        2425.92,
        2428.15,
        2417.58,
        2440.38
        ],
        [
        2411,
        2433.13,
        2403.3,
        2437.42
        ],
        [
        2432.68,
        2434.48,
        2427.7,
        2441.73
        ],
        [
        2430.69,
        2418.53,
        2394.22,
        2433.89
        ],
        [
        2416.62,
        2432.4,
        2414.4,
        2443.03
        ],
        [
        2441.91,
        2421.56,
        2415.43,
        2444.8
        ],
        [
        2420.26,
        2382.91,
        2373.53,
        2427.07
        ],
        [
        2383.49,
        2397.18,
        2370.61,
        2397.94
        ],
        [
        2378.82,
        2325.95,
        2309.17,
        2378.82
        ],
        [
        2322.94,
        2314.16,
        2308.76,
        2330.88
        ],
        [
        2320.62,
        2325.82,
        2315.01,
        2338.78
        ],
        [
        2313.74,
        2293.34,
        2289.89,
        2340.71
        ],
        [
        2297.77,
        2313.22,
        2292.03,
        2324.63
        ],
        [
        2322.32,
        2365.59,
        2308.92,
        2366.16
        ],
        [
        2364.54,
        2359.51,
        2330.86,
        2369.65
        ],
        [
        2332.08,
        2273.4,
        2259.25,
        2333.54
        ],
        [
        2274.81,
        2326.31,
        2270.1,
        2328.14
        ],
        [
        2333.61,
        2347.18,
        2321.6,
        2351.44
        ],
        [
        2340.44,
        2324.29,
        2304.27,
        2352.02
        ],
        [
        2326.42,
        2318.61,
        2314.59,
        2333.67
        ],
        [
        2314.68,
        2310.59,
        2296.58,
        2320.96
        ],
        [
        2309.16,
        2286.6,
        2264.83,
        2333.29
        ],
        [
        2282.17,
        2263.97,
        2253.25,
        2286.33
        ],
        [
        2255.77,
        2270.28,
        2253.31,
        2276.22
        ],
        [
        2269.31,
        2278.4,
        2250,
        2312.08
        ],
        [
        2267.29,
        2240.02,
        2239.21,
        2276.05
        ],
        [
        2244.26,
        2257.43,
        2232.02,
        2261.31
        ],
        [
        2257.74,
        2317.37,
        2257.42,
        2317.86
        ],
        [
        2318.21,
        2324.24,
        2311.6,
        2330.81
        ],
        [
        2321.4,
        2328.28,
        2314.97,
        2332
        ],
        [
        2334.74,
        2326.72,
        2319.91,
        2344.89
        ],
        [
        2318.58,
        2297.67,
        2281.12,
        2319.99
        ],
        [
        2299.38,
        2301.26,
        2289,
        2323.48
        ],
        [
        2273.55,
        2236.3,
        2232.91,
        2273.55
        ],
        [
        2238.49,
        2236.62,
        2228.81,
        2246.87
        ],
        [
        2229.46,
        2234.4,
        2227.31,
        2243.95
        ],
        [
        2234.9,
        2227.74,
        2220.44,
        2253.42
        ],
        [
        2232.69,
        2225.29,
        2217.25,
        2241.34
        ],
        [
        2196.24,
        2211.59,
        2180.67,
        2212.59
        ],
        [
        2215.47,
        2225.77,
        2215.47,
        2234.73
        ],
        [
        2224.93,
        2226.13,
        2212.56,
        2233.04
        ],
        [
        2236.98,
        2219.55,
        2217.26,
        2242.48
        ],
        [
        2218.09,
        2206.78,
        2204.44,
        2226.26
        ],
        [
        2199.91,
        2181.94,
        2177.39,
        2204.99
        ],
        [
        2169.63,
        2194.85,
        2165.78,
        2196.43
        ],
        [
        2195.03,
        2193.8,
        2178.47,
        2197.51
        ],
        [
        2181.82,
        2197.6,
        2175.44,
        2206.03
        ],
        [
        2201.12,
        2244.64,
        2200.58,
        2250.11
        ],
        [
        2236.4,
        2242.17,
        2232.26,
        2245.12
        ],
        [
        2242.62,
        2184.54,
        2182.81,
        2242.62
        ],
        [
        2187.35,
        2218.32,
        2184.11,
        2226.12
        ],
        [
        2213.19,
        2199.31,
        2191.85,
        2224.63
        ],
        [
        2203.89,
        2177.91,
        2173.86,
        2210.58
        ],
        [
        2170.78,
        2174.12,
        2161.14,
        2179.65
        ],
        [
        2179.05,
        2205.5,
        2179.05,
        2222.81
        ],
        [
        2212.5,
        2231.17,
        2212.5,
        2236.07
        ],
        [
        2227.86,
        2235.57,
        2219.44,
        2240.26
        ],
        [
        2242.39,
        2246.3,
        2235.42,
        2255.21
        ],
        [
        2246.96,
        2232.97,
        2221.38,
        2247.86
        ],
        [
        2228.82,
        2246.83,
        2225.81,
        2247.67
        ],
        [
        2247.68,
        2241.92,
        2231.36,
        2250.85
        ],
        [
        2238.9,
        2217.01,
        2205.87,
        2239.93
        ],
        [
        2217.09,
        2224.8,
        2213.58,
        2225.19
        ],
        [
        2221.34,
        2251.81,
        2210.77,
        2252.87
        ],
        [
        2249.81,
        2282.87,
        2248.41,
        2288.09
        ],
        [
        2286.33,
        2299.99,
        2281.9,
        2309.39
        ],
        [
        2297.11,
        2305.11,
        2290.12,
        2305.3
        ],
        [
        2303.75,
        2302.4,
        2292.43,
        2314.18
        ],
        [
        2293.81,
        2275.67,
        2274.1,
        2304.95
        ],
        [
        2281.45,
        2288.53,
        2270.25,
        2292.59
        ],
        [
        2286.66,
        2293.08,
        2283.94,
        2301.7
        ],
        [
        2293.4,
        2321.32,
        2281.47,
        2322.1
        ],
        [
        2323.54,
        2324.02,
        2321.17,
        2334.33
        ],
        [
        2316.25,
        2317.75,
        2310.49,
        2325.72
        ],
        [
        2320.74,
        2300.59,
        2299.37,
        2325.53
        ],
        [
        2300.21,
        2299.25,
        2294.11,
        2313.43
        ],
        [
        2297.1,
        2272.42,
        2264.76,
        2297.1
        ],
        [
        2270.71,
        2270.93,
        2260.87,
        2276.86
        ],
        [
        2264.43,
        2242.11,
        2240.07,
        2266.69
        ],
        [
        2242.26,
        2210.9,
        2205.07,
        2250.63
        ],
        [
        2190.1,
        2148.35,
        2126.22,
        2190.1
        ]
        ], 
            "itemStyle": {
                "normal": {
                    "color": "#ec0000", 
                    "color0": "#00da3c", 
                    "borderColor": "#8A0000", 
                    "borderColor0": "#008F28"
                }
            }, 
            "markPoint": {
                "data": [
                    {
                        "name": "XX标点", 
                        "coord": [
                            "2013/5/31", 
                            2300
                        ], 
                        "value": 2300, 
                        "itemStyle": {
                            "normal": {
                                "color": "rgb(41,60,85)"
                            }
                        }
                    }, 
                    {
                        "name": "highest value", 
                        "type": "max", 
                        "valueDim": "highest"
                    }, 
                    {
                        "name": "lowest value", 
                        "type": "min", 
                        "valueDim": "lowest"
                    }, 
                    {
                        "name": "average value on close", 
                        "type": "average", 
                        "valueDim": "close"
                    }
                ]
            }, 
            "markLine": {
                "symbol": [
                    "none", 
                    "none"
                ], 
                "data": [
                    [
                        {
                            "name": "from lowest to highest", 
                            "type": "min", 
                            "valueDim": "lowest", 
                            "symbol": "circle", 
                            "symbolSize": 10, 
                            "label": {
                                "normal": {
                                    "show": false
                                }, 
                                "emphasis": {
                                    "show": false
                                }
                            }
                        }, 
                        {
                            "type": "max", 
                            "valueDim": "highest", 
                            "symbol": "circle", 
                            "symbolSize": 10, 
                            "label": {
                                "normal": {
                                    "show": false
                                }, 
                                "emphasis": {
                                    "show": false
                                }
                            }
                        }
                    ], 
                    {
                        "name": "min line on close", 
                        "type": "min", 
                        "valueDim": "close"
                    }, 
                    {
                        "name": "max line on close", 
                        "type": "max", 
                        "valueDim": "close"
                    }
                ]
            }
        }, 
        {
            "name": "MA5", 
            "type": "line", 
            "data": [
        "-",
        "-",
        "-",
        "-",
        "-",
        2352.936,
        2378.48,
        2394.81,
        2409.6400000000003,
        2420.04,
        2426.6620000000003,
        2429.338,
        2428.0199999999995,
        2417.9759999999997,
        2410.516,
        2391.9999999999995,
        2368.352,
        2349.2039999999997,
        2331.29,
        2314.4979999999996,
        2322.426,
        2331.496,
        2321.0119999999997,
        2327.606,
        2334.398,
        2326.138,
        2317.9579999999996,
        2325.3959999999997,
        2317.454,
        2300.8120000000004,
        2290.01,
        2281.968,
        2267.8540000000003,
        2262.02,
        2272.7,
        2283.4919999999997,
        2293.468,
        2310.808,
        2318.8559999999998,
        2315.634,
        2298.0460000000003,
        2279.714,
        2261.2500000000005,
        2247.264,
        2232.0699999999997,
        2227.1279999999997,
        2224.9579999999996,
        2223.3039999999996,
        2221.666,
        2217.964,
        2212.0340000000006,
        2205.85,
        2199.3840000000005,
        2194.994,
        2202.566,
        2214.612,
        2212.55,
        2217.454,
        2217.796,
        2204.45,
        2190.84,
        2195.032,
        2197.602,
        2204.8540000000003,
        2218.532,
        2230.302,
        2238.568,
        2240.718,
        2237.006,
        2232.706,
        2236.474,
        2243.6820000000002,
        2255.2960000000003,
        2272.916,
        2288.4359999999997,
        2293.208,
        2294.34,
        2292.958,
        2296.2,
        2300.5240000000003,
        2308.94,
        2311.352,
        2312.5860000000002,
        2302.806,
        2292.188,
        2277.06,
        2259.1220000000003,
        2228.942
        ], 
            "smooth": true, 
            "lineStyle": {
                "normal": {
                    "opacity": 0.5
                }
            }
        }, 
        {
            "name": "MA10", 
            "type": "line", 
            "data": [
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        2389.799,
        2403.909,
        2411.4149999999995,
        2413.808,
        2415.278,
        2409.331,
        2398.8450000000003,
        2388.612,
        2374.6330000000003,
        2362.507,
        2357.213,
        2349.924,
        2335.1079999999997,
        2329.448,
        2324.448,
        2324.2819999999997,
        2324.727,
        2323.204,
        2322.5299999999997,
        2317.605,
        2308.0740000000005,
        2299.9630000000006,
        2296.6250000000005,
        2289.737,
        2286.7560000000003,
        2286.7509999999997,
        2287.718,
        2289.331,
        2290.438,
        2294.1670000000004,
        2290.7690000000002,
        2286.591,
        2286.029,
        2283.0599999999995,
        2273.852,
        2262.587,
        2252.3360000000002,
        2242.2769999999996,
        2234.465,
        2225.017,
        2219.581,
        2215.404,
        2211.344,
        2208.3300000000004,
        2210.2650000000003,
        2213.3230000000003,
        2209.2,
        2208.419,
        2206.3949999999995,
        2203.5079999999994,
        2202.7259999999997,
        2203.791,
        2207.528,
        2211.325,
        2211.4910000000004,
        2210.5710000000004,
        2216.8,
        2219.1600000000003,
        2220.9299999999994,
        2225.6189999999997,
        2233.388,
        2241.125,
        2248.007,
        2254.9610000000002,
        2260.571,
        2264.8410000000003,
        2269.011,
        2274.1270000000004,
        2284.558,
        2294.4800000000005,
        2301.074,
        2302.846,
        2302.772,
        2299.5029999999997,
        2296.3559999999998,
        2293,
        2285.237,
        2270.764
        ], 
            "smooth": true, 
            "lineStyle": {
                "normal": {
                    "opacity": 0.5
                }
            }
        }, 
        {
            "name": "MA20", 
            "type": "line", 
            "data":         [
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        2373.5060000000003,
        2376.9165000000003,
        2373.2615,
        2371.628,
        2369.863,
        2366.8064999999997,
        2361.786,
        2355.908,
        2348.5815000000002,
        2340.056,
        2332.6435,
        2324.9435,
        2315.8665,
        2309.5924999999997,
        2305.602,
        2305.5165,
        2306.2225000000003,
        2306.2675000000004,
        2306.4840000000004,
        2305.886,
        2299.4215,
        2293.277,
        2291.327,
        2286.3985000000002,
        2280.3039999999996,
        2274.6690000000003,
        2270.0269999999996,
        2265.803999999999,
        2262.4515,
        2259.5919999999996,
        2255.175,
        2250.9975,
        2248.6865000000003,
        2245.695,
        2242.0585,
        2237.955000000001,
        2230.7680000000005,
        2225.3480000000004,
        2220.4300000000003,
        2214.2625,
        2211.1534999999994,
        2209.5974999999994,
        2209.4359999999992,
        2209.8275,
        2210.8779999999997,
        2211.947,
        2213,
        2213.7895000000003,
        2213.6625,
        2214.5635,
        2218.057,
        2222.458,
        2227.7674999999995,
        2233.143,
        2236.031,
        2237.7060000000006,
        2242.9055000000003,
        2246.6435000000006,
        2252.744,
        2260.0495,
        2267.231,
        2271.9855,
        2275.3895,
        2277.2320000000004,
        2278.4635000000003,
        2278.9205,
        2277.1240000000003,
        2272.4455000000003
        ], 
            "smooth": true, 
            "lineStyle": {
                "normal": {
                    "opacity": 0.5
                }
            }
        }, 
        {
            "name": "MA30", 
            "type": "line", 
            "data":         [
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        "-",
        2351.6953333333336,
        2351.2653333333333,
        2347.716,
        2344.3309999999997,
        2342.160666666666,
        2340.1213333333335,
        2337.0966666666664,
        2333.7156666666665,
        2329.200333333333,
        2324.759666666666,
        2318.685333333333,
        2312.1593333333326,
        2305.9206666666664,
        2300.7483333333325,
        2295.018666666666,
        2291.206666666667,
        2288.260333333333,
        2284.937333333333,
        2282.4776666666667,
        2278.9296666666664,
        2272.8079999999995,
        2267.319333333333,
        2264.6659999999997,
        2260.375666666667,
        2256.9576666666667,
        2254.2203333333337,
        2249.7513333333336,
        2246.675666666667,
        2243.766,
        2240.8973333333333,
        2237.692,
        2235.262,
        2234.9669999999996,
        2234.2383333333332,
        2231.8693333333335,
        2228.827,
        2226.112,
        2223.2853333333337,
        2220.5966666666664,
        2218.0480000000002,
        2218.565,
        2220.1066666666666,
        2222.2929999999997,
        2224.872,
        2227.442333333333,
        2229.5783333333334,
        2231.670333333334,
        2233.9020000000005,
        2237.2943333333333,
        2241.2023333333336,
        2245.7293333333337,
        2249.254,
        2252.7690000000002,
        2255.263,
        2256.1393333333335,
        2256.1373333333336,
        2257.0160000000005,
        2254.683666666667
        ], 
            "smooth": true, 
            "lineStyle": {
                "normal": {
                    "opacity": 0.5
                }
            }
        }
    ]
}