Skip to Content
avatar image
Former Member

How to SetSeriesStyle for graph in composite datawindow

Hi All,

Using PB12.5 classic here.

I have composite datawindow which combine datawindows below:

1. a tabular window with graph (a bar chart) - Name: d_graph

2. a tabular window with data - Name: d_data

In the composite window:

d_graph is named dw_1

d_data is named dw_2

I would like to change bar chart's colour on series for graph above. Is it possible?

I know the syntax for something like this as below, but it is just works for single datawindow and not composite window (example: a tabular window with graph)

dw_1.SetSeriesStyle("gr_1", "ABC", Foreground!, 9188608)

Kindly advise.

Thank you.

Regards,

Yow

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 03, 2015 at 11:51 AM

    Unfortunately some functions like SetSeriesStyle are not valid for a datawindowchild so you can't use it to change a graph in a nested dw. I think the only way is to use a second datawindow object as child with the style you need.

    Add comment
    10|10000 characters needed characters exceeded