1. 首页
  2. 百度ECharts
  3. ECharts实例
  4. ECharts入门
  5. ECharts官网

百度echarts图表如何设置主标题和副标题

title: [
 {
  text: "主标题",
  left: '20%', //主标题位置
  top: '40%',
  textStyle: {
   color: "#f00",
   fontSize: 32,
   fontWeight: 'bold'
  }
 },
{
 subtext: "副标题",
 itemGap: 12, //主副标题间距
 left: '20%', //副标题位置
 top: '50%',
 subtextStyle: {
    color: "#000",
    fontSize: 18,
    fontWeight: '500'
  }
 }
],
点击展开全文
 

相关文章

  1. 百度echarts地图给每个区域单独设置样式
  2. 百度echarts图表在legend中显示数字百分比
  3. 百度echarts图表之三国人物关系图
  4. 百度echarts图表之五行相生相克图
  5. 百度echarts图表之人际关系图

Echarts入门

Echarts栏目

3d柱状图 apache bar柱状图属性 data echarts echarts图表 echarts地图 echarts折线图 echarts柱状图 echarts饼图 name pie radar series 地图 大全 柱状图 百度 百度echarts 雷达图