Questions tagged [gridlines]

Gridlines are the lines that divide rows and columns in a grid layout, or guide lines in a plot.

Gridlines are the lines that divide rows and columns in a , or guide lines in a .

237 questions
3
votes
1 answer

CHART.JS How can I offset/move/adjust the labels on the y-axis to be in the middle of the gridlines instead of centered on the gridlines?

I am using chart.js inside of an Ionic/Angular application to build a line graph. The big problem I am running into now is that I would like to have the labels along the y axis (Green, Yellow, Orange, Red) positioned between the horizontal gridlines…
mateotherock
  • 235
  • 5
  • 16
3
votes
2 answers

How can I omit the grid lines of empty cells in a list view?

How can I hide the grid lines separating empty cells from the adjacent cells in a TListView control? It would be like the HTML colspan table attribute, or Excel's "merge cells" command. I would like for cells with text in them to retain their normal…
Kermia
  • 4,171
  • 13
  • 64
  • 105
3
votes
1 answer

Control the length of major grid lines - ggplot2

Is there a solution to control the length of major grid lines in ggplot2? I have a plot here where I'd like the major grid lines to appear on the left of the zero line (just negative values). So for bar "a", only a small portion of the grid line…
Flammulation
  • 336
  • 2
  • 16
3
votes
3 answers

Google Visualization highlight single grid line

how can I highlight a single grid line? I would like to set an optical temperature limit at 35 ° C. Thanks! I have now added it to my code, but it does not work .... do you see my mistake? Or did I not understand something in your explanation? Here…
LostInTranslate
  • 93
  • 1
  • 2
  • 11
3
votes
2 answers

Adding a static gridline to a JFreeChart time series chart

I am trying to implement a timeseries chart with a peculiar requirement in JFreeChart. I can draw the chart, but I don't know how to implement the vertical red line at the last value in the chart. It should always be in the same spot and should…
Sevas
  • 4,215
  • 3
  • 27
  • 26
3
votes
1 answer

JTable: remove gridline on the rightmost column

I have a Jtable that looks like this now, and I'm trying to remove the grid line on the rightmost column. Is there any way to do this? Also the columns are swappable.
dosa
  • 635
  • 2
  • 6
  • 11
3
votes
1 answer

Aligning grid lines in R, bReeze package

I am trying to get grid lines work properly in the image below. Using the bReeze package to plot the power curves of the turbines with: library(bReeze) pc=pc("Vestas_V90_1.8MW.wtg") plot(pc) The output plot is: but assigning grid lines to the…
SamAct
  • 529
  • 4
  • 23
3
votes
1 answer

How can I add gridlines to one sheet and not the other (C# Excel Interop)?

Similar to some of the answers here, I turn gridlines in my Excel file off this way: private ApplicationClass _xlApp; . . . _xlApp = new ApplicationClass { UserControl = true }; _xlApp.ActiveWindow.DisplayGridlines = false; However, in my workbook,…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
3
votes
1 answer

In matplotlib, Is there a way to set gridlines below bars/lines/patches while retaining ticklabels above?

Related to Matplotlib: draw grid lines behind other graph elements, but nothing there worked for me. I have the following plot where I want to hide the gridlines under the red line while retaining the labels on top of the red line: import numpy as…
joelostblom
  • 43,590
  • 17
  • 150
  • 159
3
votes
0 answers

How to make Grid lines visible in SWT Grid Layout?

I want to know how to make the Grid lines visible in SWT Grid Layout. I can arrange widgets in a grid layout. But now I want to make those grid lines visible. So then it would be just like a table. Is there any way to do that? Note-I don't want to…
Samitha Chathuranga
  • 1,689
  • 5
  • 30
  • 57
3
votes
1 answer

How can I make the abscissa (i.e. the grid line y=0) appear darker or bolder in ggplot2?

I have a line graph with some points with positive value, and others with negative value (I am plotting odds ratios). I would like to make the y=0 grid line appear darker or bolder so as to make the visuals more apparent. How can I do this with…
Chthonic Project
  • 8,216
  • 1
  • 43
  • 92
3
votes
2 answers

JTable grid lines disappear unexpectedly

I have an S (very S) SCCE which illustrates the problem: there is a JTable and a JTree both contained in a JPanel with a BorderLayout. Most of the grid lines in the JTable show, but not the one at the left, and not the one at the top. Have tried…
mike rodent
  • 14,126
  • 11
  • 103
  • 157
3
votes
1 answer

Vertical gridlines in ggplot with discrete x-axis

I have the following setup: emp <- structure(list(s = structure(c(1L, 2L, 2L, 2L, 7L, 7L, 3L, 4L, 4L, 4L, 4L, 8L, 8L, 8L, 9L, 9L, 9L, 9L, 10L, 5L, 5L, 6L), .Label = c("8", "24", "31", "78", "135", "142", "30", "98", "117", "123"), class = "factor",…
Christopher DuBois
  • 42,350
  • 23
  • 71
  • 93
3
votes
1 answer

How to set Gridlines to a GridView in Android

I am using GridView to show a summary report of 3 columns in my app. EveryThing seems to work fine except the GridLines for Gridview is missing. Can anyone please suggest how to display GridLines for GridView and even Headers. Thanks.
Mahe
  • 2,707
  • 13
  • 50
  • 69
3
votes
2 answers

How to disable gridlines in Excel using open xml C#?

I want to disable GridLines in excel and put custom borders to excel cells using open xml in C# I have tried with below code but is throwing exception when i open the excell, the exception is "Repaired Part: /xl/worksheets/sheet.xml part with XML…
Raj
  • 31
  • 1
  • 4