I'm trying to find the right settings to get a Bar Sparkline to fill a div with just the bar image and no padding, white space or anything else around it. I've set the following, which gets close, but clips some of the image. Is there a way to do this?
<
div
id
=
"files-format-chart"
style
=
"width:1120px;line-height:30px;cursor: pointer;"
></
div
>
$(
"#files-format-chart"
).kendoSparkline({
type:
"bar"
,
chartArea: {
opacity: 0,
margin: 0
},
plotArea: {
opacity: 0,
margin: 0
},
series:
/*array of series*/
,
valueAxis: {
max:
/*max value of series data to avoid space*/
}
});