How do I change the bar color in a bar graph?
How do I change the 'bar' color in a bar graph that is in a
I am using PB 11.2 Build 8616.
setSeriesStyle() or setDataStyle().
Any chance to upgrade to 11.5? The graph engine got a complete overhaul and
now uses DirectX...
<Anthony> wrote in message news:email@example.com...
> How do I change the 'bar' color in a bar graph that is in a
> I am using PB 11.2 Build 8616.
I tried using SetDataStyle and it does not work. The return
code is always -1. Ther...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...Graphs -- changing the color of the bars.
How do I change the bar colors on a graph in a datawindow? I do not want
to change the order of the data going to those bars.
...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
...How change graph default bar color
Is there a way to change the default color that PB uses for graphs?
All of my bar graphs come up, by default with the bars colored red.
This will quickly run the red toner down. Would be nice if I could
tell PB to change the color but haven't figured out how.
Check out the graphics service I put on my site. It shows you how to change
the color at runtime.
- Eric Aling [TeamPS], Cypres Informatisering bv, The Netherlands
Eric's Home & PB Site @ http://utopia.knoware.nl/users/cypr115
Woody Splawn <email@example.com> wrote ...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,...changing series color of a graph in a datawindow in a composite dw
PB 901 build 7011. w2k
I was wondering if any of you have accomplished the following:
Change the series color of a graph DW that is in a composite DW that in turn
is in another composite DW. Yes, that is right. Three levels deep
I checked the PB manuals but I did not find anything that would help.
Checked google, but I found no good information.
Any help is greatly appreciated.
...Graphs in a composite datawindow object
I have produced a number of datawindow objects of presentation style
GRAPH and data source of Stored Procedure. The graph type is COLUMN and
there is a Series of data presented (i.e., multple columns per category
value). The colors chosen for these bars are; RED, GREEN, etc.
My client does not like the fact that we are presenting column(bar)
charts with Red, Green bars. (Note: a fairly common form of color
blindness among men Red/Green color blindness.)
How can I control the selection of color for the bars.
Oh, one more piece of the puzzle. These graphic datawindow objects are...Powerbuilder Graph Types in 7.0.2, How do I change the color?
I have a requirement to produce stacked bar charts in specified colors.
These chart update when the date is changed.
I used a graph object gr_1 added to a window. I also used
gr_1.SetSeriesStyle( series, Foreground!, color) and AddData to set the
color and datapoints and this worked fine. However when I tried to remove
the series gr_1.DeleteSeries(series) it crashed. In a test program this
worked OK, so I think it is a memory allocation problem.
I tried using a standard DataWindow of type graph and this is easy to set
up. But I am unable to change the colors as I cannot find o...InfoMaker
I'm not sure if this is the right place to post this or not. If not,
please tell me were I should post it.
We are OEM partners w/Sybase and deploy ASA (version 8 and 9) and
InfoMaker (versions 9 and 10.0) to our users. Our development
language is Delphi and we do not have PowerBuilder nor do we plan on
After dealing with some graphing issues with InfoMaker we were pointed
here by Sybase Tech Support.
We would like to be able to, in a future version of InfoMaker, specify
which colors to use for each bar (or slice, etc.) in any given graph.
Currently we can...How to change the color of a bar in a bar chart
For the life of me, I can't find how to change the color of the bar in a bar chart.
It seems like it would be a simple thing, but I can't find anything in the properties that seems to relate to it.
I have a bar chart with subtype as "bar chart" -- i.e., just a bar for each data point, either positive or negative. The positive should be blue; the negative red. As it is now, the default color for positive is blue, for negative green, but management does not like that color combo.
Can anyone help?
Thanks in advance...Cynthia
I'm talking out of my hat a bit o...Does PowerBuilder 9.0 support changing color of a bar in nested report?
I got an answer saying that in v11.0 or v11.5, it is
possible to change the color of a bar in a bar graph of
nested report, using SetDataColor() function call.
Is that also possible for version 9?
For PB10 SetDataColor() was introduced for Web ActiveX targets. I don't
believe this was in PB9 and only applies to Web ActiveX. SetDataStyle() can
be used for PB DWs.
<Jaemin Lee> wrote in message news:firstname.lastname@example.org...
> I got an answer saying that in v11.0 or v11.5, it is
> possible to change the color of a...