- Nithya Chandrasekar
- PowerBuilder
- Wednesday, 7 August 2024 04:51 PM UTC
Hi
We use PB2022 R2 and have nested data windows , where the main window (say dw1) holds some data and data window (dw_graph) is called inside dw1. The Dw_graph holds 2 graph data windows as dw_graph1 and dw_graph2 both of which are set to line graph. I want to change the graph markers using SetSeriesStyle and set to SymbolSolidCircle.
dw1 - main data window, dw_graph - called inside dw1, dw_graph1 - called inside dw_graph and gr_1 - name of the graph in dw_graph1
Here is what I tried
dw1.Object.dw_graph.Object.dw_graph1.SetSeriesStyle("gr_1", "Ca", SymbolSolidCircle!)
dw1.Object.dw_graph.Object.dw_graph1.object.gr_1.SetSeriesStyle("gr_1", "Ca", SymbolSolidCircle!)
I ended up getting the same error when I tried both the options.
Number:39 Text: Error accessing external object property setseriesstyle at line 245 in open event of obhectw_xx_xxxx
Does that mean it is not possible to use SetSeriesStyle on a nested data window? Any help is welcome, Thank you so much.
Thanks
Nithya
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.