Skip to main content

js.amcharts

Introduction

This library packages amCharts for fanstatic. It provides both the Chart and Stock Javascript chart libraries.

This requires integration between your web framework and fanstatic, and making sure that the original resources (shipped in the resources directory in js.amcharts) are published to some URL.

You can find the repository for this package at https://github.com/securactive/js.amcharts

How to use?

You can import amcharts or amstock from js.amcharts and need it where you want these resources to be included on a page:

  • amcharts will provide only the Chart library…

  • while amstock will provide both the Chart and Stock libraries.

    >>> from js.amcharts import amstock, amcharts
    >>> amcharts.need()
    >>> amstock.need()
    

amCharts needs a few images sometimes, and you need to pass the path to the images in the Javascript code as follow:

chart = new AmCharts.AmSerialChart();
chart.pathToImages = "/lib/samples/javascript/images/";

Since this path depends on your server configuration and Fanstatic configuration, you can use the convient find_images_url from this library:

>>> from js.amcharts import find_images_url
>>> find_images_url() # doctest: +SKIP
"/some/path/images/"

CHANGES

3.3.1 (2013/11/22)

  • Update to 3.3.1.

2.6.10 (2012/04/25)

  • Initial release.

Metadata

Release files for js.amcharts 3.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for js.amcharts 3.3.1
File Size Uploaded Provenance Actions
js.amcharts-3.3.1.tar.gz 1.0 MB Without provenance Details for js.amcharts-3.3.1.tar.gz

Release files / js.amcharts-3.3.1.tar.gz

Download URL js.amcharts-3.3.1.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
ac9545bd0dd106a01f0428ad9a990eb77547fa355ee5ec832070d8f3307d99f9
BLAKE2b-256 checksum
How to use checksums
130e290510d4484013afe0e394a5e23433fb2bcaaddf2046aa62f0f723a7ab3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for js.amcharts 3.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.3.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page