Changing graph colors in a composite datawindow
I have a composite datawindow that contains 4 graph datawindows. Is there any
way to change the colors used on the graph? I tried using GetChild to access the
graph but SetDataStyle is not a method of the datawindowchild object.
---== Posted via the PFCGuide Web Newsreader ==---
You can change the colors for a datawindow but not in a
composite report. I tried saving to a psr and retrieving it
back in but it lost its new colors, getfullstate doesn't
//this is the code to change the color of the da...Change serie color nested graph datawindow
I have a graph datawindow with 2 series.
Now I have changed the color for this series coding the pbm_dwngraphcreate
event in the datawindow control:
*** CODE ***
li_res = This.SetSeriesStyle('dw_3','Aerea', Foreground!, RGB(0,0,255))
li_res = This.SetSeriesStyle('dw_3','Aerea', LineColor!, RGB(0,0,255))
li_res = This.SetSeriesStyle('dw_3','Aerea', Continuous!, 2)
li_res = This.SetSeriesStyle('dw_3','Aerea', SymbolX!)
li_res = This.SetSeriesStyle('dw_3','Osea', Foreground!, RGB(50,150,...Change linecolor of a series in a graph reside in a composite datawindow
I am using PB10.
For a non-composite datawindow, i used the following code to
change the line color to black successfully.
dw_xxx.SetSeriesStyle('gr_1', 'SeriesName', LineColor! ,0)
However, when the graph reside in a composite datawindow, I
used the following code but errors appear (Error accessing
external object property .... ).
It's seems that we can not call any method of a datawindow
object that reside in a composite datawindow object. Are
there any metho...Series Color in Graph Datawindow
I have a graph datawindow.
The Data propertis are as follows:
Value: double1,double2, double3,double4,double5
where the values a1-a5 and double1-double5 are being set during runtime
using the setitem function. The Graphs appear.
Now I would like to give the series new colors:
Product A = Orange
Product B = Blue
and so on
it seems as if Powerbuilder 7 chooses colors automatically.
Can I set them programmatically?
Please help - this d...graph datawindow change color
only RED color
how are change color(RED) to Black
Sorry that feature is not available.
Dawn T Brown Eyes (TeamPS)
BalckBoy <firstname.lastname@example.org> wrote in article
> No series!
> only RED color
> how are change color(RED) to Black
...Change graph color in DataWindow
I am using PB9:
Is there a way to change the color of a graph using the DataWindow syntax.
We do not have coding opportunity and need a way to change the graph color
using the syntax. Any ideas?
//this is the code to change the color of the datawindow
//but it doesn't work for a datawindowchild
long ll_seriescount , li_rc, ll_gr_color, ll_cnt
ll_seriescount = dw_1.SeriesCount('gr_1')
for ll_cnt = 1 to ll_seriescount
//get the series name
ls_series_name = dw_1.SeriesName('gr_1', ll_cnt)
// Set th...datawindows in composite datawindow used in datawindow.NET, are not sliding up
Problem: datawindows in composite datawindow used in "datawindow.NET", are
not sliding up ,
if one dw is not visible or did not retrieve data. Resulting in unwanted
The height of blank white space is equal to the height of the datawindow art
datawindow with height 0.00in
which is supposed to be not visible. Tried different options with
html/xhtml/xml same result.
But slides up ok when exported to pdf(using saveas) on web and in PB10.5
Also s...How to set color for series in a graph datawindow
Serieses in a graph datawindow are automatically colored red, green, blue
Is it possible to change the color for a specific series? How?
The reason that I want to pick colors for serieses is that I am creating a
datawindow showing "Supply vs. Demand", and I want to have "Supply" be the
first series in green and "Demand" be the second series in red.
"Jun Gan" <email@example.com> wrote in message
> Serieses in a graph datawindow are automatically colored red, green, blu...DataWindow This, DataWindow That...
Blah blah blah
You've heard it enough that you don't even want to comment on how many
....but it can't be enough anymore...can it?
This from one of our colleagues
(and yes my apologies for taking it out of context)...
"...PB covers all you need to do that in ONE Tool. This
includes Windowprogramming ( meaning the interface to the user:
Windows, Sheets, diallougeboxes, etc.), Database operability AND
Reporting! Well, I see als well as many other PB users that some of
the implementations and features PB offers are improvable. But thi...how can I get or set property to a graph datawindow in a composite datawindow?
I make a composite style datawindow. There is a graph style datawindow in
I can't get or set the graph style datawindow 's property like title,
values.label and or so.
the graph style datawindow 's datasource is extern data.
I do it like this:
dw_child.object.gr_1.title = 'hello'
then I use this
ds_1 = create datastore
ds_1.dataobject = 'data_graph'
ds_1.object.gr_1.title = 'hello'
dw_composite.getchild('grap...Set Graph Series Style in composite datawindow
Usually, if we would like to change the series style of a graph in
datawindow, we call dw_1.SetSeriesStyle in a user event for
pbm_dwngraphcreate before a graph is created in a DataWindow object.
Problem occurs when dw_1 is a composite datawindow.
How can I change the style of a graph in a composite datawindow?
...Properties of a datawindow on a composite datawindow
I have a composite report that has 2 nested datawindows. At run time, I want to
modify the dataobject of one of the nested datawindows on the report. I am
using the GetChild function to get a reference to the nested datawindow on the
report. Here's the code I am using. dw_maintain_code is the nested datawindow
li_rtn = dw_composite.GetChild("dw_maintain_code",ldw_child1) //get reference
ls_rtn = ldw_child1.Modify('dw_maintain_code.dataobject = d_code_sync')
li_rtn = dw_code_type_list.ShareData(ldw_child1)
The Modify returns an empty str...External Datawindow in a Composite Datawindow
I have a question. Can I use an extrernal datawindow in a composite datawindow? If yes, how do we
access its properties. The specific problem is that I want to combine two dws. One is generated
externally and the other is a simple tabular dw coming from a db. If I try to use getchild() then I
do not have columns for get child.
I am using PB 7.0.3 on Windows 2000 Server with MS SQL Server.
> Can I use an extrernal datawindow in a composite datawindow? If yes, how
> access its properties.
ldw_dw.object.r_pumpputyyppi.object...accessing datawindow in composite datawindow
I have a composite datawindow d_comp having two datawindow d_first and
Using code, i want to save the content of the d_first and d_second
datawindow content txt format. Is it possible to save the content
using saveasascii or saveas function ??
i was trying to use
but getting error...
if that is really a composite datawindow you should be able
to get a reference to d_first and d_second using getChild().
You get a DataWindowChild which impl...