Echarts Timeline sets multiple points, but displays only one

Source: Internet
Author: User
echarts2 Timeline sets multiple points, but displays only one
Timeline: {"
    data": [
        "2016-10",
        "2016-11",
        "2016-12"
    ],
    "LineStyle": {
        "color": "# 2497be "
    },
    " ControlStyle ": {
        " itemsize ": +,
        " normal ": {
            " color ":" #2497be "
        }
    },
    ' label ': {'
        TextStyle ': {
            ' color ': ' #2497be '
        }
    },
    ' AutoPlay ': false,
    ' Currentindex ": 2,
    " Playinterval ": 15000
}

timeline, showing normal.

Timeline: {
"Data": [
"2016-10",
"2016-11",
"2016-12",
Year
],
"LineStyle": {
"Color": "#2497be"
},
"ControlStyle": {
"ItemSize": 20,
' Normal ': {
"Color": "#2497be"
}
},
' label ': {
"TextStyle": {
"Color": "#2497be"
}
},
"AutoPlay": false,
"Currentindex": 2,
"Playinterval": 15000
}

The

causes timeline to display only one, and if it is not all the correct format points, you can set the type to number type, the default mode is the time type, and the timeline interval is calculated automatically based on the time span.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.