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

How to Change the Overview Box border

$
0
0

@PennyK2007 wrote:

I am trying to change the border of the overview box from the default magenta. I tried using the directions given in a previous post in 2014, but stroke is no longer an option.

myOverview.box.elt(0).stroke

There are other options, such as areaBackground.

I am working in Angular and this was my last try:
const myOverview =
(go.Overview, 'myOverviewDiv', // the HTML DIV element for the Overview { observed: myDiagram, contentAlignment: go.Spot.Center }); // tell it which Diagram to show and pan myOverview.box.elt(0).areaBackground = (go.Brush, go.Brush.Linear, {color: ‘orange’});
}

Can someone please point me in the right direction?

Thanks!

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6969

Trending Articles