使用Highcharts我想在页面下面添加页脚文本.我能看到这样做的唯一方法是使用credits属性.但是长篇文章看起来很简陋.有没有办法设置信用额度来增加间距?
credits: {
position: {
align: 'center'
},
text: 'this is some really long text that i am using as a footer',
href: null
},
Run Code Online (Sandbox Code Playgroud)
如果您已经开始利用页脚的信用选项.以下是您可以根据需要使用的一些选项:
chart: {
marginBottom: 100 //space from axis to chart bottom
},
legend: {y: -20}, // position between axis and legend
credits: {
text: 'This is so super duper uper long text. Look at all this space!',
position: {
align: 'center',
y: -5 // position of credits
},
style: {
fontSize: '14pt' // you can style it!
}
},
Run Code Online (Sandbox Code Playgroud)
小提琴这里.