Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Dotted Graph gridlines

$
0
0

@abhi2434 wrote:

Hi,

While creating the gridlines, I have been drawing the gridlines in such a way so that it looks nice. To do that I have used to following code :

this.graph.grid =
this.diagram(go.Panel, "Grid",
{ gridCellSize: new go.Size(10, 10) },
this.diagram(go.Shape, "LineH", { interval: 1, strokeDashArray: [1, 4] }),
this.diagram(go.Shape, "LineV", { interval: 1, strokeDashArray: [1, 4] })
);

The output of the code is :

But as per our designer, they wanted to have a grid like this :

Any idea what I am missing here.

Thank you for your help.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles