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.

Graphs within DataWindow objects

3 posts in DataWindow Last posting was on 2009-09-23 17:32:33.0Z
Anthony Posted on 2009-09-13 22:50:12.0Z
Sender: 12e1.4aad7594.1804289383@sybase.com
From: Anthony
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Graphs within DataWindow objects
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4aad7724.130b.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 13 Sep 2009 15:50:12 -0700
X-Trace: forums-1-dub 1252882212 10.22.241.41 (13 Sep 2009 15:50:12 -0700)
X-Original-Trace: 13 Sep 2009 15:50:12 -0700, 10.22.241.41
Lines: 19
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89945
Article PK: 419133

I am trying to use a Graph within a DataWindow object.
I notice that I cannot use the following functions with this
type of Graph: "AddData" & "AddSeries".

However, I do need the capability to dynamically add three
(3) series to my datawindow graph as well as be able to add
values (dynamically) to each of the three different series
in my datawindow graph.

I can make this work if the Graph is not in a DataWindow,
but I am having difficulty getting it to work the same in a
Graph that is IN a datawindow.

Can anyone assist me on this one? I have spent a lot of
time trying to get this to work. I need to use a graph in a
datawindow so that when I print the data window the graph
will print along with it.

Thanks in advance.


Anthony Posted on 2009-09-13 23:16:12.0Z
Sender: 12e1.4aad7594.1804289383@sybase.com
From: Anthony
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Graphs within DataWindow objects
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4aad7d3c.1397.1681692777@sybase.com>
References: <4aad7724.130b.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 13 Sep 2009 16:16:12 -0700
X-Trace: forums-1-dub 1252883772 10.22.241.41 (13 Sep 2009 16:16:12 -0700)
X-Original-Trace: 13 Sep 2009 16:16:12 -0700, 10.22.241.41
Lines: 24
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89946
Article PK: 419134

I forgot to mention that I am using:
PB Version 11.2 Build 8616, and...
I am using a "BarStacked3DObj!" graph type.
===========================================================

> I am trying to use a Graph within a DataWindow object.
> I notice that I cannot use the following functions with
> this type of Graph: "AddData" & "AddSeries".
>
> However, I do need the capability to dynamically add three
> (3) series to my datawindow graph as well as be able to
> add values (dynamically) to each of the three different
> series in my datawindow graph.
>
> I can make this work if the Graph is not in a DataWindow,
> but I am having difficulty getting it to work the same in
> a Graph that is IN a datawindow.
>
> Can anyone assist me on this one? I have spent a lot of
> time trying to get this to work. I need to use a graph in
> a datawindow so that when I print the data window the
> graph will print along with it.
>
> Thanks in advance.


GW Posted on 2009-09-23 17:32:33.0Z
From: "GW" <gw@gw>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4aad7724.130b.1681692777@sybase.com> <4aad7d3c.1397.1681692777@sybase.com>
Subject: Re: Graphs within DataWindow objects
Lines: 38
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4aba5bb1$1@forums-1-dub>
Date: 23 Sep 2009 10:32:33 -0700
X-Trace: forums-1-dub 1253727153 10.22.241.152 (23 Sep 2009 10:32:33 -0700)
X-Original-Trace: 23 Sep 2009 10:32:33 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89989
Article PK: 419177

I'm not up at 11.2 just yet so cannot comment on what the newer graphs
do/don't do and was never satisfied calling the graph directly like you're
trying. As a more controllable way I simply use an external dw with a graph.
I crunch the numbers in code however required and then insert the totals
into the external dw. You control the series etc by the number of cols/rows
as required. Works like a charm.

HTH

GW

<Anthony> wrote in message news:4aad7d3c.1397.1681692777@sybase.com...
>I forgot to mention that I am using:
> PB Version 11.2 Build 8616, and...
> I am using a "BarStacked3DObj!" graph type.
> ===========================================================
>
>> I am trying to use a Graph within a DataWindow object.
>> I notice that I cannot use the following functions with
>> this type of Graph: "AddData" & "AddSeries".
>>
>> However, I do need the capability to dynamically add three
>> (3) series to my datawindow graph as well as be able to
>> add values (dynamically) to each of the three different
>> series in my datawindow graph.
>>
>> I can make this work if the Graph is not in a DataWindow,
>> but I am having difficulty getting it to work the same in
>> a Graph that is IN a datawindow.
>>
>> Can anyone assist me on this one? I have spent a lot of
>> time trying to get this to work. I need to use a graph in
>> a datawindow so that when I print the data window the
>> graph will print along with it.
>>
>> Thanks in advance.
>