Closed mgr2 closed 11 years ago
The miso website using log(some_variable)
syntax to show values.
However, if you're running this in javascript in a modern web browser as Chrome, Safari or Firefox, you'll need to write console.log(some_variable)
.
The Quick Start should look like this:
var ds = new Miso.Dataset({
url : '/data/crudeoil.csv',
delimiter : ','
});
ds.fetch({
success : function() {
console.log("Available Columns:" + this.columnNames());
console.log("There are " + this.length + " rows");
}
});
I keep getting a "Uncaught ReferenceError: log is not defined " when trying to display data from a dataset using the log() function.