Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Graph properties

3 posts in DataWindow Last posting was on 2008-06-25 19:47:48.0Z
Morten Ruud Posted on 2008-06-25 08:47:53.0Z
Sender: 4ad2.4861f19c.1804289383@sybase.com
From: Morten Ruud
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Graph properties
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48620639.4c7a.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 25 Jun 2008 01:47:53 -0700
X-Trace: forums-1-dub 1214383673 10.22.241.41 (25 Jun 2008 01:47:53 -0700)
X-Original-Trace: 25 Jun 2008 01:47:53 -0700, 10.22.241.41
Lines: 3
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87247
Article PK: 416504

When defining a graph datawindow, how can I decide
properties for data series like line color, line width, line
style and symbol?


Pat Madigan Posted on 2008-06-25 17:19:21.0Z
From: "Pat Madigan" <pmadigan_at_pccstructurals_dot_com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <48620639.4c7a.1681692777@sybase.com>
Subject: Re: Graph properties
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48627e19$1@forums-1-dub>
Date: 25 Jun 2008 10:19:21 -0700
X-Trace: forums-1-dub 1214414361 10.22.241.152 (25 Jun 2008 10:19:21 -0700)
X-Original-Trace: 25 Jun 2008 10:19:21 -0700, vip152.sybase.com
X-Authenticated-User: powerbuilder
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87258
Article PK: 416515

This is done on the window, believe it or not.

On the datawindow control, create an event which is inherited from
pbm_dwngraphcreate. Put something like this in the event to get the
settings that you are after:

this.SetSeriesStyle("gr_1", "Actual WIP", SymbolHollowCircle! )
this.SetSeriesStyle("gr_1", "", Continuous!, 2)
this.SetSeriesStyle("gr_1", "WIP Goal", LineColor!, 8388608)
this.SetSeriesStyle("gr_1", "WIP Goal", Foreground!, 8388608)
this.SetSeriesStyle("gr_1", "WIP Goal", SymbolHollowDiamond! )
this.SetSeriesStyle("gr_1", "WIP Goal", Continuous!, 2)

This is some really old code that still works, someone else may come up with
a better way to do this.

Pat

<Morten Ruud> wrote in message news:48620639.4c7a.1681692777@sybase.com...
> When defining a graph datawindow, how can I decide
> properties for data series like line color, line width, line
> style and symbol?


Morten Ruud Posted on 2008-06-25 19:47:48.0Z
Sender: 4ad2.4861f19c.1804289383@sybase.com
From: Morten Ruud
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Graph properties
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4862a0e4.6597.1681692777@sybase.com>
References: <48627e19$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 25 Jun 2008 12:47:48 -0700
X-Trace: forums-1-dub 1214423268 10.22.241.41 (25 Jun 2008 12:47:48 -0700)
X-Original-Trace: 25 Jun 2008 12:47:48 -0700, 10.22.241.41
Lines: 35
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87259
Article PK: 416516

My problem is that I am using this graf in a composite
datawindow and SetSeriesStyle can't be used on comosite
datawindows. I think I'll need a way to define graph
properties as a part of the graph definition syntax. Is
that possible?

> This is done on the window, believe it or not.
>
> On the datawindow control, create an event which is
> inherited from pbm_dwngraphcreate. Put something like
> this in the event to get the settings that you are after:
>
> this.SetSeriesStyle("gr_1", "Actual WIP",
> SymbolHollowCircle! )
> this.SetSeriesStyle("gr_1", "", Continuous!, 2)
> this.SetSeriesStyle("gr_1", "WIP Goal", LineColor!,
> 8388608)
> this.SetSeriesStyle("gr_1", "WIP Goal", Foreground!,
> 8388608)
> this.SetSeriesStyle("gr_1", "WIP Goal",
> SymbolHollowDiamond! )
> this.SetSeriesStyle("gr_1", "WIP Goal", Continuous!, 2)
>
> This is some really old code that still works, someone
> else may come up with a better way to do this.
>
> Pat
>
> <Morten Ruud> wrote in message
> > news:48620639.4c7a.1681692777@sybase.com... When
> > defining a graph datawindow, how can I decide properties
> > for data series like line color, line width, line style
> and symbol?
>
>