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.

How to remove the vertical grid ?

See original GitHub issue

Hi, I try to remove the vertical line with this code but didn’t work. Anyone have some suggestion ? Thanks

Code:

<LineExample options={{
		 scaleShowGridLines : false,
                  scaleShowVerticalLines: false,
	}}/>
ss

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

8reactions
jmariomejiapcommented, Mar 2, 2018

you can remove the vertical lines by setting display: false in inside xAxes property.

options={
  scales: {
    yAxes: [
      { ... },
    ],
    xAxes: [
      {
        gridLines: {
          color: '#aaa',
          borderDash: [1, 3],
        },
        display: false, // this will hide vertical lines
      },
    ],
  },
}

I hope this helps.

3reactions
timwsuccess81commented, Nov 21, 2019

@utkarsh1510 You can hide the horizontal lines by adding the following to the yAxes property:

gridLines: { drawOnChartArea: false }

Read more comments on GitHub >

github_iconTop Results From Across the Web

Remove Vertical Grid Lines (time axis ones)
@Sergelbell go to settings, appearance, and grid (it is near the bottom), uncheck it. Click to expand... But it removes the price horizontal...
Read more >
Remove Vertical or Horizontal Gridlines in ggplot2 Plot in R
To remove vertical grid lines scale_x_continuous() function is passed with the breaks parameter as NULL. Syntax: scale_x_continuous(breaks =NULL ).
Read more >
9.6 Hiding Grid Lines | R Graphics Cookbook, 2nd edition
It's possible to hide just the vertical or horizontal grid lines, as shown in the middle and right-hand graphs in Figure 9.11, with...
Read more >
How to remove Vertical and Horizontal Grid lines ... - YouTube
How to remove Vertical and Horizontal Grid lines on your trading view chart. 24K views 4 years ago. Jewel Miracle. Jewel Miracle.
Read more >
How to remove vertical or horizontal grids for par...
remove horizontal grid for particular rows only ect. PDA. and take a look under RUN-OFFs column. sample.PNG.
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