从cs文件

时间:2016-11-18 07:26:46

标签: javascript c# arrays rgraph

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文件中获取标签的数据值和值。

0 个答案:

没有答案