Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
examples
scripts
.gitignore
LICENSE
README.md
index.js
package.json

README.md

aframe-chartbuilder-component

A component for using ChartBuilder charts in AFrame.

Here is a basic example

Properties

Property Description Default Value
src ChartBuilder json location data.json

Usage

Properties

The src property requires a path to a json file exported by ChartBuilder. It can be local or remote.

Browser Installation

Install and use by directly including the browser files:

<head>
  <title>My A-Frame Scene</title>
  <script src="https://aframe.io/releases/0.2.0/aframe.min.js"></script>
  <script src="https://rawgit.com/impronunciable/aframe-chartbuilder-component/master/dist/aframe-chartbuilder-component.min.js"></script>
</head>

<body>
  <a-scene>
    <a-entity chartbuilder="src: data.json"></a-entity>
  </a-scene>
</body>

NPM Installation

Install via NPM:

npm install aframe-chartbuilder-component

Then register and use.

require('aframe');
require('aframe-chartbuilder-component');
You can’t perform that action at this time.