Skip to content

Amcharts isn't loading when I have no internet connection #98

Description

@BdDragos

Hello. On my current project I have the requirement to work with Amcharts through a VPN, a VPN that has no outside internet access, which means I can't load any scripts or images that aren't stored locally on my PC. While I fixed some of the problems, right now I can't load any kind of image in the created chart since I have no internet (for example the images used in the drag sliders) (see pic related)

Pic of the errors

I downloaded Amchart 3 and Amcharts3-angular 2 on my project through npm install, and this is how I fixed the chart loading by adding this lines in angular.json, at architect scripts

        "scripts": [
          "node_modules/amcharts3/amcharts/amcharts.js",
          "node_modules/amcharts3/amcharts/serial.js",
          "node_modules/amcharts3/amcharts/themes/light.js"
        ]

Is there a way to do the same with the images also, so I can load them locally and not try to fetch them from the internet through the framework?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions