here is the example //需要从.cs文件中导入数据值
data = [12,36,40]
new RGraph.Bar({
id: 'cvs',
data: data,
options: {
textAccessible: true,
scaleZerostart: true,
backgroundGridAutofitNumvlines: 0,
linewidth: 0,
shadow: false,
hmargin: 7,
colors: ['Gradient(pink:red:#f33)', 'Gradient(green:#0f0)'],
labelsAbove: true,
//需要从.cs文件中导入标签值
labels: ["mon","tue","wed"],
clearto: 'white',
variant: '3d',
gutterBottom: 90,
noaxes: true
}
}).wave({ frames: 60 });
</script>
我需要从R图中的.cs文件中获取标签的数据值和值。