vue Echarts style settings [continue]

Reference address

Graphic heading rich text style settings, you need to add a property title in the options. Examples are as follows:

title:
{
    show: true,
    text: " {desc | have admission number} {num | 74} {desc | current capacity NUM {} | 1723} " , // vertical | representation in front of the style name, the latter is the need for modification of the content.
    x: 'center',
    textStyle:
    {
        rich:
        {
            desc:
            {
                color:"#E9E9E9"
            },
            on one:
            {
                color:"#F9CE37",
                fontSize: 16
            }
        }
    }
}

Modify the mesh margin line graph:

Grid: // Set the grid pattern 
{
    left: '15%',
    top: '15%',
    right: '10%',
    bottom: '20%'
}

 

Guess you like

Origin www.cnblogs.com/JoanLin-workNotes/p/12522225.html