Skip to content

impronunciable/aframe-chartbuilder-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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');

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published