Skip to content

MichaelByers/MMM-Chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]: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 {}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published