"transparent" or "" or "Transparent" do not work, result is solid white background This will only take a hex color string, will not accept an rgba string. I need a transparent background for all my charts.
function createChart() {
$("#detail-chart").kendoChart({
theme: "Material",
chartArea: {background:"transparent", height:300},
title: {
position: "top",
text: "Sales Percentage \n Per Market",
color: "#868686"
},
legend: {
visible: true,
position: "bottom",
labels: {
color: "#868686",
padding: {right:10,bottom:2},
margin: {right:14}
}
},
seriesDefaults: {
type: "bar",
stack: true
},
series: [{
name: "Sales Percentage",
data: [40, 32, 61],
color: "#425968"
}, {
name: "Total Local Market",
data: [100, 100, 100],
color: "#c3c3c3"
}],
valueAxis: {
max: 100,
majorUnit: 50,
line: {visible: false},
minorGridLines: {visible: false},
labels: {
format:"{0:n0}%",
color: "#525252"
}
},
categoryAxis: {
categories: ["African American", "Hispanic", "Asian American"],
majorGridLines: {visible: false},
labels: {
color: "#525252"
}
},
tooltip: {
visible: true,
template: "#= category # (#= series.name #): #= value #%",
font: "20px"
}
});
}