I want to add custom css rules to the title of a chart generated by highcharts. More precisely i am trying to add a backgound and a border. i tried several approaches however the most stable one is as follows;
title: {
style: {
color: '#FF00FF',
fontWeight: 'bold',
background-color: 'green',
border: '1px'
}
},
This code works for the color and weight of the font but other options do not work , i also tried (backgroundColor)