1. Stephan Schröpel
  2. PowerBuilder
  3. Monday, 6 November 2023 14:49 PM UTC

Hi there PB Developers

Is it possible to change the palette of a specific graph in a datawindow using a definition in theme.json?

There is an entry "graph-colors" { "palette[] } , but this is used for the whole application. 

For printing a report on a BW printer, I have to use different colors than my application graph colors. 

datawindows can be customized, but "graph-colors" are outside of datawindow or graph-control.

How can I create an customized palette? 

 

Best regards

Stephan

Accepted Answer
kitty he @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 7 November 2023 07:24 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi Stephan,

The "graph-colors" setting in Theme.json takes effect for both graph in a datawindow and graph control.

 

However, this setting belongs to the public part, the customization function of this setting item has not been implemented. At present, you can change the color uniformly through the theme.json file but cannot customize the color for a specific control.

 

Regards,

Kitty

Comment
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.