Edit in JSFiddle

var data = _.times(1000, _.identity).map(function (n) {
		var i = n / 100;
		var row = {
    		x: i,
        sin: Math.sin(i),
        cos: Math.cos(i)
    };
    
    // (!) random is missed for some rows
    if ((n % 20) === 0) {
    		row.random = Math.random();
    }
    
    return row;
});

var chart = new tauCharts.Chart({
		data:data,
    type: 'line',
    x: 'x',
    y: 'sin',
    guide: {
        x: {
            label: { text: 'Number' }
        },
        y: {
            label: { text:'SIN()' }
        }
    },
    plugins: [
        tauCharts.api.plugins.get('layers')({
            mode: 'merge',
            showPanel: true,
            // Default values:
            // title: "Layers",
            // label: "Layer Type",
            // axisWidth: 45,
            layers: [
                {
                    type: 'area',
                    y: 'cos',
                    guide: {
                    		label: { text: 'COS()' },
                        zIndex: -1
                    }
                },
                {
                    type: 'bar',
                    y: 'random',
                    guide: {
                    		label: { text: 'RAND()' },
                        zIndex: -2
                    }
                }
						]
        })
        ,
        tauCharts.api.plugins.get('legend')()
        ,
        tauCharts.api.plugins.get('tooltip')()
        ,
        tauCharts.api.plugins.get('trendline')()
    ]
});

chart.renderTo('#target');