react-highcharts-no-data-to-display
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "react-highcharts-no-data-to-display", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "This package is based on highcharts-no-data-to-display and make it able to import instead of using require", | ||
@@ -5,0 +5,0 @@ "main": "react_highcharts_no_data_to_display.js", |
@@ -8,11 +8,16 @@ ## Welcome to react-highcharts-no-data-to-display | ||
- First you have to install it | ||
_npm install react-highcharts-no-data-to-display --save_ | ||
1 First you have to install it | ||
- Then you should import it and initialize it in the file you have the render of react-highcharts | ||
``` | ||
npm install react-highcharts-no-data-to-display --save | ||
``` | ||
_import { NoDataToDisplay } from "react-highcharts-no-data-to-display"; | ||
2 Then you should import it and initialize it in the file you have the render of react-highcharts | ||
NoDataToDisplay ( ReactHighcharts.Highcharts );_ | ||
``` | ||
import { NoDataToDisplay } from "react-highcharts-no-data-to-display"; | ||
NoDataToDisplay ( ReactHighcharts.Highcharts ); | ||
``` | ||
Just that! | ||
@@ -24,14 +29,16 @@ | ||
_lang:{ | ||
noData: 'no data!' //the text to be displayed | ||
}, | ||
noData: { | ||
position: { | ||
"x": 0, | ||
"y": 0, | ||
"align": "center", | ||
"verticalAlign": "middle" | ||
} | ||
}_ | ||
``` | ||
lang:{ | ||
noData: 'no data!' //the text to be displayed | ||
}, | ||
noData: { | ||
position: { | ||
"x": 0, | ||
"y": 0, | ||
"align": "center", | ||
"verticalAlign": "middle" | ||
} | ||
} | ||
``` | ||
For more information you can contact me :) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43
4951