superpenguin / charting-library-flutter Goto Github PK
View Code? Open in Web Editor NEWexample of tradingview charting-library for flutter app
License: MIT No Attribution
example of tradingview charting-library for flutter app
License: MIT No Attribution
I'm trying to hook up the chart with live data. How and what should I return to subscribeBars function?
It takes several seconds to probably start the server and load up charts. I am trying to see what could be optimized to make it faster and close to what we experience on tradingview website.
Can you please suggest or update code for faster chart load time? I could possibly think of keeping the server started in advance.
Kindly share possible solutions.
I am trying to get a api key for tradingview and have read that i need a profile on the developer platform but cant find anything.. Do you have any advise ?
Hope you are having a nice day
kind regards Jonas Jessen
Does this work on Android, iOS?
The chart does show up but the data is not from the ChartingLibraryWidgetOptions, it's still showing the Apple Inc
I have been trying to figure it out but couldn't get it working. Can you please expand and share details and possible example on what should go inside the public directory. I am using the instruction given below:
=========================================================================================
Create folder assets/tvchart/public, and paste all files charting-library needed (the one needed from library_path). This is assets folder should like right now.
=========================================================================================
Mobile works great :)
It would be great to have a single webview implementation that works for the web as well.
Possibly https://pub.dev/packages/webviewx
vmacair@vMacAir chart-project % pwd
/Users/vmacair/StudioProjects/charting-library-flutter/chart-project
vmacair@vMacAir chart-project % ls -ltr
total 1192
drwxr-xr-x 6 vmacair staff 192 Jul 25 22:40 src
drwxr-xr-x 2 vmacair staff 64 Jul 25 23:02 dist
drwxr-xr-x 539 vmacair staff 17248 Jul 25 23:02 node_modules
-rw-r--r-- 1 vmacair staff 602183 Jul 25 23:02 package-lock.json
-rw-r--r-- 1 vmacair staff 482 Jul 25 23:02 package.json
vmacair@vMacAir chart-project % ls -ltr src/charting-library
total 168
-rwxrwxrwx 1 vmacair staff 12463 Jul 25 09:46 index.js
-rwxrwxrwx 1 vmacair staff 67863 Jul 25 09:46 index.d.ts
vmacair@vMacAir chart-project % sudo npm run build
[email protected] build
parcel build src/tvchart.html --public-url ./ --no-content-hash --no-source-maps
🚨 /Users/vmacair/StudioProjects/charting-library-flutter/chart-project/src/tvchart.ts:22:39: Cannot resolve dependency './charting-library/charting_library' at '/Users/vmacair/StudioProjects/charting-library-flutter/chart-project/src/charting-library/charting_library'
at Resolver.resolve (/Users/vmacair/StudioProjects/charting-library-flutter/chart-project/node_modules/parcel-bundler/src/Resolver.js:71:17)
at async Bundler.resolveAsset (/Users/vmacair/StudioProjects/charting-library-flutter/chart-project/node_modules/parcel-bundler/src/Bundler.js:433:18)
at async Bundler.resolveDep (/Users/vmacair/StudioProjects/charting-library-flutter/chart-project/node_modules/parcel-bundler/src/Bundler.js:484:14)
at async /Users/vmacair/StudioProjects/charting-library-flutter/chart-project/node_modules/parcel-bundler/src/Bundler.js:608:26
at async Promise.all (index 1)
at async Bundler.loadAsset (/Users/vmacair/StudioProjects/charting-library-flutter/chart-project/node_modules/parcel-bundler/src/Bundler.js:599:21)
at async /Users/vmacair/StudioProjects/charting-library-flutter/chart-project/node_modules/parcel-bundler/src/Bundler.js:610:13
at async Promise.all (index 1)
at async Bundler.loadAsset (/Users/vmacair/StudioProjects/charting-library-flutter/chart-project/node_modules/parcel-bundler/src/Bundler.js:599:21)
at async Bundler.processAsset (/Users/vmacair/StudioProjects/charting-library-flutter/chart-project/node_modules/parcel-bundler/src/Bundler.js:557:5)
vmacair@vMacAir chart-project %
I want starter app with a new library. I already have the latest charting library, but the documentation is very poor, and your guide is outdated and chart dosent work
Thank you for your help
We recently did the integration of live data feed as well using your latest guidance and code commit.
Based on our overall testing, there are four specific issues:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.