mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Scatterplot (plugin version): small fixes, move dataset out of config, namespace hbrs templates
This commit is contained in:
@@ -43,22 +43,18 @@ $(function(){
|
||||
data = None
|
||||
##data = list( hda.datatype.dataset_column_dataprovider( hda, limit=10000 ) )
|
||||
%>
|
||||
var hda = ${h.to_json_string( trans.security.encode_dict_ids( hda.to_dict() ) )},
|
||||
data = ${h.to_json_string( data )},
|
||||
querySettings = ${h.to_json_string( query_args )},
|
||||
config = _.extend( querySettings, {
|
||||
containerSelector : '#chart',
|
||||
dataset : hda,
|
||||
});
|
||||
//console.debug( querySettings );
|
||||
var hda = ${h.to_json_string( trans.security.encode_dict_ids( hda.to_dict() ) )};
|
||||
|
||||
var editor = new ScatterplotConfigEditor({
|
||||
el : $( '.scatterplot-editor' ).attr( 'id', 'scatterplot-editor-hda-' + hda.id ),
|
||||
config : config
|
||||
config : ${h.to_json_string( query_args )},
|
||||
dataset : ${h.to_json_string( trans.security.encode_dict_ids( hda.to_dict() ) )}
|
||||
}).render();
|
||||
window.editor = editor;
|
||||
// uncomment to auto render for development
|
||||
//$( '.render-button:visible' ).click();
|
||||
});
|
||||
|
||||
</script>
|
||||
%endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user