Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

canvasjs-react-charts

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canvasjs-react-charts - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

readme.md

6

index.js

@@ -6,9 +6,9 @@ var React = require('react');

class CanvasJSChart extends React.Component {
static _cjsContainerId = 0
constructor(props) {
super(props);
super(props);
this._cjsContainerId = new window.Date().getTime();
this.options = props.options ? props.options : {};
this.containerProps = props.containerProps ? props.containerProps : {width: "100%", position: "relative"};
this.containerProps.height = props.containerProps && props.containerProps.height ? props.containerProps.height : this.options.height ? this.options.height + "px" : "400px";
this.chartContainerId = "canvasjs-react-chart-container-" + CanvasJSChart._cjsContainerId++;
this.chartContainerId = "canvasjs-react-chart-container-" + this._cjsContainerId;
}

@@ -15,0 +15,0 @@ componentDidMount() {

{
"name": "canvasjs-react-charts",
"version": "1.0.0",
"version": "1.0.1",
"description": "A package for React CanvasJS Charts",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc