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
56
votes
3 answers

HTML / CSS table with GRIDLINES

how do I display the gridlines in a HTML table? (am using IE6)
Allan Bowe
  • 12,306
  • 19
  • 75
  • 124
36
votes
4 answers

Grid line consistent with ticks on axis

I am embarrassed to ask this simple question, but has been in kicking my mind for several days whenever I create a plot: plot (x = 1:10, y = rnorm (10, 5, 2)) grid (10,10, lty = 6, col = "cornsilk2") I want to position the grids right at where axis…
jon
  • 11,186
  • 19
  • 80
  • 132
36
votes
2 answers

wpf gridlines - changing style

Is there any way to change the style of gridlines in wpf grid? I need to divide grid into 4 cells. To do it I used RowDefinitions and ColumnDefinitions. However I need user to distinguish which cell is which, that's why I need to change the color of…
wpfnewbie
  • 361
  • 1
  • 3
  • 4
13
votes
2 answers

How to hide grid lines in JTable

I'm trying to hide the grid lines of a JTable but with no results. Even trying to change the color of the grid lines does not work. Here is my code: // build the table tableView = new JTable(ttm); //Specifify the selection Listener and…
AlejandroVK
  • 7,373
  • 13
  • 54
  • 77
12
votes
5 answers

Clean gridPane in JavaFX and maintain the Grid line

I'm trying to make a simple game (it is a school work) in JavaFX and I am trying to clear the panel with the board, and then just repaint it. I have tried a lot of methods, and this one is the only one I found that removes all the pieces of the…
aliasbody
  • 816
  • 3
  • 11
  • 25
12
votes
2 answers

Google Chart Setting Gridline Color

I'm trying to set the color of the gridlines in the background of my Graph using Google Charts. I've got this code for setting the options of the chart: ac.draw(activityData, { title : 'Monthly Coffee Production by Country', isStacked:…
Luke
  • 22,826
  • 31
  • 110
  • 193
11
votes
3 answers

PyPlot - Setting grid line spacing for plot

I have an undirected graph created by Networkx that I am displaying using pyplot and I want to allow the user to specify the spacing between grid lines. I don't want to manually enter the ticks as this requires knowing the final size of the plot (if…
HFulcher
  • 149
  • 1
  • 1
  • 13
9
votes
2 answers

Major and minor graticule for maps?

I have created the following map, which has a uniform gray grid with 1° intervals both for meridians and parallels: I would also like to have the meridians and parallels thicker and in black for every 5° interval (while keeping the 1° grid), so…
codeaviator
  • 2,545
  • 17
  • 42
9
votes
4 answers

nvd3 line chart, how to remove gridlines and yaxis

I have made a line chart with view finder. Here is my initial code var chart = nv.models.lineWithFocusChart(); // chart.transitionDuration(500); chart.xAxis .tickFormat(d3.format(',g')); chart.xAxis .axisLabel("Date"); …
user3171919
  • 99
  • 1
  • 1
  • 7
8
votes
2 answers

GridLine on top of a Bar Chart in Mathematica

Is it possible to get a GridLine over a BartChart ? Gridlines draw it under and Mesh does not seem to work with BarChart. BarChart[{Range[10], Range[10]}, ChartLayout -> "Stacked", GridLines -> {None, {4}}, …
500
  • 6,509
  • 8
  • 46
  • 80
8
votes
2 answers

Matplotlib: Change color of individual grid lines

I've only been using Python for about a month now, so I'm sorry if there's some simple solution to this that I overlooked. Basically I have a figure with 4 subplots, the 2 on the left show longitudinal plots and the ones on the right show scatter…
Sithis
  • 83
  • 1
  • 1
  • 5
7
votes
1 answer

How can I get a Google Visulization LineChart to display vertical gridlines?

I am using javascript to display a Google Visulization LineChart in my web application. How can I get it to display vertical gridlines? I've read about using chg to set them, but as far as I know that only applies when making the chart using the…
Anthony
  • 99
  • 6
7
votes
2 answers

Grid lines above bars

This is a simple code that reproduces the kind of graph i`m trying to plot: import matplotlib.pyplot as plt import seaborn as sb import numpy as np x = np.arange(1,11) y1 = x[::-1] y2 = 2 ** x fig = plt.figure(figsize = (8,6)) ax1 =…
Victor Mayrink
  • 1,064
  • 1
  • 13
  • 24
7
votes
1 answer

How to remove polar gridlines and add major axis ticks

Could someone please help me remove the gridlines that form the rings inside my polar plot. I'd like to keep (and even bold) the axes and add ticks for each of the axis labels. Here is the code that I'm working with, an image of the plot, and an…
JA2
  • 161
  • 3
  • 10
6
votes
1 answer

Scale / Redraw d3.js gridlines on zoom / drag

I just started using d3.js yesterday and i have some trouble getting my stuff done. For now I created a chart with two y axes, each showing some values and an x axis showing dates. On click on the values on the y axes, I display the corresponding…
Getter Jetter
  • 2,033
  • 1
  • 16
  • 37
1
2 3
15 16