Highcharts report four: Xaxis X axis (or category axis) general configuration

Source: Internet
Author: User

The

**x axis (or category axis). By default, the x-axis is displayed at the bottom of the chart, and the y-axis appears on the left (it can be displayed on both sides of the y-axis) by setting chart.inverted = True to make the x,y axis display position swap.
in multiple axes, Xaxis can be configured in the form of an array. The
X axis can be dynamically updated or otherwise manipulated by an Axis object. **


Xaxis {//X axis classification categories: [1,2,3,.....]
                     Array<string>//Configure the crosshair line when following mouse or mouse over point crosshair: {dashstyle: ' Shortdot ', Color: ' #cccccc ', Zindex:1,},//Timeline label formatted string type

        : ' DateTime ', Datetimelabelformats: {day: '%y-%m-%d ', Month: '%y-%m '},

             Axis label Labels: {align: ' center '//axis label position enabled:true//Show axis labels, default display Axis content formatting functions formatter:function () {return ' <a href= ' + categorylinks[this.v
             Alue] + ' > ' + this.value + ' </a> '; //x Axis rotate rotation:0//Set the style of the axis label styles: {color:xxx
                . FONTSIZE:18}//Whether axis is displayed, default display, False does not show visible:true}

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.