![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
sf-extension-amcharts
Advanced tools
Lorem ipsum
Utility extension can be installed via npm easily from our public npm repository. The installation is pretty easy via Smartface Cloud IDE. Run the following code in terminal
(cd ~/workspace/scripts && npm i -S sf-extension-amcharts)
Please review the sampe page.
const AMCharts = require("sf-extension-amcharts");
var amCharts = new AMCharts({
webView: wvChart //optional. If not provided use the the one amCharts.webView
});
Ready is a Promise. It is a good practice to run other codes when the promise is resolved.
amCharts.loadScritsByName("serial");
//OR load multiple files
amCharts.loadScritsByName("serial", "funnel");
This loadScritsByName function loads files within assets/amcharts/amcharts folder. Those libraries are the libraries that AMCharts provides as is. loadScritsByName function returns a Promise. When it is done, the libraries are loaded.
amCharts.evaluateJS(chartScript);
In the example above chartScript
is a string that contains the JavaScript code to render the Chart and its data.
In the webPage there is a div element with id chartdiv
. Use this div element to render your chart.
After installation please add the following code to the app.js by commenting out the other run codes.
Router.add("pgChart", require("sf-extension-amcharts/sample/pgChart"));
Router.go("pgChart");
Running & rendering of the chart can take time. You can show an activity indicator while
the chart is being rendered. After your last evaluateJS
callback you can change the
visibities of the ActivityIndicator and the WebView.
Please submit an issue on GitHub and provide information about your problem.
We are committed to making participation in this project a harassment-free experience for everyone, regardless of the level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality. Please read and follow our Code of Conduct.
This project is licensed under the terms of the MIT license. See the LICENSE file. Within the scope of this license, all modifications to the source code, regardless of the fact that it is used commercially or not, shall be committed as a contribution back to this repository.
FAQs
Smartface Extension for running AM Charts in a WebView
We found that sf-extension-amcharts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.