react-chartjs-commonjs

WebJar for react-chartjs-commonjs

License

License

MIT
Categories

Categories

JavaScript Languages React User Interface Web Frameworks
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

react-chartjs-commonjs
Last Version

Last Version

0.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

react-chartjs-commonjs
WebJar for react-chartjs-commonjs
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/seanadkinson/react-chartjs

Download react-chartjs-commonjs

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/react-chartjs-commonjs/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>react-chartjs-commonjs</artifactId>
    <version>0.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/react-chartjs-commonjs/
implementation 'org.webjars.npm:react-chartjs-commonjs:0.0.3'
// https://jarcasting.com/artifacts/org.webjars.npm/react-chartjs-commonjs/
implementation ("org.webjars.npm:react-chartjs-commonjs:0.0.3")
'org.webjars.npm:react-chartjs-commonjs:jar:0.0.3'
<dependency org="org.webjars.npm" name="react-chartjs-commonjs" rev="0.0.3">
  <artifact name="react-chartjs-commonjs" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='react-chartjs-commonjs', version='0.0.3')
)
libraryDependencies += "org.webjars.npm" % "react-chartjs-commonjs" % "0.0.3"
[org.webjars.npm/react-chartjs-commonjs "0.0.3"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

react-chartjs-commonjs

Fork of react-chartjs to make it easier to import with webpack or other CommonJS module loader

Example Usage

var ReactChart = require("react-chartjs-commonjs");

var MyComponent = React.createClass({
  render: function() {
    return <ReactChart.Line data={chartData} options={chartOptions} width="600" height="250"/>
  }
});
  • data represents the chart data (see chart.js for details)
  • options represents the chart options (see chart.js for details)
  • all other parameters will be passed through to the canvas element

Versions

Version
0.0.3