Troubleshooting

We offer guidance on common problems installing and running ReGraph. If this doesn't solve your issue, contact support.

yarn/npm hangs while installing ReGraph

Make sure you're using an up-to-date package manager.

We've seen issues when installing with older versions of yarn - we recommend using version 1.13 or greater.

The chart is too small

The ReGraph chart will try to size itself to fill its containing element.

You can use CSS properties to set the container's size, just like with any DOM element. Common sizing strategies include using:

  • a fixed or percentage height,
  • a flex container (display: flex on the parent element),
  • absolute positioning (position: absolute).

State updates not synchronized

If you're having trouble with synchronizing state updates, try running in production mode.

Errors when rendering ReGraph with next.js

ReGraph can only run in a web browser because it requires the DOM and other Web APIs to render correctly.

If you are using ReGraph with next.js, you need to make sure that ReGraph components are not rendered on the server side.

See the next.js documentation on how to disable SSR.

SVG icons fail to load in some browsers

If some browsers fail to load your SVG icons while others work correctly, it's likely a browser issue. One of the causes might be the size of the SVG file. To improve cross-browser compatibility, set the width and height attributes in your SVG files or optimize the size of your SVG using an optimizer such as SVGO.

Terms of use

These terms do not alter or supersede any existing agreements between you (or your employer) and us.

By accessing or using any Content you agree to be bound by these Terms of Use. Please review these terms carefully before using the website.

The contents of this website, including but not limited to any text, code samples, API references, schemas, interactive tools, and other materials (collectively, the 'Content'), are made available for informational and internal evaluation purposes only. All intellectual property rights in the Content are reserved. No licence is granted to use the Content for any commercial purpose, or to copy, distribute, modify, reverse-engineer, or incorporate any part of the Content into any product or service, without our prior written consent.

This Content is provided “as is” and “as available,” without any representations, warranties, or guarantees of any kind, whether express or implied, including but not limited to implied warranties of merchantability, fitness for a particular purpose, non-infringement, or accuracy. To the fullest extent permitted by applicable law, we expressly exclude and disclaim all implied warranties, conditions, and other terms that might otherwise be implied.

We disclaim all liability for any loss or damage, whether direct, indirect, incidental, consequential, or otherwise, arising from any reliance placed on the Content or from your use of it, to the fullest extent permitted by applicable law. By continuing to access or use the Content, you acknowledge and agree to these terms.