Skip to content
Chart module for MagicMirror²
JavaScript
Branch: master
Clone or download
Latest commit 66732ac Sep 21, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github first commit Sep 21, 2017
.gitignore
MMM-Chart.js first commit Sep 21, 2017
README.md update readme Sep 21, 2017
package.json update readme Sep 21, 2017

README.md

MMM-Chart

Chart module for MagicMirror². This is a simple wrapper for Chart.js

Screenshot

Installation

In your terminal, go to your MagicMirror's Module folder:

cd ~/MagicMirror/modules

Clone this repository:

git clone git@github.com:MarinescuEvghenii/MMM-Chart.git

Install dependencies:

cd ~/MagicMirror/modules/MMM-Chart
npm install

Configure the module in your config.js file.

Using the module

To use this module, add it to the modules array in the config/config.js file:

modules: [
	{
		module: 'MMM-Chart',
		config: {
			// See 'Configuration options' for more information.
		}
	}
]

Configuration options

The following property can be configured:

Option Description Default value
width Chart width in px. 200
height Chart height in px. 200
chartConfig Chart.js config. More info at chartjs.org {}
You can’t perform that action at this time.