是否可以在条形图上使用阴影?我已经看到有一个选项“shadowSize”:
series:{
color: color or number
data: rawdata
label: string
lines: specific lines options
bars: specific bars options
points: specific points options
xaxis: number
yaxis: number
clickable: boolean
hoverable: boolean
shadowSize: number
highlightColor: color or number
}
我试图改变这个值,但什么也没发生。我还尝试更改 lineWidth(“lineWidth”是以像素为单位的线条或轮廓的粗细。您可以将其设置为 0 以防止绘制线条或轮廓;这也会隐藏阴影。)在“bar”内:
bars: {
lineWidth: 0,
barWidth: 0.2,
align: "left",
horizontal: true,
show:true,
fillColor: { colors: [ "rgb(64, 31, 33)", "rgb(55, 26, 28)", "rgb(52, 25, 27)", "rgb(102,49,52)", "rgb(102, 49, 52)", "rgb(195, 139, 143)", "rgb(87,42,45)" ] }
}