Load JSON file from local storage. #2507
Unanswered
carlotamburin
asked this question in
Q&A
Replies: 1 comment
-
|
Loading doesn't matter where the data is coming from. // if the json data stored as:
localStorage.data = JSON.stringify([{name: "www.site1.com", upload: 800, download: 500, total: 400},{name: "www.site2.com", upload: 600, download: 600, total: 400}]);
bb.generate({
data: {
json: localStorage.data, // just specify data source
keys: { ... }
}
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have a questions. I need to do chart from JSON file on local computer. How I can load that file? If i require it the chart won't load.
Thank you in advance,
Carlo
Beta Was this translation helpful? Give feedback.
All reactions