Looking for advice on dynamic Pen creation in the Power Chart component

Yes, if scripting anyways. If avoiding scripting to avoid its startup penalty, the lookup() expression function with a dataset tag is a performant option.

No, this:

pyr['value'].quality.good
not pyr['value'].quality.good

Use the NetBeans shortcuts everywhere applicable, not just .value or .quality, as they run faster and are more readable. Even better is to only check .good in the if clause and use an else: clause for not good.

2 Likes