Hi,
Custom legend is still undocumented. There is only sample.
The available options of the custom items are "text" and "marker".
You can specify the fillStyle of the text with:
Code:text: { text: 'test1', fillStyle: '#ffffff' },
Your test sould look like:
Code:legend: {
location: 'right',
customItems: [
{
text: { text: 'test1', fillStyle: '#ffffff' },
marker: { fillStyle: 'red' }
}
]
},
Best Regards,
Dragan Matek
jqChart Inc.