You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-highcharts-no-data-to-display

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-highcharts-no-data-to-display

This package is based on highcharts-no-data-to-display and make it able to import instead of using require

1.0.2
latest
Source
npmnpm
Version published
Weekly downloads
500
17.37%
Maintainers
1
Weekly downloads
 
Created
Source

Welcome to react-highcharts-no-data-to-display

This is a version of highcharts-no-data-to-display. I was developing and I needed that, but the only way to use it was through require. So I created this in order to import it :)

How to use?

1 First you have to install it

npm install react-highcharts-no-data-to-display --save

2 Then you should import it and initialize it in the file you have the render of react-highcharts

import { NoDataToDisplay } from "react-highcharts-no-data-to-display";

NoDataToDisplay ( ReactHighcharts.Highcharts );

Just that!

Customization

In the highcharts configuration:

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 :)

Keywords

react

FAQs

Package last updated on 15 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts