• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

254
Views
Data wrong display using @antv/g2plot.js version 2+

I have been trying to use G2plot (https://g2plot.antv.vision/) for a basic line graph. I made some tests a while ago with the 1.28 version and it was working fine. I removed some config that became obsolete and tried the latest version but the display of the graph isn't the same and looks like something sketchy. I guess I made a mistake but I can't see which one, any help would be very much appreciated.

Thanks in advance

Here is a link to the sandbox : https://codesandbox.io/s/szzhq?file=/index.ts

I found a screenshot of what it used to look like with the same data : https://ibb.co/H2MkfFj

almost 3 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Fixed it, the x field needed to be set as a string instead of a number..

almost 3 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error