1. Don Griffin
  2. PowerBuilder
  3. Friday, 16 April 2021 18:04 PM UTC

I have created a datawindow graph that is a line graph. I am trying to set the line colour and the type of symbol;

ll_return = this.SetSeriesStyle ('gr_1','AC MW',LineColor!,8257536)
ll_return = this.SetSeriesStyle ('gr_1','AC MW',NoSymbol!)

Both calls to SetSeriesStyle return -1. Why does it return -1? I have tried everything i know to fix the problem. I even went as far as recreating the datawindow and datawindow object. It still returns -1.

How do i find out why it is getting -1?

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 16 April 2021 19:16 PM UTC
  2. PowerBuilder
  3. # 1

Hi Don;

   Have you tried the "SetDataStyle" command instead?

Regards ... Chris

There are no comments made yet.
  • Page :
  • 1

There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.