我需要画一个折线图,但只是一个没有轴、值等的折线图。只有最后的图形和百分比。
Q:如何去掉图中的所有项目,标明坐标轴、坐标轴等,只需要留下一个折线图和兴趣。
$('#audience').jqChart({
legend: { visible: false },
border: { visible: false },
title:
{
text: 'Chart Title',
font: '12px sans-serif',
lineWidth: 1,
// strokeStyle: 'black',
fillStyle: 'white'
},
animation: { duration: 1 },
series: [
{
pointWidth: 0.2,
type: 'bar',
fillStyle: '#7fbbe5',
data: [['A', 33]],
labels: {
stringFormat: ' %s %%',
valueType: 'dataValue',
font: '11px sans-serif',
fillStyle: 'white'
},
tickOptions: {
showGridline: false
}
},
{
pointWidth: 0.2,
type: 'bar',
fillStyle: '#92b5c7',
data: [['A', 67]],
tickOptions: {
showGridline: false
},
labels: {
stringFormat: ' %s %%',
valueType: 'dataValue',
font: '11px sans-serif',
fillStyle: 'white'
}
}
]
});
我有一张图片,我在哪里展示,我有什么,我需要什么:http: //i57.tinypic.com/2h3x3yx.jpg