I’ve been trying out Fuse today and I’ve been very impressed with it. Just trying to get charts to work but I’m getting an error after following the guide.
I ran uno install Fuse.Charting and with the below code I get this error:
Could not resolve type c:Plot and c:DataSeries
That worked nicely, thanks for the quick reply. Now I’m getting an error: {name} not found in data context.
Is there any examples of the charts in use I could take a look at? Could find any in the examples section.
My code is below, tried different variations using just y, using value, excluding label. Always get the same error so maybe I’m using Observable incorrectly.
var Observable = require("FuseJS/Observable");
var data = Observable();
data.add({x:0, y:1, label: 'Test'});
module.exports = {
data: data
};
If it complained about {name} not being found, then you probably didn’t export that variable (or have it in the objects). No way to tell from JavaScript only, since it was your UX that caused the notice to be thrown.