一个超级简单的echarts问题

如下的链接是echart的demo,我就是想把字体改成宋体或者其他什么别的字体都行,发现好像如何设置都不生效,请教~~~谢谢

需要把里面的英文先改成汉字
http://echarts.baidu.com/echa...

阅读 2.5k
1 个回答
series: [{
        name: 'Google Trends',
        type: 'wordCloud',
        size: ['80%', '80%'],
        textRotation: [0, 45, 90, -45],
        textPadding: 0,
        autoSize: {
            enable: true,
            minSize: 14
        },
        itemStyle: {
            normal: {
                textStyle: {
                    fontFamily: 'Simsun'
                }
            }
        }
}]

多看看文档有好处。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题