BKM
22 Apr 2012, 9:49 PM
When writing a custom tip renderer to a chart series, single quotes are not transferred to the resultant code.
For example, writing this into the tip dropdown...
{trackMouse: true,width: 90,
height: 28,
anchor: 'right',renderer: function (storeItem, item){this.setTitle('TEST');} }
...results in this being written to the actual code...
tips: {
trackMouse: true,
width: 90,
height: 28,
anchor: 'right',
renderer: function(storeItem,
item){
this.setTitle(TEST);
}
For example, writing this into the tip dropdown...
{trackMouse: true,width: 90,
height: 28,
anchor: 'right',renderer: function (storeItem, item){this.setTitle('TEST');} }
...results in this being written to the actual code...
tips: {
trackMouse: true,
width: 90,
height: 28,
anchor: 'right',
renderer: function(storeItem,
item){
this.setTitle(TEST);
}