highcharts-export-server
Version:
Convert Highcharts.JS charts into static image files.
23 lines (22 loc) • 427 B
JavaScript
function callback(chart) {
chart.renderer
.label(
'This label is added in the callback.<br>Highcharts version ' +
// eslint-disable-next-line no-undef
Highcharts.version,
75,
75
)
.attr({
id: 'renderer-callback-label',
fill: '#90ed7d',
padding: 10,
r: 10,
zIndex: 10
})
.css({
color: 'black',
width: '100px'
})
.add();
}