textColor: '#FFFFFF', fontFamily: 'Arial, Verdana, Helvetica',
fontSize: '10pt'
but it doesnt have any effect on the legend. Am I missing something or
is this a known bug?
This seems to work for me:
{
legend: {
show: true,
fontFamily: "Arial, Verdana, Helvetica",
textColor: "#FFF",
fontSize: "10pt"
Depending on some condition I'm showing/hiding the legend
if (somecondition) {
Legend = { show: true, placement: "outsideGrid", location:
"nw", textColor: "#FFFFFF", fontSize: "10pt" };
}
else {
Legend = { show: false };
}
var chartPlot = $.jqplot('chartModal', chartData[1], {
seriesColors: ["#000066", "#990000", "#006600", "#FF3300",
"#00CC99"],
title: {
text: 'my chart', // title for the plot,
show: true,
fontSize: "10pt",
fontFamily: "Arial, Verdana, Helvetica",
textAlign: "center",
textColor: "white"
},
stackSeries: false,
seriesDefaults: {
shadow: false,
renderer: $.jqplot.BarRenderer,
rendererOptions: {
barMargin: 25,
barWidth: 12,
barPadding: 2,
fillToZero: true
},
pointLabels: { show: false }
},
legend: Legend}
> > is this a known bug?- Hide quoted text -
>
> - Show quoted text -
On Dec 7, 12:24 pm, smh0427 <smh0...@gmail.com> wrote: