highcharts / highcharts-react

The official Highcharts supported wrapper for React

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage in React, Grid lines not visible

ningxi-oa opened this issue · comments

Hello there, i currently working on a project which used the library "highchart". But i notice the chart that i created, it's X and Y axis grid lines are not visible:

here is the part of codes where i set up X and Y axis :
Screenshot 2024-02-02 at 16 30 45

and here is the result that i've got :
Screenshot 2024-02-02 at 16 31 33

I don't kown if this is due to i did'n import the correct module, In the component that i used "highchart" :
Screenshot 2024-02-02 at 16 31 45

Could anyone help me with that? Thanks in advance! :)

Hi @ningxi-oa,

Thank you for contacting us!

I've tried to reproduce the issue, but grid lines are correctly displayed when I use your code. Please check the below example and try to adapt it to show the problem.

Live demo: https://stackblitz.com/edit/react-a5tqyo

Best regards!

Closed due to inactivity.