dashboard/static/js/sroutes.js
//append a svg file based on selected rte to div-id: line-chart
append a svg file based on selected rte to div-id: line-chart
append a svg file based on selected rte to div - id : line - chart
function append_img(div_id){
    var div = $(div_id);
    var rte = routeskey[sel_line]
    div.empty().prepend('<object data='+base+'static/image/' + rte + '.svg?1222259157.415" type="image/svg+xml" width="100%" />');
}
function append_img ( div_id ) { var div = $ ( div_id ) ; var rte = routeskey [ sel_line ] div . empty ( ) . prepend ( '<object data=' + base + 'static/image/' + rte + '.svg?1222259157.415" type="image/svg+xml" width="100%" />' ) ; }
append a svg file based on selected rte to div-id: line-chart
append a svg file based on selected rte to div - id : line - chart