question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Grid and axis in time series line charts doesn't appear on webpack production mode

See original GitHub issue

github repository: https://github.com/alditiadika/power-meter-client

Describe/explain the bug I am using the @nivo/line version 0.67.0, brotli-webpack-plugin, and time series data on a scale of 30 to 50 seconds. In development mode everything is fine, but in production mode, the axis and grid on the line chart does’nt appear. I’ve tried downgrading @nivo/line to version 0.60.0 and still get the same thing.

Screenshot from 2020-12-22 18-24-10

But when I switch routes, and a few moments later I return to the previous route, the axis and grid appear as in development mode.

Screenshot from 2020-12-22 18-27-20.

and when my browser reloads, the axes and grids doesn’t appear again.

Additional There is an error: Error: <path> attribute d: Expected moveto path command ('M' or 'm'), "null" and TypeError: r.willAdvance is not a function in the console which I think may be related to this.

Browser Chrome

Thanks.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
psyzzcommented, Apr 16, 2021

downgrading to 0.64.0 i still have this error : Error: <path> attribute d: Expected moveto path command (‘M’ or ‘m’), “null”

But the grid works now

1reaction
Kichiyakicommented, Dec 26, 2020

It’s a problem with react-spring (https://github.com/pmndrs/react-spring/issues/1078). A temporary workaround is to downgrade @nivo/line and @nivo/core to version <=0.64.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Charts: Time Series - AG Grid
Integrated Charts supports the charting of time series data using line and area charts when a time axis is chosen instead of a...
Read more >
The 'mode' option has not been set, webpack will fallback to ...
json is using it "webpack --config webpack.config.client.production.js && webpack --mode=production --config webpack.config.server.js" . – ...
Read more >
Axes and grid lines on visual types in QuickSight
Learn how to format axis lines, axis labels, axis sort icons, and grid lines for charts in Amazon QuickSight.
Read more >
Production | webpack
In this guide, we'll dive into some of the best practices and utilities for building a production site or application.
Read more >
AxisRenderer – amCharts 4 Documentation
Useful, if you want to show permanent tooltips on some items. @since 4.5.4 ... (between two grid lines)NOTE: this setting is ignored on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found