Mercurial > roundup-cc
comparison graph.html @ 11:f198a92dd37f
Do not render vertical grid lines
author | Gernot Schulz <gernot@intevation.de> |
---|---|
date | Thu, 03 Dec 2015 12:09:23 +0100 |
parents | 2df45f6ecd81 |
children | 3bb3d9a9f1b7 |
comparison
equal
deleted
inserted
replaced
9:e95f7bee8643 | 11:f198a92dd37f |
---|---|
281 | 281 |
282 // creation | 282 // creation |
283 | 283 |
284 | 284 |
285 // Draw the x Grid lines | 285 // Draw the x Grid lines |
286 svg.append("g") | 286 // svg.append("g") |
287 .attr("class", "grid") | 287 // .attr("class", "grid") |
288 .attr("transform", "translate(0," + height + ")") | 288 // .attr("transform", "translate(0," + height + ")") |
289 .call(makeGrid(x, "bottom", timestamp.length) | 289 // .call(makeGrid(x, "bottom", timestamp.length) |
290 .tickSize(-height, 0, 0) | 290 // .tickSize(-height, 0, 0) |
291 .tickFormat("") | 291 // .tickFormat("") |
292 ); | 292 // ); |
293 | 293 |
294 | 294 |
295 // Draw the y Grid lines | 295 // Draw the y Grid lines |
296 svg.append("g") | 296 svg.append("g") |
297 .attr("class", "grid") | 297 .attr("class", "grid") |