score:0

i don't have enough detail to know if your problem comes from there but the syntax of your code is incorrect.

you should have :

function drawchart(placeholder, values1, labels1) {
    var plot = $.plot(placeholder,
        [{
            data: values1,
            label: label1,
            lines: {
                show: true,
                linewidth: 2,
                fill: true,

            },
            points: {
                show: true,
                linewidth: 3,
                fill: true,
                fillcolor: '#fafafa'
            }

        }]
    });
}

Related Query

More Query from same tag