Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Responsive feature doesn't exist on react-jsx-highcharts #316

Open
vtscode opened this issue Oct 28, 2020 · 1 comment
Open

Responsive feature doesn't exist on react-jsx-highcharts #316

vtscode opened this issue Oct 28, 2020 · 1 comment

Comments

@vtscode
Copy link

vtscode commented Oct 28, 2020

Bug or Feature Request?

Responsive feature from react-jsx-highcharts

Description

There is no feature on react-jsx-highcharts that coresponded with documentation https://api.highcharts.com/highcharts/responsive

How to reproduce

Make new Component for create responsive and rules on react-jsx-highcharts

Live demo demonstrating bug

Versions

  • React JSX Highcharts version: "4.1.1",
  • Highcharts version: "8.2.2",
  • React version: "16.14.0",
@whawker
Copy link
Owner

whawker commented Oct 28, 2020

Hi @vtscode, unfortunately due to how React JSX Highcharts works internally, we can't support that property.

Instead we suggest using a library such as react-responsive to mount and unmount Chart components with configuration appropriate for a device.

There is an example here that should hopefully help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants