本文主要介绍echart的使用。
一、标题组件 tittle
title:{
show: true, //是否显示标题组件
text: '主标题',
link: 'https://www.vitian.vip', // 超文本链接
target: 'blank', // 'self' 当前页打开 'blank' 新窗口打开
textStyle:{ //内容样式
color: '#333', // 字体颜色。默认'#333'
fontStyle: 'normal', // 字体风格。默认'normal',可选'italic'、‘oblique’
fontWeight: 'normal', // 字体风格。默认'normal',可选'bold'、‘bolder’和'lighter' 以及100|200...
fontFamily: 'sans-serif', // 字体系列。默认'sans-serif' 还可以是 'serif' , 'monospace', 'Arial', 'Courier New', 'Microsoft YaHei', ...
fontSize: 18, // 字体大小
lineHeight: '56' //行高
width: '' //宽度。一般不指定
height: '' //高度。一般不指定
textBorderColor: 'transparent', //文字描边颜色。默认透明
textBorderWidth: '0', //文字描边宽度。默认0
textShadowColor: 'tr